diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-06-18 16:33:24 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-06-18 16:33:24 +0000 |
commit | 4ac54c9d250eff86c76460b88678997ddc114041 (patch) | |
tree | 544612698be9fd137d3b8ec04a09baedbf1f4c8e /www/py-qpy | |
parent | ce8c6de6720370a8ff7abba160042e8332a71888 (diff) |
Notes
Diffstat (limited to 'www/py-qpy')
-rw-r--r-- | www/py-qpy/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/www/py-qpy/Makefile b/www/py-qpy/Makefile index c83cbacf8809..c188b7500171 100644 --- a/www/py-qpy/Makefile +++ b/www/py-qpy/Makefile @@ -15,15 +15,18 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Generating safely-quoted html text from python code +OPTIONS_DEFINE= DOCS + MAKE_ENV= USE_DISTUTILS=yes USE_PYTHON= 2.5+ USE_PYDISTUTILS= yes +.include <bsd.port.options.mk> + post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR}/ - @cd ${WRKSRC} && \ - ${INSTALL_DATA} CHANGES.txt LICENSE.txt README.txt ${DOCSDIR}/ +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${DOCSDIR}/ + cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGES.txt LICENSE.txt README.txt ${DOCSDIR}/ .endif .include <bsd.port.mk> |