aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/gdome2
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2008-06-18 07:15:15 +0800
committeritetcu <itetcu@FreeBSD.org>2008-06-18 07:15:15 +0800
commitd045b638c929ea544d215c50763b54bb04bc26fa (patch)
tree909ace584d921f7983e0cd6e3abdee75bacb9bc1 /textproc/gdome2
parentf0681966b8aa8e8d9118b213ea99aeb7f5daa84b (diff)
downloadfreebsd-ports-gnome-d045b638c929ea544d215c50763b54bb04bc26fa.tar.gz
freebsd-ports-gnome-d045b638c929ea544d215c50763b54bb04bc26fa.tar.zst
freebsd-ports-gnome-d045b638c929ea544d215c50763b54bb04bc26fa.zip
- fix plist with -DNOPORTDOCS
- bump PORTREVISION Submitted by: QA Tindy run
Diffstat (limited to 'textproc/gdome2')
-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 ' \