diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-21 18:20:34 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-21 18:20:34 +0800 |
commit | f718abab47f4eddabc7d45eb93b43fb609c256d0 (patch) | |
tree | 62c7f9271f9dfb246af5e0a6ca541a9c1e7076b1 | |
parent | ccade7c7724aec198bc0522ab49c61993955d820 (diff) | |
download | freebsd-ports-gnome-f718abab47f4eddabc7d45eb93b43fb609c256d0.tar.gz freebsd-ports-gnome-f718abab47f4eddabc7d45eb93b43fb609c256d0.tar.zst freebsd-ports-gnome-f718abab47f4eddabc7d45eb93b43fb609c256d0.zip |
Support staging
-rw-r--r-- | math/e/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/math/e/Makefile b/math/e/Makefile index 1cf4068f995c..17f802027f31 100644 --- a/math/e/Makefile +++ b/math/e/Makefile @@ -12,21 +12,18 @@ COMMENT= A tiny expression evaluator MAKEFILE= makefile ALL_TARGET= e -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + post-patch: @${RM} ${WRKSRC}/${PORTNAME} @${REINPLACE_CMD} -e 's|gcc|${CC}|g ; \ s|-O2|${CFLAGS}|g' ${WRKSRC}/makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - -post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in EXAMPLES GRAMMAR README - ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include <bsd.port.mk> |