aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-qp
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-11-20 11:22:01 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-11-20 11:22:01 +0800
commite0d13f7eabb169d1b6b49c433f24c1ea253c6a3a (patch)
treeff5bbdcc7ec41cd823f464dec6556a19903aa190 /www/py-qp
parent073fc263ab09c9617dabf5b673eae8c9fae0295e (diff)
downloadfreebsd-ports-gnome-e0d13f7eabb169d1b6b49c433f24c1ea253c6a3a.tar.gz
freebsd-ports-gnome-e0d13f7eabb169d1b6b49c433f24c1ea253c6a3a.tar.zst
freebsd-ports-gnome-e0d13f7eabb169d1b6b49c433f24c1ea253c6a3a.zip
- Update USE_PYTHON
- Fix OPTIONSFILE - Support STAGEDIR - Reformat pkg-descr
Diffstat (limited to 'www/py-qp')
-rw-r--r--www/py-qp/Makefile14
-rw-r--r--www/py-qp/pkg-descr9
2 files changed, 10 insertions, 13 deletions
diff --git a/www/py-qp/Makefile b/www/py-qp/Makefile
index 39cebf00874f..23db8621333c 100644
--- a/www/py-qp/Makefile
+++ b/www/py-qp/Makefile
@@ -13,28 +13,26 @@ COMMENT= Python web framework to use qpy and durus together
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}durus>=0:${PORTSDIR}/devel/py-durus \
${PYTHON_PKGNAMEPREFIX}qpy>=1.7:${PORTSDIR}/www/py-qpy
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}durus>=0:${PORTSDIR}/devel/py-durus \
- ${PYTHON_PKGNAMEPREFIX}qpy>=1.7:${PORTSDIR}/www/py-qpy
+RUN_DEPENDS:= ${BUILD_DEPENDS}
OPTIONS_DEFINE= DOCS EXAMPLES
+OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
MAKE_ENV= USE_DISTUTILS=yes
-USE_PYTHON= 2.5-2.7
USE_PYDISTUTILS=yes
+USE_PYTHON= -2.7
SUB_FILES= pkg-message
-NO_STAGE= yes
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}/
- cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGES.txt LICENSE.txt README.txt ${DOCSDIR}/
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}/
+ cd ${WRKSRC}/ && ${INSTALL_DATA} CHANGES.txt LICENSE.txt README.txt ${STAGEDIR}${DOCSDIR}/
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
- cd ${WRKSRC}/ && ${PYTHON_CMD} ${PYSETUP} install_demo_sites ${EXAMPLESDIR}/
+ cd ${WRKSRC}/ && ${PYTHON_CMD} ${PYSETUP} install_demo_sites ${STAGEDIR}${EXAMPLESDIR}/
.endif
- @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/www/py-qp/pkg-descr b/www/py-qp/pkg-descr
index 8369fd0f5b44..13b3d0e59ccb 100644
--- a/www/py-qp/pkg-descr
+++ b/www/py-qp/pkg-descr
@@ -1,7 +1,6 @@
-This is QP, a package for defining and running multiple web
-applications based on Durus for persistence, standard persistent
-Session and User classes, easy interactive database sessions, qpy for
-assembling html, and Quixote2-style forms and path traversal. QP makes
-it easier than ever to use these tools together.
+This is QP, a package for defining and running multiple web applications based
+on Durus for persistence, standard persistent Session and User classes, easy
+interactive database sessions, qpy for assembling html, and Quixote2-style forms
+and path traversal. QP makes it easier than ever to use these tools together.
WWW: http://www.mems-exchange.org/software/qp/