Skip to content
Browse files

- Update USE_PYTHON

- Fix OPTIONSFILE
- Support STAGEDIR
- Reformat pkg-descr
- Use single space after WWW:
  • Loading branch information...
1 parent e0d13f7 commit 52535d143b58acfe068e9800e8c96b104c3830c6 @sunpoet sunpoet committed Nov 20, 2013
Showing with 10 additions and 11 deletions.
  1. +4 −4 www/py-qpy/Makefile
  2. +5 −6 www/py-qpy/pkg-descr
  3. +1 −1 www/py-qpy/pkg-plist
View
8 www/py-qpy/Makefile
@@ -12,18 +12,18 @@ MAINTAINER= sunpoet@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>
View
11 www/py-qpy/pkg-descr
@@ -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/
View
2 www/py-qpy/pkg-plist
@@ -28,8 +28,8 @@ bin/qpyrun.py
%%PYTHON_SITELIBDIR%%/qpy/translate.py
%%PYTHON_SITELIBDIR%%/qpy/translate.pyc
%%PYTHON_SITELIBDIR%%/qpy/translate.pyo
-@dirrm %%PYTHON_SITELIBDIR%%/qpy
%%PORTDOCS%%%%DOCSDIR%%/CHANGES.txt
%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
%%PORTDOCS%%%%DOCSDIR%%/README.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm %%PYTHON_SITELIBDIR%%/qpy

0 comments on commit 52535d1

Please sign in to comment.
Something went wrong with that request. Please try again.