summaryrefslogtreecommitdiffstats
path: root/graphics/libchamplain/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libchamplain/Makefile')
-rw-r--r--graphics/libchamplain/Makefile35
1 files changed, 11 insertions, 24 deletions
diff --git a/graphics/libchamplain/Makefile b/graphics/libchamplain/Makefile
index fa3509416..64f52422e 100644
--- a/graphics/libchamplain/Makefile
+++ b/graphics/libchamplain/Makefile
@@ -3,11 +3,11 @@
# Whom: Koop Mast <kwm@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/graphics/libchamplain/Makefile,v 1.26 2011/03/21 11:57:32 kwm Exp $
+# $MCom$
#
PORTNAME= libchamplain
-PORTVERSION= 0.8.3
+PORTVERSION= 0.10.0
CATEGORIES= graphics
MASTER_SITES= GNOME
@@ -15,38 +15,25 @@ MAINTAINER= gnome@FreeBSD.org
COMMENT= A C library aimed to provide a Gtk+ widget to display rasterized maps and markers
LIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3 \
- clutter-gtk-0.10.0:${PORTSDIR}/graphics/clutter-gtk \
+ clutter-gtk-1.0.0:${PORTSDIR}/graphics/clutter-gtk3 \
soup-gnome-2.4.1:${PORTSDIR}/devel/libsoup-gnome
+LATEST_LINK= libchamplain010
USE_BZIP2= yes
-USE_GNOME= pkgconfig gtk20 gnomehack ltverhack:1
+USE_GNOME= pkgconfig gtk30 gnomehack ltverhack
USE_AUTOTOOLS= libtool
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --enable-gtk-doc-html=no
-PLIST_SUB= VERSION=0.8
+PLIST_SUB= VERSION=0.10
-# python bindings need to get ported
-WITHOUT_PYTHON=yes
-
-.if !defined(WITHOUT_PYTHON)
-USE_PYTHON= yes
-PYCLUTTER_GTK= ${LOCALBASE}/libdata/pkgconfig/pyclutter-gtk-0.10.pc
-BUILD_DEPENDS+= ${PYCLUTTER_GTK}:${PORTSDIR}/graphics/py-clutter-gtk
-RUN_DEPENDS+= ${PYCLUTTER_GTK}:${PORTSDIR}/graphics/py-clutter-gtk
-CONFIGURE_ARGS+= --enable-python=yes
-PLIST_SUB+= PYTHON=""
-.else
-CONFIGURE_ARGS+= --enable-python=no
-PLIST_SUB+= PYTHON="@comment "
-.endif
-
-.pre-everything:
- @${ECHO_CMD} ""
- @${ECHO_CMD} "Specify WITHOUT_PYTHON=yes to disable python bindings"
- @${ECHO_CMD} ""
+post-patch:
+ @${REINPLACE_CMD} -e 's|DOC_MODULE = libchamplain|DOC_MODULE = libchamplain-gtk3|g' \
+ ${WRKSRC}/docs/reference/Makefile.in \
+ ${WRKSRC}/docs/reference-gtk/Makefile.in
.include <bsd.port.mk>