1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

devel/py-spark: allow staging

- Allow staging
- Restrict to python 2
- Remove now useless NOPORTDOCS
This commit is contained in:
William Grzybowski 2013-12-20 18:05:04 +00:00
parent 8978d7238e
commit 061835a1f9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337052

View File

@ -11,17 +11,17 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= Scanning, Parsing, and Rewriting Kit COMMENT= Scanning, Parsing, and Rewriting Kit
USE_PYTHON= yes USE_PYTHON= 2
NO_BUILD= yes NO_BUILD= yes
NO_STAGE= yes OPTIONS_DEFINE= DOCS
do-install: do-install:
${INSTALL_SCRIPT} ${WRKSRC}/spark.py ${PYTHON_SITELIBDIR} @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
.if !defined(NOPORTDOCS) ${INSTALL_SCRIPT} ${WRKSRC}/spark.py ${STAGEDIR}${PYTHON_SITELIBDIR}
@${MKDIR} ${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in doc.html doc.tex paper.ps.gz .for file in doc.html doc.tex paper.ps.gz
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${STAGEDIR}${DOCSDIR}
.endfor .endfor
.endif
.include <bsd.port.mk> .include <bsd.port.mk>