diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-09-06 19:28:37 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-09-06 19:28:37 +0800 |
commit | e3a133b2725df2aae4acccd4ae071246a34e7ead (patch) | |
tree | 38d9be313c056bea4307764b73d32c394bd647f7 /graphics/libchamplain | |
parent | 467c9aa08a5364a53230ad9f1f06ee48af13fabd (diff) | |
download | marcuscom-ports-e3a133b2725df2aae4acccd4ae071246a34e7ead.tar marcuscom-ports-e3a133b2725df2aae4acccd4ae071246a34e7ead.tar.gz marcuscom-ports-e3a133b2725df2aae4acccd4ae071246a34e7ead.tar.bz2 marcuscom-ports-e3a133b2725df2aae4acccd4ae071246a34e7ead.tar.lz marcuscom-ports-e3a133b2725df2aae4acccd4ae071246a34e7ead.tar.xz marcuscom-ports-e3a133b2725df2aae4acccd4ae071246a34e7ead.tar.zst marcuscom-ports-e3a133b2725df2aae4acccd4ae071246a34e7ead.zip |
Update to 0.3.92.
Enable gobject-introspection.
Enable python bindings.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12789 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics/libchamplain')
-rw-r--r-- | graphics/libchamplain/Makefile | 31 | ||||
-rw-r--r-- | graphics/libchamplain/distinfo | 6 | ||||
-rw-r--r-- | graphics/libchamplain/pkg-plist | 10 |
3 files changed, 34 insertions, 13 deletions
diff --git a/graphics/libchamplain/Makefile b/graphics/libchamplain/Makefile index 4880ebf75..2a4d06d86 100644 --- a/graphics/libchamplain/Makefile +++ b/graphics/libchamplain/Makefile @@ -3,17 +3,18 @@ # Whom: Koop Mast <kwm@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/graphics/libchamplain/Makefile,v 1.2 2009/08/10 22:23:15 kwm Exp $ +# $MCom: ports/graphics/libchamplain/Makefile,v 1.3 2009/08/24 16:29:37 kwm Exp $ # PORTNAME= libchamplain -PORTVERSION= 0.3.91 +PORTVERSION= 0.3.92 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= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection LIB_DEPENDS= sqlite3.8:${PORTSDIR}/databases/sqlite3 \ clutter-gtk-0.10.0:${PORTSDIR}/graphics/clutter-gtk \ soup-gnome-2.4.1:${PORTSDIR}/devel/libsoup @@ -23,19 +24,29 @@ USE_GNOME= pkgconfig gtk20 gnomehack USE_GMAKE= yes GNU_CONFIGURE= yes USE_LDCONFIG= yes -CONFIGURE_ARGS= --enable-introspection=no 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-python=no --enable-managed=no - -#python -# py-gtk py-gobject, glib20 clutter-0.8 py-clutter-0.8 gconf gtk20 - -# mono -# mono, gtk-sharp20 clutter-sharp +CONFIGURE_ARGS+=--enable-managed=no + +.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> diff --git a/graphics/libchamplain/distinfo b/graphics/libchamplain/distinfo index bc7357100..8aedc7e5e 100644 --- a/graphics/libchamplain/distinfo +++ b/graphics/libchamplain/distinfo @@ -1,3 +1,3 @@ -MD5 (libchamplain-0.3.91.tar.bz2) = 6d0108dfea8acc473a1efe10c4bde694 -SHA256 (libchamplain-0.3.91.tar.bz2) = 8d2fac0e27993aabe000026af39555363b35176402503f92a7690856488eeb15 -SIZE (libchamplain-0.3.91.tar.bz2) = 519863 +MD5 (libchamplain-0.3.92.tar.bz2) = 4e363754a317f84cd7b7fdd5741c0acd +SHA256 (libchamplain-0.3.92.tar.bz2) = 74a3258fc728af85be43d1fb58b7cc8c0457e0f454dec921534bab7b43fab8ed +SIZE (libchamplain-0.3.92.tar.bz2) = 526576 diff --git a/graphics/libchamplain/pkg-plist b/graphics/libchamplain/pkg-plist index f950fa8cc..673df8080 100644 --- a/graphics/libchamplain/pkg-plist +++ b/graphics/libchamplain/pkg-plist @@ -18,6 +18,8 @@ include/libchamplain-0.3/champlain/champlain-zoom-level.h include/libchamplain-0.3/champlain/champlain.h include/libchamplain-gtk-0.3/champlain-gtk/champlain-gtk.h include/libchamplain-gtk-0.3/champlain-gtk/gtk-champlain-embed.h +lib/girepository-1.0/Champlain-0.3.typelib +lib/girepository-1.0/GtkChamplain-0.3.typelib lib/libchamplain-0.3.a lib/libchamplain-0.3.la lib/libchamplain-0.3.so @@ -26,8 +28,16 @@ lib/libchamplain-gtk-0.3.a lib/libchamplain-gtk-0.3.la lib/libchamplain-gtk-0.3.so lib/libchamplain-gtk-0.3.so.3 +%%PYTHON%%%%PYTHON_SITELIBDIR%%/champlain.a +%%PYTHON%%%%PYTHON_SITELIBDIR%%/champlain.la +%%PYTHON%%%%PYTHON_SITELIBDIR%%/champlain.so +%%PYTHON%%%%PYTHON_SITELIBDIR%%/champlaingtk.a +%%PYTHON%%%%PYTHON_SITELIBDIR%%/champlaingtk.la +%%PYTHON%%%%PYTHON_SITELIBDIR%%/champlaingtk.so libdata/pkgconfig/champlain-0.3.pc libdata/pkgconfig/champlain-gtk-0.3.pc +share/gir-1.0/Champlain-0.3.gir +share/gir-1.0/GtkChamplain-0.3.gir share/gtk-doc/html/libchamplain-gtk/GtkChamplainEmbed.html share/gtk-doc/html/libchamplain-gtk/ch01.html share/gtk-doc/html/libchamplain-gtk/home.png |