aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-12-21 02:05:04 +0800
committerwg <wg@FreeBSD.org>2013-12-21 02:05:04 +0800
commit435cf8fac2dd9ef8556204c5fa5d6d2f96960813 (patch)
treeb211e45baa7748e53c6a11ab02dea18e51d9c916
parent22bba1898163d4180ada6286033f94d04a898628 (diff)
downloadfreebsd-ports-gnome-435cf8fac2dd9ef8556204c5fa5d6d2f96960813.tar.gz
freebsd-ports-gnome-435cf8fac2dd9ef8556204c5fa5d6d2f96960813.tar.zst
freebsd-ports-gnome-435cf8fac2dd9ef8556204c5fa5d6d2f96960813.zip
devel/py-spark: allow staging
- Allow staging - Restrict to python 2 - Remove now useless NOPORTDOCS
-rw-r--r--devel/py-spark/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/devel/py-spark/Makefile b/devel/py-spark/Makefile
index 209794f4f54f..d6c1837f073f 100644
--- a/devel/py-spark/Makefile
+++ b/devel/py-spark/Makefile
@@ -11,17 +11,17 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Scanning, Parsing, and Rewriting Kit
-USE_PYTHON= yes
+USE_PYTHON= 2
NO_BUILD= yes
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/spark.py ${PYTHON_SITELIBDIR}
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/spark.py ${STAGEDIR}${PYTHON_SITELIBDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in doc.html doc.tex paper.ps.gz
- ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>