From e8afc1661da3178b5e9491df0d19d6652ff8954a Mon Sep 17 00:00:00 2001 From: Ion-Mihai Tetcu Date: Tue, 17 Jun 2008 23:15:15 +0000 Subject: - fix plist with -DNOPORTDOCS - bump PORTREVISION Submitted by: QA Tindy run --- textproc/gdome2/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'textproc/gdome2/Makefile') 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 ' \ -- cgit v1.2.3