aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2014-02-14 11:11:36 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2014-02-14 11:11:36 +0000
commitcbb2a662e38e8c71667f1a21638ba41b34e64fc6 (patch)
tree20f8fdb2b9ced83d50d98c77a54bd2e5777e4796
parent9acdb132d3bb78b45431b0a304976b633cb7e7d0 (diff)
Notes
-rw-r--r--security/py-pow/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/security/py-pow/Makefile b/security/py-pow/Makefile
index fec2abc070d1..1776c0e7b4dd 100644
--- a/security/py-pow/Makefile
+++ b/security/py-pow/Makefile
@@ -11,6 +11,8 @@ DISTNAME= ${PORTNAME:U}-${PORTVERSION}
MAINTAINER= gahr@FreeBSD.org
COMMENT= Python OpenSSL Wrappers
+OPTIONS_DEFINE= DOCS
+
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= POW
@@ -18,7 +20,6 @@ USE_OPENSSL= yes
PORTDOCS= POW.pdf
-NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e 's|licence|license|' ${WRKSRC}/setup.py
@@ -26,11 +27,9 @@ do-build:
cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} build_ext -D NO_IDEA ${PYDISTUTILS_BUILD_TARGET}
post-install:
-.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/docs/${i} ${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>