diff options
Diffstat (limited to 'math')
-rw-r--r-- | math/py-nzmath/Makefile | 14 |
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> |