aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-20 02:34:41 +0800
committerbapt <bapt@FreeBSD.org>2014-01-20 02:34:41 +0800
commitb37121c32b8dd9dabfd8cd4300e1c8d42f3e7c8c (patch)
tree5b8420c8873223e2e3057e2696f5eecc415858fd /math
parentd7577ab984de970d46ad719c4ce3745d822ff28a (diff)
downloadfreebsd-ports-gnome-b37121c32b8dd9dabfd8cd4300e1c8d42f3e7c8c.tar.gz
freebsd-ports-gnome-b37121c32b8dd9dabfd8cd4300e1c8d42f3e7c8c.tar.zst
freebsd-ports-gnome-b37121c32b8dd9dabfd8cd4300e1c8d42f3e7c8c.zip
Support stage
Get rid of NOPORTDATA
Diffstat (limited to 'math')
-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>