aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/py-gnome-extras
diff options
context:
space:
mode:
authorBeat Gaetzi <beat@FreeBSD.org>2010-08-08 08:58:16 +0000
committerBeat Gaetzi <beat@FreeBSD.org>2010-08-08 08:58:16 +0000
commitb29c1fd02294cd55c6b27f1b909f80b06a86ec38 (patch)
tree7b378fa19f0f278c657c70ceaaec93ded7340cb7 /x11-toolkits/py-gnome-extras
parenta34abe751e92678e068fdfd824ca7f701ab89742 (diff)
downloadports-b29c1fd02294cd55c6b27f1b909f80b06a86ec38.tar.gz
ports-b29c1fd02294cd55c6b27f1b909f80b06a86ec38.zip
Notes
Diffstat (limited to 'x11-toolkits/py-gnome-extras')
-rw-r--r--x11-toolkits/py-gnome-extras/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/x11-toolkits/py-gnome-extras/Makefile b/x11-toolkits/py-gnome-extras/Makefile
index 4eadfeda2c62..26f258cc261e 100644
--- a/x11-toolkits/py-gnome-extras/Makefile
+++ b/x11-toolkits/py-gnome-extras/Makefile
@@ -8,7 +8,7 @@
PORTNAME= gnome-extras
PORTVERSION= 2.25.3
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= x11-toolkits python gnome
MASTER_SITES= GNOME
MASTER_SITE_SUBDIR= sources/gnome-python-extras/${PORTVERSION:C/..$//}
@@ -44,13 +44,17 @@ DOCSDIR= ${WRKSRC}/share/doc/py-gnome-extras
.include <bsd.port.pre.mk>
-.if defined(GECKO) && ${GECKO:Mlibxul}!=""
-CONFIGURE_ARGS+= --with-gtkmozembed=mozilla
-.else
+.if defined(GECKO)
CONFIGURE_ARGS+= --with-gtkmozembed=${GECKO}
.endif
post-patch:
+.if ${GECKO}=="libxul"
+ @${REINPLACE_CMD} -e 's|xulrunner|libxul|' \
+ ${WRKSRC}/configure
+.endif
+ @${REINPLACE_CMD} -e 's|$mozpackage-gtkmozembed|$mozpackage|' \
+ ${WRKSRC}/configure
@${FIND} ${WRKSRC}/docs -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \
-e 's|^HTML_DIR =.*|HTML_DIR = ${DOCSDIR}|g'