devel/py-plex: support staging
This commit is contained in:
parent
ef9aea6687
commit
1df676064c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337705
2 changed files with 10 additions and 69 deletions
|
@ -13,22 +13,23 @@ COMMENT= Lexical Analysis Module for Python
|
|||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS=yes
|
||||
PYDISTUTILS_AUTOPLIST= yes
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
DOCSDIR= share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
||||
EXAMPLESDIR= share/examples/${PKGNAMEPREFIX}${PORTNAME}
|
||||
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
|
||||
|
||||
PORTDOCS= *
|
||||
PORTEXAMPLES= *
|
||||
|
||||
NO_STAGE= yes
|
||||
post-extract:
|
||||
${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|g' ${FILESDIR}/setup.py \
|
||||
> ${WRKSRC}/setup.py
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${PREFIX}/${DOCSDIR}
|
||||
cd ${WRKSRC}/doc && ${INSTALL_DATA} ./* ${PREFIX}/${DOCSDIR}
|
||||
${MKDIR} ${PREFIX}/${EXAMPLESDIR}
|
||||
cd ${WRKSRC}/examples && ${INSTALL_DATA} ./* ${PREFIX}/${EXAMPLESDIR}
|
||||
.endif
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC}/doc && ${INSTALL_DATA} ./* ${STAGEDIR}${DOCSDIR}
|
||||
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
cd ${WRKSRC}/examples && ${INSTALL_DATA} ./* ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,60 +0,0 @@
|
|||
%%PYTHON_SITELIBDIR%%/Plex/Actions.py
|
||||
%%PYTHON_SITELIBDIR%%/Plex/Actions.pyc
|
||||
%%PYTHON_SITELIBDIR%%/Plex/Actions.pyo
|
||||
%%PYTHON_SITELIBDIR%%/Plex/DFA.py
|
||||
%%PYTHON_SITELIBDIR%%/Plex/DFA.pyc
|
||||
%%PYTHON_SITELIBDIR%%/Plex/DFA.pyo
|
||||
%%PYTHON_SITELIBDIR%%/Plex/Errors.py
|
||||
%%PYTHON_SITELIBDIR%%/Plex/Errors.pyc
|
||||
%%PYTHON_SITELIBDIR%%/Plex/Errors.pyo
|
||||
%%PYTHON_SITELIBDIR%%/Plex/Lexicons.py
|
||||
%%PYTHON_SITELIBDIR%%/Plex/Lexicons.pyc
|
||||
%%PYTHON_SITELIBDIR%%/Plex/Lexicons.pyo
|
||||
%%PYTHON_SITELIBDIR%%/Plex/Machines.py
|
||||
%%PYTHON_SITELIBDIR%%/Plex/Machines.pyc
|
||||
%%PYTHON_SITELIBDIR%%/Plex/Machines.pyo
|
||||
%%PYTHON_SITELIBDIR%%/Plex/Regexps.py
|
||||
%%PYTHON_SITELIBDIR%%/Plex/Regexps.pyc
|
||||
%%PYTHON_SITELIBDIR%%/Plex/Regexps.pyo
|
||||
%%PYTHON_SITELIBDIR%%/Plex/Scanners.py
|
||||
%%PYTHON_SITELIBDIR%%/Plex/Scanners.pyc
|
||||
%%PYTHON_SITELIBDIR%%/Plex/Scanners.pyo
|
||||
%%PYTHON_SITELIBDIR%%/Plex/Timing.py
|
||||
%%PYTHON_SITELIBDIR%%/Plex/Timing.pyc
|
||||
%%PYTHON_SITELIBDIR%%/Plex/Timing.pyo
|
||||
%%PYTHON_SITELIBDIR%%/Plex/Traditional.py
|
||||
%%PYTHON_SITELIBDIR%%/Plex/Traditional.pyc
|
||||
%%PYTHON_SITELIBDIR%%/Plex/Traditional.pyo
|
||||
%%PYTHON_SITELIBDIR%%/Plex/Transitions.py
|
||||
%%PYTHON_SITELIBDIR%%/Plex/Transitions.pyc
|
||||
%%PYTHON_SITELIBDIR%%/Plex/Transitions.pyo
|
||||
%%PYTHON_SITELIBDIR%%/Plex/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/Plex/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/Plex/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/Plex/test_tm.py
|
||||
%%PYTHON_SITELIBDIR%%/Plex/test_tm.pyc
|
||||
%%PYTHON_SITELIBDIR%%/Plex/test_tm.pyo
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/Plex
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Reference.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Tutorial.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/index.html
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/example1and2.in
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/example1and2.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/example3.in
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/example3.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/example4.in
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/example4.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/example5.in
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/example5.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/example6.in
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/example6.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/example7.in
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/example7.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/pascal.in
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/pascal.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/python.in
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/python.py
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/speedtest.in
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/speedtest.py
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Reference in a new issue