aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2008-09-28 07:03:43 +0800
committerwxs <wxs@FreeBSD.org>2008-09-28 07:03:43 +0800
commit7b6dfd9ad9f892374db4eb1295636ce32194ca8b (patch)
tree20e5ddfae131dfabd80bc7d46c75d6e7445c733b
parent71f5fbcb1b7e6b592ab9dc8df923c062694bc7ad (diff)
downloadfreebsd-ports-gnome-7b6dfd9ad9f892374db4eb1295636ce32194ca8b.tar.gz
freebsd-ports-gnome-7b6dfd9ad9f892374db4eb1295636ce32194ca8b.tar.zst
freebsd-ports-gnome-7b6dfd9ad9f892374db4eb1295636ce32194ca8b.zip
Respect NOPORTDOCS.
Noticed by: QAT
-rw-r--r--textproc/dblatex/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/textproc/dblatex/Makefile b/textproc/dblatex/Makefile
index 09b64020b326..be48135dc675 100644
--- a/textproc/dblatex/Makefile
+++ b/textproc/dblatex/Makefile
@@ -7,6 +7,7 @@
PORTNAME= dblatex
PORTVERSION= 0.2.9
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -31,6 +32,9 @@ MAN1= dblatex.1
MANCOMPRESSED= yes
post-patch:
+.if defined(NOPORTDOCS)
+ @${REINPLACE_CMD} -e "/manual.pdf/d" ${WRKSRC}/setup.py
+.endif
@${REINPLACE_CMD} -e "s,share/man/man1,man/man1,g" ${WRKSRC}/setup.py
.include <bsd.port.mk>