summaryrefslogtreecommitdiffstats
path: root/devel/py-gobject/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-gobject/Makefile')
-rw-r--r--devel/py-gobject/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/devel/py-gobject/Makefile b/devel/py-gobject/Makefile
new file mode 100644
index 000000000..f717e61ab
--- /dev/null
+++ b/devel/py-gobject/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: py-gobject
+# Date created: 10 January 2006
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD: ports/devel/py-gobject/Makefile,v 1.15 2010/05/10 21:18:11 kwm Exp $
+# $MCom: ports/devel/py-gobject/Makefile,v 1.37 2010/01/03 06:54:20 marcus Exp $
+#
+
+PORTNAME= gobject
+PORTVERSION= 2.21.1
+PORTREVISION= 1
+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= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Python bindings for GObject
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_GNOME= gnomehack glib20
+USE_PYTHON= yes
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+CONFIGURE_ARGS= --disable-docs --enable-pygi
+
+CONFLICTS= py*-gtk-0*
+PLIST_SUB= PYTHON_VER="${PYTHON_VER}"
+
+post-install:
+ @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
+ ${PREFIX}/share/pygobject/2.0/codegen
+
+.include <bsd.port.mk>