diff --git a/math/muparser/Makefile b/math/muparser/Makefile index 3880aad03686..f1d5939d1fd4 100644 --- a/math/muparser/Makefile +++ b/math/muparser/Makefile @@ -1,57 +1,30 @@ # Created by: Nicola Vitale # $FreeBSD$ PORTNAME= muparser -PORTVERSION= 2.2.5 -PORTREVISION= 2 +PORTVERSION= 2.3.2 DISTVERSIONPREFIX= v CATEGORIES= math devel MAINTAINER= nivit@FreeBSD.org COMMENT= Mathematical expressions parser library written in C++ -LICENSE= MIT +LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/License.txt -USE_GITHUB= yes -GH_ACCOUNT= beltoforion - -USES= ${USES_${ARCH}} dos2unix pathfix -USES_powerpc64= compiler:c++11-lang -USES_powerpc= compiler:c++11-lang -USES_powerpcspe= compiler:c++11-lang -USES_sparc64= compiler:c++11-lang +USES= cmake compiler:c++11-lang USE_LDCONFIG= yes -ALL_TARGET= lib -GNU_CONFIGURE= yes -# otherwise it fails to build when the EXAMPLES option is ON -MAKE_JOBS_UNSAFE= yes - -OPTIONS_DEFINE= DOCS DOXYGEN EXAMPLES - -DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \ - dot:graphics/graphviz -DOXYGEN_ALL_TARGET= documentation -DOXYGEN_PORTDOCS= * -DOXYGEN_IMPLIES= DOCS +USE_GITHUB= yes +GH_ACCOUNT= beltoforion -EXAMPLES_CONFIGURE_ENABLE= samples -EXAMPLES_ALL_TARGET= samples +OPTIONS_DEFINE= EXAMPLES -post-patch: - @${REINPLACE_CMD} -E 's,^(CXXFLAGS|LDFLAGS) = ,\1 ?= ,g' \ - ${WRKSRC}/Makefile.in +CMAKE_OFF= ENABLE_SAMPLES -post-install-DOXYGEN-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - (cd ${WRKSRC}/docs/html && \ - ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) +EXAMPLES_PORTEXAMPLES= * post-install-EXAMPLES-on: - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - (cd ${WRKSRC}/samples/example1 && \ - ${INSTALL_PROGRAM} example1 ${STAGEDIR}${EXAMPLESDIR} && \ - ${INSTALL_DATA} example1.cpp ${STAGEDIR}${EXAMPLESDIR}) + cd ${WRKSRC} && ${COPYTREE_SHARE} samples ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/math/muparser/distinfo b/math/muparser/distinfo index 50bd26eb79b8..a9e9e273bd30 100644 --- a/math/muparser/distinfo +++ b/math/muparser/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1484386394 -SHA256 (beltoforion-muparser-v2.2.5_GH0.tar.gz) = 0666ef55da72c3e356ca85b6a0084d56b05dd740c3c21d26d372085aa2c6e708 -SIZE (beltoforion-muparser-v2.2.5_GH0.tar.gz) = 761315 +TIMESTAMP = 1610209798 +SHA256 (beltoforion-muparser-v2.3.2_GH0.tar.gz) = b35fc84e3667d432e3414c8667d5764dfa450ed24a99eeef7ee3f6647d44f301 +SIZE (beltoforion-muparser-v2.3.2_GH0.tar.gz) = 103979 diff --git a/math/muparser/pkg-descr b/math/muparser/pkg-descr index c3c5a8b45876..91c818e5103e 100644 --- a/math/muparser/pkg-descr +++ b/math/muparser/pkg-descr @@ -1,5 +1,5 @@ muParser is an extensible high performance math parser library written in C++. It is based on transforming an expression into a bytecode and precalculating constant parts of it. -WWW: http://muparser.beltoforion.de/ +WWW: https://beltoforion.de/en/muparser/ diff --git a/math/muparser/pkg-plist b/math/muparser/pkg-plist index 7adc9e8ebfce..885c9de7ca07 100644 --- a/math/muparser/pkg-plist +++ b/math/muparser/pkg-plist @@ -1,20 +1,17 @@ include/muParser.h include/muParserBase.h include/muParserBytecode.h include/muParserCallback.h include/muParserDLL.h include/muParserDef.h include/muParserError.h include/muParserFixes.h include/muParserInt.h -include/muParserStack.h include/muParserTemplateMagic.h include/muParserTest.h include/muParserToken.h include/muParserTokenReader.h lib/libmuparser.so lib/libmuparser.so.2 -lib/libmuparser.so.2.2.4 +lib/libmuparser.so.2.3.2 libdata/pkgconfig/muparser.pc -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example1 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example1.cpp