svn commit: r417786 - head/math/ent

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Jun 29 19:14:33 UTC 2016


Author: amdmi3
Date: Wed Jun 29 19:14:32 2016
New Revision: 417786
URL: https://svnweb.freebsd.org/changeset/ports/417786

Log:
  - Switch to new test framework
  - Switch to options helpers
  - Silence patching

Modified:
  head/math/ent/Makefile

Modified: head/math/ent/Makefile
==============================================================================
--- head/math/ent/Makefile	Wed Jun 29 19:06:59 2016	(r417785)
+++ head/math/ent/Makefile	Wed Jun 29 19:14:32 2016	(r417786)
@@ -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}
 


More information about the svn-ports-head mailing list