From 9dc3d9174c1f3a088517f6ba520eb6d4f94a208d Mon Sep 17 00:00:00 2001 From: Danilo Egea Gondolfo Date: Sun, 16 Feb 2014 18:59:21 +0000 Subject: [PATCH] - Add stage support --- math/diehard/Makefile | 16 +++++----------- 1 file 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