aboutsummaryrefslogtreecommitdiffstats
path: root/devel/premake4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/premake4/Makefile')
-rw-r--r--devel/premake4/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/premake4/Makefile b/devel/premake4/Makefile
index c23bd13a227d..1bf0848d9349 100644
--- a/devel/premake4/Makefile
+++ b/devel/premake4/Makefile
@@ -29,12 +29,16 @@ PORTDOCS= CHANGES.txt LICENSE.txt README.txt
post-patch:
${REINPLACE_CMD} -e 's|-ldl||' ${BUILD_WRKSRC}/Premake4.make
+ ${REINPLACE_CMD} -e 's|debug|release|' ${WRKSRC}/tests/test
do-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
- @${INSTALL_PROGRAM} ${WRKSRC}/bin/release/premake4 ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/release/premake4 ${PREFIX}/bin
+
+regression-test: build
+ cd ${WRKSRC}/tests && ./test
.include <bsd.port.post.mk>