1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

math/muparser: Update 2.2.5 -> 2.3.2

PR:		252546
Approved by:	nivit (maintainer's timeout 14 days)
This commit is contained in:
Yuri Victorovich 2021-01-24 01:07:02 +00:00
parent 218e93a15e
commit 6cf58ebdb4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=562433
4 changed files with 14 additions and 44 deletions

View File

@ -2,56 +2,29 @@
# $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
USES= cmake compiler:c++11-lang
USE_LDCONFIG= yes
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
USE_LDCONFIG= yes
OPTIONS_DEFINE= EXAMPLES
ALL_TARGET= lib
GNU_CONFIGURE= yes
# otherwise it fails to build when the EXAMPLES option is ON
MAKE_JOBS_UNSAFE= yes
CMAKE_OFF= ENABLE_SAMPLES
OPTIONS_DEFINE= DOCS DOXYGEN EXAMPLES
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \
dot:graphics/graphviz
DOXYGEN_ALL_TARGET= documentation
DOXYGEN_PORTDOCS= *
DOXYGEN_IMPLIES= DOCS
EXAMPLES_CONFIGURE_ENABLE= samples
EXAMPLES_ALL_TARGET= samples
post-patch:
@${REINPLACE_CMD} -E 's,^(CXXFLAGS|LDFLAGS) = ,\1 ?= ,g' \
${WRKSRC}/Makefile.in
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 <bsd.port.mk>

View File

@ -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

View File

@ -2,4 +2,4 @@ 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/

View File

@ -7,14 +7,11 @@ 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