aboutsummaryrefslogtreecommitdiffstats
path: root/math/biggles
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-06-07 05:23:49 +0800
committerpawel <pawel@FreeBSD.org>2014-06-07 05:23:49 +0800
commit57f6ba616843a4a2cb61f7010f4e2ba1fa9aad4b (patch)
tree5585caf74ab058b0b4ca79be35274bddf7a929be /math/biggles
parent7bdf0cd277a65ca82b9c48a507a419a092add3f2 (diff)
downloadfreebsd-ports-gnome-57f6ba616843a4a2cb61f7010f4e2ba1fa9aad4b.tar.gz
freebsd-ports-gnome-57f6ba616843a4a2cb61f7010f4e2ba1fa9aad4b.tar.zst
freebsd-ports-gnome-57f6ba616843a4a2cb61f7010f4e2ba1fa9aad4b.zip
Add staging support
Diffstat (limited to 'math/biggles')
-rw-r--r--math/biggles/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/math/biggles/Makefile b/math/biggles/Makefile
index 11c5d35acaa8..c8b84c95ae54 100644
--- a/math/biggles/Makefile
+++ b/math/biggles/Makefile
@@ -24,7 +24,6 @@ MAKE_ARGS= CC="${CC}" \
LIBPLOT_LDFLAGS="-L${LOCALBASE}/lib -lplot" \
PYTHON="${PYTHON_CMD}"
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e '/CC/s,gcc,$$\{CC\},' ${WRKSRC}/make.inc
@${REINPLACE_CMD} -e 's|= python|= ${PYTHON_CMD}|' ${WRKSRC}/make.inc
@@ -34,13 +33,10 @@ pre-build:
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
do-install:
- @${MKDIR} ${PYTHON_SITELIBDIR}/biggles
-.for ext in ini so py pyc pyo
- ${INSTALL_DATA} ${WRKSRC}/src/*.${ext} ${PYTHON_SITELIBDIR}/biggles
-.endfor
- @${MKDIR} ${PYTHON_SITELIBDIR}/biggles/libplot
-.for ext in so py pyc pyo
- ${INSTALL_DATA} ${WRKSRC}/src/libplot/*.${ext} ${PYTHON_SITELIBDIR}/biggles/libplot
-.endfor
+ @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/biggles/libplot
+ (cd ${WRKSRC}/src && ${INSTALL_DATA} *.ini *.so *.py *.pyc *.pyo \
+ ${STAGEDIR}${PYTHON_SITELIBDIR}/biggles)
+ (cd ${WRKSRC}/src/libplot/ && ${INSTALL_DATA} *.so *.py *.pyc *.pyo \
+ ${STAGEDIR}${PYTHON_SITELIBDIR}/biggles/libplot)
.include <bsd.port.mk>