aboutsummaryrefslogtreecommitdiff
path: root/net/ntlmaps
diff options
context:
space:
mode:
Diffstat (limited to 'net/ntlmaps')
-rw-r--r--net/ntlmaps/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ntlmaps/Makefile b/net/ntlmaps/Makefile
index 0dcacd02c550..c511728c86a3 100644
--- a/net/ntlmaps/Makefile
+++ b/net/ntlmaps/Makefile
@@ -15,6 +15,8 @@ USES= dos2unix
DOCS= COPYING Install.txt changelog.txt readme.txt research.txt
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e \
's,^#! /usr/bin/python,#!${PYTHON_CMD},' ${WRKSRC}/main.py
@@ -25,12 +27,10 @@ do-build:
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
do-install:
-.if !defined(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}
@${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/ntlmaps
${INSTALL_DATA} ${WRKSRC}/*.py* \