Date: Fri, 23 Dec 2016 09:55:11 +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: r429236 - in head/math/givaro: . files Message-ID: <201612230955.uBN9tBvP062295@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk> - -.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 <bsd.port.mk> 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 <utility> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612230955.uBN9tBvP062295>