From owner-svn-ports-head@freebsd.org Fri Dec 23 09:55:12 2016 Return-Path: Delivered-To: svn-ports-head@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 9AB35C8D49E; Fri, 23 Dec 2016 09:55:12 +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 6C9EAA69; Fri, 23 Dec 2016 09:55:12 +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 uBN9tB8w062298; Fri, 23 Dec 2016 09:55:11 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uBN9tBvP062295; Fri, 23 Dec 2016 09:55:11 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201612230955.uBN9tBvP062295@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 23 Dec 2016 09:55:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r429236 - in head/math/givaro: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2016 09:55:12 -0000 Author: amdmi3 Date: Fri Dec 23 09:55:11 2016 New Revision: 429236 URL: https://svnweb.freebsd.org/changeset/ports/429236 Log: - Pet portlint - Switch to USES=localbase - Switch to new test framework - Switch to options helpers - Regenerate patches Modified: head/math/givaro/Makefile head/math/givaro/files/patch-src__library__tools__givtruncdomain.h head/math/givaro/pkg-plist Modified: head/math/givaro/Makefile ============================================================================== --- head/math/givaro/Makefile Fri Dec 23 09:46:37 2016 (r429235) +++ head/math/givaro/Makefile Fri Dec 23 09:55:11 2016 (r429236) @@ -13,29 +13,21 @@ LICENSE_NAME= Ce[a] C[nrs] I[nria] L[ogi LICENSE_FILE= ${WRKSRC}/Licence_CeCILL-B_V1-en.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -LIB_DEPENDS= libgmp.so.10:math/gmp +LIB_DEPENDS= libgmp.so:math/gmp -USES= libtool +USES= libtool localbase:ldflags GNU_CONFIGURE= yes -CONFIGURE_ARGS = --with-gmp="${LOCALBASE}" +CONFIGURE_ARGS= --with-gmp="${LOCALBASE}" USE_LDCONFIG= yes INSTALL_TARGET= install-strip +TEST_TARGET= check OPTIONS_DEFINE= DOXYGEN +OPTIONS_SUB= yes -.include - -.if ${PORT_OPTIONS:MDOXYGEN} -BUILD_DEPENDS += doxygen:devel/doxygen \ +DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \ dot:graphics/graphviz -CONFIGURE_ARGS+= --enable-doc --with-docdir=${DOCSDIR} -PLIST_SUB+= PORTDOCS="" -.else -PLIST_SUB+= PORTDOCS="@comment " -.endif - -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +DOXYGEN_CONFIGURE_ON= --enable-doc --with-docdir=${DOCSDIR} post-patch: @${REINPLACE_CMD} -e '/DEFAULT_CFLAGS=/{s/-O2 //;s/-pipe//;}' \ @@ -43,19 +35,11 @@ post-patch: -e '/^WARN_CFLAGS="-Wall"/d' \ -e '/if test "x$$WARN" = "xyes"/s/$$/ WARN_CFLAGS="-Wall" ;/' \ ${WRKSRC}/configure -.if ${PORT_OPTIONS:MDOXYGEN} @${REINPLACE_CMD} -e 's/sed -i/& ""/' ${WRKSRC}/docs/Makefile.in -.endif -post-install: -.if ${PORT_OPTIONS:MDOXYGEN} - ${RMDIR} ${STAGEDIR}${DOCSDIR}/givaro-dev-html - ${FIND} ${WRKSRC}/docs/givaro-html -not -type d \ +post-install-DOXYGEN-on: + @${RMDIR} ${STAGEDIR}${DOCSDIR}/givaro-dev-html + @${FIND} ${WRKSRC}/docs/givaro-html -not -type d \ | ${SED} -ne 's,^${WRKSRC}/docs/givaro-html,${DOCSDIR}/givaro-html,p' >> ${TMPPLIST} -.endif - -check regression-test test: build - @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} \ - ${MAKE_ARGS} check .include Modified: head/math/givaro/files/patch-src__library__tools__givtruncdomain.h ============================================================================== --- head/math/givaro/files/patch-src__library__tools__givtruncdomain.h Fri Dec 23 09:46:37 2016 (r429235) +++ head/math/givaro/files/patch-src__library__tools__givtruncdomain.h Fri Dec 23 09:55:11 2016 (r429236) @@ -1,5 +1,5 @@ ---- ./src/library/tools/givtruncdomain.h.orig 2014-08-11 23:06:35.000000000 +0200 -+++ ./src/library/tools/givtruncdomain.h 2014-08-11 23:06:42.000000000 +0200 +--- src/library/tools/givtruncdomain.h.orig 2013-12-04 17:03:41 UTC ++++ src/library/tools/givtruncdomain.h @@ -17,7 +17,7 @@ #ifdef __APPLE__ #include Modified: head/math/givaro/pkg-plist ============================================================================== --- head/math/givaro/pkg-plist Fri Dec 23 09:46:37 2016 (r429235) +++ head/math/givaro/pkg-plist Fri Dec 23 09:55:11 2016 (r429236) @@ -140,4 +140,4 @@ lib/libgivaro.a lib/libgivaro.so lib/libgivaro.so.0 lib/libgivaro.so.0.6.0 -%%PORTDOCS%%%%DOCSDIR%%/givaro.html +%%DOXYGEN%%%%DOCSDIR%%/givaro.html