aboutsummaryrefslogtreecommitdiffstats
path: root/math/plman
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-04 08:52:39 +0800
committeradamw <adamw@FreeBSD.org>2014-07-04 08:52:39 +0800
commit312bafbda46d2ff47fbd40a4e4e34f59deeeecc6 (patch)
tree71cbf3545f3c46063cafedf3043c72b11789854f /math/plman
parentffba0efda3d6171430d65d75094c80b02f39bd8e (diff)
downloadfreebsd-ports-gnome-312bafbda46d2ff47fbd40a4e4e34f59deeeecc6.tar.gz
freebsd-ports-gnome-312bafbda46d2ff47fbd40a4e4e34f59deeeecc6.tar.zst
freebsd-ports-gnome-312bafbda46d2ff47fbd40a4e4e34f59deeeecc6.zip
Remove NOPORTDOCS and NOPORTEXAMPLES.
Approved by: portmgr (blanket)
Diffstat (limited to 'math/plman')
-rw-r--r--math/plman/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/plman/Makefile b/math/plman/Makefile
index f004b053cf75..f80ca3b76f15 100644
--- a/math/plman/Makefile
+++ b/math/plman/Makefile
@@ -27,6 +27,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
FIND_DATA= lib
FIND_DOCS= docs
+OPTIONS_DEFINE= DOCS
+
post-patch:
for FILE in ${REPLACE_FILES}; do \
${REINPLACE_CMD} -e "/%%DATADIR%%/s//${DATADIR:S/\//\\\//g}/g" $${FILE} ;\
@@ -36,9 +38,7 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${MKDIR} ${STAGEDIR}${DATADIR}/${FIND_DATA}
cd ${WRKSRC} && ${FIND} ${FIND_DATA} -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DATADIR}/{} \;
-.if !defined(NOPORTDOCS)
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/${FIND_DOCS} && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${STAGEDIR}${DOCSDIR}/{} \;
-.endif
.include <bsd.port.mk>