summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-06-17 23:15:15 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2008-06-17 23:15:15 +0000
commite8afc1661da3178b5e9491df0d19d6652ff8954a (patch)
tree8392d7c1929158332cc7e0cc5b4c6193d7aec6e1
parent- Dependency has been renamed to liborange. (diff)
- fix plist with -DNOPORTDOCS
- bump PORTREVISION Submitted by: QA Tindy run
Notes
Notes: svn path=/head/; revision=215038
Diffstat (limited to '')
-rw-r--r--textproc/gdome2/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/textproc/gdome2/Makefile b/textproc/gdome2/Makefile
index c612974b2aac..0aed3e36fd33 100644
--- a/textproc/gdome2/Makefile
+++ b/textproc/gdome2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gdome2
PORTVERSION= 0.8.1
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= textproc
MASTER_SITES= http://gdome2.cs.unibo.it/tarball/
@@ -27,9 +27,14 @@ USE_LDCONFIG= yes
MAN1= gdome-config.1
post-patch:
+.ifndef(NOPORTDOCS)
@${REINPLACE_CMD} -E -e \
's,^(HTML_DIR *= *).*,\1\$$(prefix)/share/doc,' \
${WRKSRC}/gtk-doc/Makefile.in
+.else
+ @${REINPLACE_CMD} '/gtk-doc/d' ${WRKSRC}/Makefile.in
+.endif
+
@${FIND} ${WRKSRC} -type f -and \
'(' -name '*.[ch]' -or -name '*.xml' ')' | \
${XARGS} ${REINPLACE_CMD} -e ' \