aboutsummaryrefslogtreecommitdiff
path: root/net/ntlmaps
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-04 21:44:04 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-04 21:44:04 +0000
commit3631e2333a8700d4f00d6caa681ba17d7687babf (patch)
tree745f97af838071739e1b6070acbf4862962b5405 /net/ntlmaps
parentd88572b38372acbe93dad72b0058c23d88f85dca (diff)
downloadports-3631e2333a8700d4f00d6caa681ba17d7687babf.tar.gz
ports-3631e2333a8700d4f00d6caa681ba17d7687babf.zip
Notes
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* \