diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2014-06-06 21:23:49 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2014-06-06 21:23:49 +0000 |
commit | 100290b3aa17a9ff1c29d75d95e8becf1b1c2f86 (patch) | |
tree | 5585caf74ab058b0b4ca79be35274bddf7a929be /math/biggles | |
parent | 3445d16c0ae19c21fa3df1196eb2af540ece4370 (diff) | |
download | ports-100290b3aa17a9ff1c29d75d95e8becf1b1c2f86.tar.gz ports-100290b3aa17a9ff1c29d75d95e8becf1b1c2f86.zip |
Notes
Diffstat (limited to 'math/biggles')
-rw-r--r-- | math/biggles/Makefile | 14 |
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> |