aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2014-02-16 18:59:21 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2014-02-16 18:59:21 +0000
commit9dc3d9174c1f3a088517f6ba520eb6d4f94a208d (patch)
tree7608f811107bada15ab9c7fbe213ae721cfa9ca5 /math
parent5a53d9b8e0c8187146c39a4ad254402680435c41 (diff)
downloadports-9dc3d9174c1f3a088517f6ba520eb6d4f94a208d.tar.gz
ports-9dc3d9174c1f3a088517f6ba520eb6d4f94a208d.zip
Notes
Diffstat (limited to 'math')
-rw-r--r--math/diehard/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/math/diehard/Makefile b/math/diehard/Makefile
index 7eb09532f1e7..fe57dded58ec 100644
--- a/math/diehard/Makefile
+++ b/math/diehard/Makefile
@@ -17,22 +17,16 @@ PLIST_SUB= DOCSDIR="share/doc/${PORTNAME}" DATADIR="share/${PORTNAME}"
DOCSLIST= NOTES readme
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|operm5\.cov|${DATADIR}/operm5.cov|g;' \
${WRKSRC}/cdoperm5.c
@${REINPLACE_CMD} -e 's|CC=gcc||g;' ${WRKSRC}/Makefile
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/diehard ${PREFIX}/bin
- @${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/operm5.cov ${DATADIR}
-
-post-install:
-.ifndef(NOPORTDOCS)
- @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${DOCSLIST:S!^!${WRKSRC}/!} ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/diehard ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/operm5.cov ${STAGEDIR}${DATADIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${DOCSLIST:S!^!${WRKSRC}/!} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>