aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/py-gnome-extras
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2009-04-13 01:42:15 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2009-04-13 01:42:15 +0000
commiteac0eff0329cca978b055d9ff67a1b4d02dea508 (patch)
tree678744ecae59a57a684c14e4d39ba993a3ab5db1 /x11-toolkits/py-gnome-extras
parent78b69bb69233825c8812423294112253ba39195b (diff)
downloadports-eac0eff0329cca978b055d9ff67a1b4d02dea508.tar.gz
ports-eac0eff0329cca978b055d9ff67a1b4d02dea508.zip
Notes
Diffstat (limited to 'x11-toolkits/py-gnome-extras')
-rw-r--r--x11-toolkits/py-gnome-extras/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/x11-toolkits/py-gnome-extras/Makefile b/x11-toolkits/py-gnome-extras/Makefile
index 762b2b6c0ff9..cfb1400e0166 100644
--- a/x11-toolkits/py-gnome-extras/Makefile
+++ b/x11-toolkits/py-gnome-extras/Makefile
@@ -25,13 +25,12 @@ LIB_DEPENDS= gtkspell.0:${PORTSDIR}/textproc/gtkspell \
gksuui1.0.1:${PORTSDIR}/sysutils/libgksuui \
gdl-1.0:${PORTSDIR}/x11-toolkits/gdl
-USE_GECKO= firefox xulrunner mozilla
+USE_GECKO= firefox libxul xulrunner mozilla
USE_BZIP2= yes
USE_GMAKE= yes
USE_PYTHON= yes
USE_GNOME= gnomehack libgtkhtml pygnome2 libgda4
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-gtkmozembed=${GECKO}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
@@ -46,6 +45,12 @@ DOCSDIR= ${WRKSRC}/share/doc/py-gnome-extras
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/www/mozilla/bsd.gecko.mk"
+.if defined(GECKO) && ${GECKO:Mlibxul}!=""
+CONFIGURE_ARGS+= --with-gtkmozembed=xulrunner
+.else
+CONFIGURE_ARGS+= --with-gtkmozembed=${GECKO}
+.endif
+
post-patch:
@${FIND} ${WRKSRC}/docs -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \
-e 's|^HTML_DIR =.*|HTML_DIR = ${DOCSDIR}|g'