Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jun 2016 19:14:32 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r417786 - head/math/ent
Message-ID:  <201606291914.u5TJEWnY053155@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606291914.u5TJEWnY053155>