summaryrefslogtreecommitdiff
path: root/graphics/libchamplain/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/libchamplain/Makefile')
-rw-r--r--graphics/libchamplain/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/graphics/libchamplain/Makefile b/graphics/libchamplain/Makefile
index 14e7277aad07..6d8f18e2d877 100644
--- a/graphics/libchamplain/Makefile
+++ b/graphics/libchamplain/Makefile
@@ -3,20 +3,17 @@
# Whom: Koop Mast <kwm@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/graphics/libchamplain/Makefile,v 1.11 2009/10/27 11:50:35 kwm Exp $
+# $MCom: ports/graphics/libchamplain/Makefile,v 1.17 2010/03/29 10:55:48 kwm Exp $
#
PORTNAME= libchamplain
-PORTVERSION= 0.4.4
-PORTREVISION= 2
+PORTVERSION= 0.4.5
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
@@ -30,16 +27,14 @@ 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.
+# clutter-sharp need to get released.
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
+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
@@ -54,4 +49,8 @@ PLIST_SUB+= PYTHON="@comment "
@${ECHO_CMD} "Specify WITHOUT_PYTHON=yes to disable python bindings"
@${ECHO_CMD} ""
+post-patch:
+ @${REINPLACE_CMD} -e 's|pyclutter-gtk-0.9|pyclutter-gtk-0.10|g' \
+ ${WRKSRC}/configure
+
.include <bsd.port.mk>