diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2009-11-28 20:06:37 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2009-11-28 20:06:37 +0000 |
commit | f76d32b8e89fed7c0e459c1a7fe7a4b57661b01c (patch) | |
tree | ad29e6808ff698f84e08dab8e047f0ae72838df9 /graphics/libchamplain/Makefile | |
parent | 873cae3ab41a109b6f9cf9f4149f101d6d996235 (diff) | |
download | ports-f76d32b8e89fed7c0e459c1a7fe7a4b57661b01c.tar.gz ports-f76d32b8e89fed7c0e459c1a7fe7a4b57661b01c.zip |
Notes
Diffstat (limited to 'graphics/libchamplain/Makefile')
-rw-r--r-- | graphics/libchamplain/Makefile | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/graphics/libchamplain/Makefile b/graphics/libchamplain/Makefile new file mode 100644 index 000000000000..a0b786e28fc4 --- /dev/null +++ b/graphics/libchamplain/Makefile @@ -0,0 +1,56 @@ +# 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.11 2009/10/27 11:50:35 kwm Exp $ +# + +PORTNAME= libchamplain +PORTVERSION= 0.4.2 +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 + +BUILD_DEPENDS= ${LOCALBASE}/share/gir-1.0/Gtk-2.0.gir:${PORTSDIR}/x11-toolkits/gir-repository-gtk20 +RUN_DEPENDS= ${LOCALBASE}/share/gir-1.0/Gtk-2.0.gir:${PORTSDIR}/x11-toolkits/gir-repository-gtk20 +LIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3 \ + clutter-gtk-0.10.0:${PORTSDIR}/graphics/clutter-gtk \ + soup-gnome-2.4.1:${PORTSDIR}/devel/libsoup + +USE_BZIP2= yes +USE_GNOME= pkgconfig gtk20 gnomehack ltverhack:1 +USE_AUTOTOOLS= libtool:22 +USE_GMAKE= yes +GNU_CONFIGURE= yes +USE_LDCONFIG= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +# python bindings and mono need to be ported to clutter 1.0 first. +# And clutter 1.0 versions of py-clutter and clutter-sharp need to +# get released upstream too. +CONFIGURE_ARGS+=--enable-managed=no + +PLIST_SUB= VERSION=${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} + +.if !defined(WITHOUT_PYTHON) +USE_PYTHON= yes +PYCLUTTER_GTK= ${LOCALBASE}/libdata/pkgconfig/pyclutter-gtk-0.9.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> |