aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-01-19 18:34:41 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-01-19 18:34:41 +0000
commitb69539e61a12edd66db07f3cf99c8dbc22ae56ae (patch)
tree5b8420c8873223e2e3057e2696f5eecc415858fd
parent1df61611a217bd97c5c9081a9b4a3a622836a8ea (diff)
downloadports-b69539e61a12edd66db07f3cf99c8dbc22ae56ae.tar.gz
ports-b69539e61a12edd66db07f3cf99c8dbc22ae56ae.zip
Notes
-rw-r--r--math/py-nzmath/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/math/py-nzmath/Makefile b/math/py-nzmath/Makefile
index ac1f9101f690..64700bba4256 100644
--- a/math/py-nzmath/Makefile
+++ b/math/py-nzmath/Makefile
@@ -15,16 +15,10 @@ USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= NZMATH
-NO_STAGE= yes
post-install:
-.if !defined(NOPORTDATA)
- ${MKDIR} ${DATADIR}
- ${CP} ${WRKSRC}/data/discriminant.csv ${DATADIR}
-.endif
-
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${CP} ${WRKSRC}/manual/*.pdf ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/data/discriminant.csv ${STAGEDIR}${DATADIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/manual/*.pdf ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>