diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-21 10:20:34 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-02-21 10:20:34 +0000 |
commit | e4d150394356a7d8028c499fb612edcacffd7ae4 (patch) | |
tree | 62c7f9271f9dfb246af5e0a6ca541a9c1e7076b1 | |
parent | b72560260deb032bf6827541e29ce0db8adcac69 (diff) | |
download | ports-e4d150394356a7d8028c499fb612edcacffd7ae4.tar.gz ports-e4d150394356a7d8028c499fb612edcacffd7ae4.zip |
Notes
-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> |