aboutsummaryrefslogtreecommitdiff
path: root/devel/libbobcat
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-06-12 13:42:12 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-06-12 13:42:12 +0000
commit1b28b5f4d2a95d23a8c47e85184694f06128079b (patch)
treedfa8c8167e1723393c2afb052b1753e887082e57 /devel/libbobcat
parent655663cafcb48b290be286607c8a7728482a69ca (diff)
downloadports-1b28b5f4d2a95d23a8c47e85184694f06128079b.tar.gz
ports-1b28b5f4d2a95d23a8c47e85184694f06128079b.zip
- Fix PORTDOCS*
Notes
Notes: svn path=/head/; revision=320692
Diffstat (limited to 'devel/libbobcat')
-rw-r--r--devel/libbobcat/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/libbobcat/Makefile b/devel/libbobcat/Makefile
index 512132bab871..fa51498edfd6 100644
--- a/devel/libbobcat/Makefile
+++ b/devel/libbobcat/Makefile
@@ -56,6 +56,8 @@ USE_GCC= 4.6
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/bobcat-${PORTVERSION}
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|"/usr"|"${PREFIX}"| ; \
s|"/share/doc/libbobcat3"|"/share/doc/${PORTNAME}-${PORTVERSION}"| ; \
@@ -75,7 +77,7 @@ post-patch:
s|-lX11|-lX11 -L${LOCALBASE}/lib| ; \
s|-lmilter|-lmilter -lpthread|' \
${WRKSRC}/icmake/special
-.if empty(PORT_OPTIONS:MDOCS)
+.if ! ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e 's|#define DOCOTHER||' \
${WRKSRC}/INSTALL.im
.endif