aboutsummaryrefslogtreecommitdiffstats
path: root/math/ent/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/ent/Makefile')
-rw-r--r--math/ent/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/math/ent/Makefile b/math/ent/Makefile
index aeb3c2d2bc8e..47e964179233 100644
--- a/math/ent/Makefile
+++ b/math/ent/Makefile
@@ -16,25 +16,24 @@ USES= compiler zip
NO_WRKSUBDIR= yes
ALL_TARGET= ent
PLIST_FILES= bin/ent
+TEST_TARGET= check
PORTDOCS= ent.html entitle.gif
-OPTIONS_DEFINE= DOCS
-regression-test: build
- @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check)
+OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
post-patch:
- ${REINPLACE_CMD} -e 's|gcc|${CC}|; s|^CFLAGS |&+|' ${WRKSRC}/Makefile
-
+ @${REINPLACE_CMD} -e 's|gcc|${CC}|; s|^CFLAGS |&+|' ${WRKSRC}/Makefile
.if ${COMPILER_TYPE} == clang
- ${REINPLACE_CMD} -e 's|-g ||' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|-g ||' ${WRKSRC}/Makefile
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}