Index: head/math/givaro/Makefile =================================================================== --- head/math/givaro/Makefile (revision 429235) +++ head/math/givaro/Makefile (revision 429236) @@ -1,61 +1,45 @@ # $FreeBSD$ PORTNAME= givaro PORTVERSION= 3.8.0 CATEGORIES= math MASTER_SITES= https://forge.imag.fr/frs/download.php/592/ LOCAL/bf MAINTAINER= ports@FreeBSD.org COMMENT= C++ library for computer algebra LICENSE= CeCILL-Bv1-en.txt LICENSE_NAME= Ce[a] C[nrs] I[nria] L[ogiciel] L[ibre] B license, version 1 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 +DOXYGEN_CONFIGURE_ON= --enable-doc --with-docdir=${DOCSDIR} -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib - post-patch: @${REINPLACE_CMD} -e '/DEFAULT_CFLAGS=/{s/-O2 //;s/-pipe//;}' \ -e '/DEBUG_CFLAGS=.*-DNDEBUG/s/$${DEBUG_CFLAGS} //' \ -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 Index: head/math/givaro/files/patch-src__library__tools__givtruncdomain.h =================================================================== --- head/math/givaro/files/patch-src__library__tools__givtruncdomain.h (revision 429235) +++ head/math/givaro/files/patch-src__library__tools__givtruncdomain.h (revision 429236) @@ -1,11 +1,11 @@ ---- ./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 #else -#include +/* #include */ #endif #endif Index: head/math/givaro/pkg-plist =================================================================== --- head/math/givaro/pkg-plist (revision 429235) +++ head/math/givaro/pkg-plist (revision 429236) @@ -1,143 +1,143 @@ bin/givaro-config bin/givaro-makefile include/givaro-config.h include/givaro/StaticElement.h include/givaro/giv_randiter.h include/givaro/givarithmetics.h include/givaro/givaromm.h include/givaro/givarray0.h include/givaro/givarray0.inl include/givaro/givarrayallocator.h include/givaro/givarrayfixed.h include/givaro/givbasictype.h include/givaro/givbits.h include/givaro/givbits.inl include/givaro/givcaster.h include/givaro/givcategory.h include/givaro/givconfig.h include/givaro/givcra.h include/givaro/givdegree.h include/givaro/givelem.h include/givaro/giverror.h include/givaro/givextension.h include/givaro/givfixedtrunc.h include/givaro/givfractiondomain.h include/givaro/givgenarith.h include/givaro/givgfq.h include/givaro/givgfq.inl include/givaro/givgfqext.h include/givaro/givgfqkron.h include/givaro/givhashtable.h include/givaro/givhashtable.inl include/givaro/givhighorder.h include/givaro/givindeter.h include/givaro/givinit.h include/givaro/givinteger.h include/givaro/givinterp.h include/givaro/givinterpgeom-multip.h include/givaro/givinterpgeom.h include/givaro/givintfactor.h include/givaro/givintfactor.inl include/givaro/givintnumtheo.h include/givaro/givintnumtheo.inl include/givaro/givintprime.h include/givaro/givintprime.inl include/givaro/givintrns.h include/givaro/givintrns_convert.inl include/givaro/givintrns_cstor.inl include/givaro/givintrsa.h include/givaro/givintrsa.inl include/givaro/givintsqrootmod.h include/givaro/givintsqrootmod.inl include/givaro/giviterator.h include/givaro/givlist0.h include/givaro/givlist0.inl include/givaro/givmatdense.h include/givaro/givmatdenseops.inl include/givaro/givmatrix.h include/givaro/givmatsparse.h include/givaro/givmatsparseops.inl include/givaro/givmatstorage.h include/givaro/givmatstoragedense.h include/givaro/givmatstoragesparse.h include/givaro/givmodule.h include/givaro/givmontg32.h include/givaro/givmontg32.inl include/givaro/givops.h include/givaro/givperf.h include/givaro/givpointer.h include/givaro/givpoly1.h include/givaro/givpoly1addsub.inl include/givaro/givpoly1axpy.inl include/givaro/givpoly1crt.h include/givaro/givpoly1crtconvert.inl include/givaro/givpoly1crtcstor.inl include/givaro/givpoly1cstor.inl include/givaro/givpoly1cyclo.inl include/givaro/givpoly1dense.h include/givaro/givpoly1denseops.inl include/givaro/givpoly1factor.h include/givaro/givpoly1factor.inl include/givaro/givpoly1gcd.inl include/givaro/givpoly1io.inl include/givaro/givpoly1kara.inl include/givaro/givpoly1misc.inl include/givaro/givpoly1muldiv.inl include/givaro/givpoly1padic.h include/givaro/givpoly1proot.inl include/givaro/givpoly1ratrecon.inl include/givaro/givpoly1sqrfree.inl include/givaro/givpower.h include/givaro/givprimes16.h include/givaro/givquotientdomain.h include/givaro/givrandom.h include/givaro/givrational.h include/givaro/givrational.inl include/givaro/givref_count.h include/givaro/givrns.h include/givaro/givrnsconvert.inl include/givaro/givrnscstor.inl include/givaro/givrnsfixed.h include/givaro/givrnsfixed.inl include/givaro/givspyinteger.h include/givaro/givstack.h include/givaro/givstack.inl include/givaro/givstorage.h include/givaro/givstoragedense.h include/givaro/givtablelimits.h include/givaro/givtimer.h include/givaro/givtruncdomain.h include/givaro/givtruncdomain.inl include/givaro/givvectdenseops.inl include/givaro/givvectdensespe.inl include/givaro/givvector.h include/givaro/givvectordense.inl include/givaro/givvectorsparse.h include/givaro/givvectorsparse.inl include/givaro/givvectsparseops.inl include/givaro/givzpz.h include/givaro/givzpzGen.h include/givaro/givzpzGen.inl include/givaro/givzpz16std.h include/givaro/givzpz16std.inl include/givaro/givzpz16table1.h include/givaro/givzpz16table1.inl include/givaro/givzpz32std.h include/givaro/givzpz32std.inl include/givaro/givzpz32uns.h include/givaro/givzpz32uns.inl include/givaro/givzpz64std.h include/givaro/givzpz64std.inl include/givaro/givzpzInt.h include/givaro/givzpzInt.inl include/givaro/givzpztypes.h include/gmp++/gmp++.h include/gmp++/gmp++_int.h include/gmp++/gmp++_int_rand.inl include/gmp++/gmp++_rat.h include/gmp++/gmp++_rat.inl lib/libgivaro.a lib/libgivaro.so lib/libgivaro.so.0 lib/libgivaro.so.0.6.0 -%%PORTDOCS%%%%DOCSDIR%%/givaro.html +%%DOXYGEN%%%%DOCSDIR%%/givaro.html