mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Update USE_PYTHON
- Fix OPTIONSFILE - Support STAGEDIR - Reformat pkg-descr - Use single space after WWW:
This commit is contained in:
parent
1da4144528
commit
9283985705
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334387
@ -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>
|
||||
|
@ -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/
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user