aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-11-11 03:33:36 +0800
committermarino <marino@FreeBSD.org>2014-11-11 03:33:36 +0800
commit76315008161662beaf8a77e2f5553175d90faba0 (patch)
tree422edabe14cdb3186192fb6f76f7a4758b8c3a7b /deskutils
parent40104066f4c9cd73a04a322c288e42465574ac37 (diff)
downloadfreebsd-ports-gnome-76315008161662beaf8a77e2f5553175d90faba0.tar.gz
freebsd-ports-gnome-76315008161662beaf8a77e2f5553175d90faba0.tar.zst
freebsd-ports-gnome-76315008161662beaf8a77e2f5553175d90faba0.zip
deskutils/griffith: Set LXML option by default
This port is unmaintained. The referenced PR indicates that LXML dependency is not actually optional and run-time files if it's not installed. If true, it should be installed unconditionally, but as a half-measure, I'll just switch the option to fix it for standard binary packages, and let the future maintainer look into this more. PR: 194151 Submitted by: ktullavik (gmail)
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/griffith/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/deskutils/griffith/Makefile b/deskutils/griffith/Makefile
index ac23d40f19ff..4a9eb5c00258 100644
--- a/deskutils/griffith/Makefile
+++ b/deskutils/griffith/Makefile
@@ -3,7 +3,7 @@
PORTNAME= griffith
PORTVERSION= 0.13
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= deskutils
MASTER_SITES= http://launchpadlibrarian.net/87859599/
@@ -22,7 +22,8 @@ USE_GNOME= pygtk2
USES= gmake gettext python tar:xz
NO_BUILD= yes
-OPTIONS_DEFINE= CHARDET LXML PYGNOMEEXTRAS REPORTLAB2
+OPTIONS_DEFINE= CHARDET LXML PYGNOMEEXTRAS REPORTLAB2
+OPTIONS_DEFAULT= LXML
CHARDET_DESC= chardet support
CHARDET_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}chardet>=0:${PORTSDIR}/textproc/py-chardet
@@ -50,10 +51,11 @@ post-patch:
/^PREFIX/s|?=|=|g ; s|/usr|${PREFIX}|; /ln -s/d; \
/^ETCDIR/s|=.*|= $$(PREFIX)/etc|g' ${WRKSRC}/${file}
.endfor
-.for file in docs/en/Makefile docs/pl/Makefile docs/pt/Makefile
+.for f in docs/en/Makefile docs/pl/Makefile docs/pt/Makefile
@${REINPLACE_CMD} -e \
'/^PREFIX/s|?=|=|g ; s|/usr|${PREFIX}|; \
- /^MANDIR/s|=.*|=${STAGEDIR}${MANPREFIX}/man|g' ${WRKSRC}/${file}
+ /^MANDIR/s|=.*|=${STAGEDIR}${MANPREFIX}/man|g' \
+ ${WRKSRC}/${f}
.endfor
pre-install: