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/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/devel/py-gobject/Makefile b/devel/py-gobject/Makefile
index 02dcb47cb..bbffcc998 100644
--- a/devel/py-gobject/Makefile
+++ b/devel/py-gobject/Makefile
@@ -3,12 +3,12 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/devel/py-gobject/Makefile,v 1.32 2009/08/12 01:41:09 ahze Exp $
+# $MCom: ports/devel/py-gobject/Makefile,v 1.33 2009/08/15 05:33:00 marcus Exp $
#
PORTNAME= gobject
PORTVERSION= 2.19.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel python
MASTER_SITES= GNOME
MASTER_SITE_SUBDIR= sources/pygobject/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
@@ -32,4 +32,8 @@ CONFIGURE_ARGS= --disable-docs
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>