diff options
Diffstat (limited to 'www/py-qp/Makefile')
-rw-r--r-- | www/py-qp/Makefile | 15 |
1 files changed, 9 insertions, 6 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} |