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 | |
parent | ce8c6de6720370a8ff7abba160042e8332a71888 (diff) | |
download | ports-4ac54c9d250eff86c76460b88678997ddc114041.tar.gz ports-4ac54c9d250eff86c76460b88678997ddc114041.zip |
Notes
Diffstat (limited to 'www')
-rw-r--r-- | www/py-qp/Makefile | 15 | ||||
-rw-r--r-- | www/py-qpy/Makefile | 11 |
2 files changed, 16 insertions, 10 deletions
diff --git a/www/py-qp/Makefile b/www/py-qp/Makefile index f5d23ee156a3..58f6bf3352db 100644 --- a/www/py-qp/Makefile +++ b/www/py-qp/Makefile @@ -20,20 +20,23 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}durus>=0:${PORTSDIR}/devel/py-durus \ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}durus>=0:${PORTSDIR}/devel/py-durus \ ${PYTHON_PKGNAMEPREFIX}qpy>=1.7:${PORTSDIR}/www/py-qpy +OPTIONS_DEFINE= DOCS EXAMPLES + MAKE_ENV= USE_DISTUTILS=yes USE_PYTHON= 2.5-2.7 USE_PYDISTUTILS= yes SUB_FILES= pkg-message +.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 -.if !defined(NOPORTEXAMPLES) - @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} install_demo_sites ${EXAMPLESDIR} +.if ${PORT_OPTIONS:MEXAMPLES} + cd ${WRKSRC}/ && ${PYTHON_CMD} ${PYSETUP} install_demo_sites ${EXAMPLESDIR}/ .endif @${CAT} ${PKGMESSAGE} 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> |