summaryrefslogtreecommitdiffstats
path: root/graphics/libchamplain/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-02-24 21:07:27 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-02-24 21:07:27 +0800
commit75d2f8c3b5fade5576e5dd9a5157c3bf67816298 (patch)
tree1546b2e91fb5eda7d5880c7b00042affcc3ba037 /graphics/libchamplain/Makefile
parentf7850eb9e1afdd33f7a5f60a43a987b6ce1b621f (diff)
downloadmarcuscom-ports-75d2f8c3b5fade5576e5dd9a5157c3bf67816298.tar
marcuscom-ports-75d2f8c3b5fade5576e5dd9a5157c3bf67816298.tar.gz
marcuscom-ports-75d2f8c3b5fade5576e5dd9a5157c3bf67816298.tar.bz2
marcuscom-ports-75d2f8c3b5fade5576e5dd9a5157c3bf67816298.tar.lz
marcuscom-ports-75d2f8c3b5fade5576e5dd9a5157c3bf67816298.tar.xz
marcuscom-ports-75d2f8c3b5fade5576e5dd9a5157c3bf67816298.tar.zst
marcuscom-ports-75d2f8c3b5fade5576e5dd9a5157c3bf67816298.zip
Update to 0.8.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15310 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics/libchamplain/Makefile')
-rw-r--r--graphics/libchamplain/Makefile52
1 files changed, 52 insertions, 0 deletions
diff --git a/graphics/libchamplain/Makefile b/graphics/libchamplain/Makefile
new file mode 100644
index 000000000..2307d9784
--- /dev/null
+++ b/graphics/libchamplain/Makefile
@@ -0,0 +1,52 @@
+# New ports collection makefile for: libchamplain
+# Date Created: 04 Aug 2009
+# Whom: Koop Mast <kwm@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/graphics/libchamplain/Makefile,v 1.23 2010/09/27 18:17:23 kwm Exp $
+#
+
+PORTNAME= libchamplain
+PORTVERSION= 0.8.1
+CATEGORIES= graphics
+MASTER_SITES= GNOME
+
+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 \
+ soup-gnome-2.4.1:${PORTSDIR}/devel/libsoup-gnome
+
+USE_BZIP2= yes
+USE_GNOME= pkgconfig gtk20 gnomehack ltverhack:1
+USE_AUTOTOOLS= libtool
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+PLIST_SUB= VERSION=0.8
+
+# 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} ""
+
+.include <bsd.port.mk>