1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Support stage

Get rid of NOPORTDATA
This commit is contained in:
Baptiste Daroussin 2014-01-19 18:34:41 +00:00
parent 1df61611a2
commit b69539e61a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340333

View File

@ -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>