svn commit: r334387 - head/www/py-qpy
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed Nov 20 03:22:09 UTC 2013
Author: sunpoet
Date: Wed Nov 20 03:22:08 2013
New Revision: 334387
URL: http://svnweb.freebsd.org/changeset/ports/334387
Log:
- Update USE_PYTHON
- Fix OPTIONSFILE
- Support STAGEDIR
- Reformat pkg-descr
- Use single space after WWW:
Modified:
head/www/py-qpy/Makefile
head/www/py-qpy/pkg-descr (contents, props changed)
head/www/py-qpy/pkg-plist (contents, props changed)
Modified: head/www/py-qpy/Makefile
==============================================================================
--- head/www/py-qpy/Makefile Wed Nov 20 03:22:01 2013 (r334386)
+++ head/www/py-qpy/Makefile Wed Nov 20 03:22:08 2013 (r334387)
@@ -12,18 +12,18 @@ MAINTAINER= sunpoet at FreeBSD.org
COMMENT= Generating safely-quoted html text from python code
OPTIONS_DEFINE= DOCS
+OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
MAKE_ENV= USE_DISTUTILS=yes
-USE_PYTHON= 2.5+
USE_PYDISTUTILS=yes
+USE_PYTHON= -2.7
-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
.include <bsd.port.mk>
Modified: head/www/py-qpy/pkg-descr
==============================================================================
--- head/www/py-qpy/pkg-descr Wed Nov 20 03:22:01 2013 (r334386)
+++ head/www/py-qpy/pkg-descr Wed Nov 20 03:22:08 2013 (r334387)
@@ -1,8 +1,7 @@
-Qpy provides a convenient mechanism for generating safely-quoted html
-text from python code.
+Qpy provides a convenient mechanism for generating safely-quoted html text from
+python code.
-It does this by implementing a quoted-string data type and a
-modification of the python compiler. (This main idea comes from
-Quixote's htmltext/PTL.)
+It does this by implementing a quoted-string data type and a modification of the
+python compiler. (This main idea comes from Quixote's htmltext/PTL.)
-WWW: http://www.mems-exchange.org/software/qpy/
+WWW: http://www.mems-exchange.org/software/qpy/
Modified: head/www/py-qpy/pkg-plist
==============================================================================
--- head/www/py-qpy/pkg-plist Wed Nov 20 03:22:01 2013 (r334386)
+++ head/www/py-qpy/pkg-plist Wed Nov 20 03:22:08 2013 (r334387)
@@ -28,8 +28,8 @@ bin/qpyrun.py
%%PYTHON_SITELIBDIR%%/qpy/translate.py
%%PYTHON_SITELIBDIR%%/qpy/translate.pyc
%%PYTHON_SITELIBDIR%%/qpy/translate.pyo
- at dirrm %%PYTHON_SITELIBDIR%%/qpy
%%PORTDOCS%%%%DOCSDIR%%/CHANGES.txt
%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
%%PORTDOCS%%%%DOCSDIR%%/README.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+ at dirrm %%PYTHON_SITELIBDIR%%/qpy
More information about the svn-ports-all
mailing list