From owner-svn-ports-all@freebsd.org Wed Jun 29 19:14:33 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 914C0B865B0; Wed, 29 Jun 2016 19:14:33 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 620B82E5E; Wed, 29 Jun 2016 19:14:33 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u5TJEWqf053156; Wed, 29 Jun 2016 19:14:32 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u5TJEWnY053155; Wed, 29 Jun 2016 19:14:32 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201606291914.u5TJEWnY053155@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Wed, 29 Jun 2016 19:14:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r417786 - head/math/ent X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jun 2016 19:14:33 -0000 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 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}