aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-gobject3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-gobject3/Makefile')
-rw-r--r--devel/py-gobject3/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/devel/py-gobject3/Makefile b/devel/py-gobject3/Makefile
new file mode 100644
index 000000000000..e15e9e4c0fd4
--- /dev/null
+++ b/devel/py-gobject3/Makefile
@@ -0,0 +1,41 @@
+# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
+# $FreeBSD$
+# $MCom: ports/trunk/devel/py-gobject3/Makefile 17268 2013-04-01 05:13:11Z marcus $
+
+PORTNAME= gobject
+PORTVERSION= 3.8.0
+CATEGORIES= devel python
+MASTER_SITES= GNOME
+MASTER_SITE_SUBDIR= sources/pygobject/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= pygobject-${PORTVERSION}
+DIST_SUBDIR= gnome3
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Python bindings for GObject
+
+LICENSE= LGPL21
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection \
+ ${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo
+LIB_DEPENDS= ffi:${PORTSDIR}/devel/libffi
+RUN_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection \
+ ${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo
+
+LATEST_LINK= ${PYTHON_PKGNAMEPREFIX}${PORTNAME}3
+USE_XZ= yes
+USE_GMAKE= yes
+USES= pathfix
+USE_GNOME= glib20
+USE_PYTHON= 2.5+
+USE_PKGCONFIG= build
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+
+# this port doesn't work with py-gobject < 2.28.6_2, clungle below
+CONFLICTS= py*-gtk-0* py*-gobject-2.*.[0-6] py*-gobject-2.*.[7-9] \
+ py*-gobject-2.*.6_1
+PLIST_SUB= PYTHON_VER="${PYTHON_VER}"
+
+.include <bsd.port.mk>