Skip to content
Snippets Groups Projects
Unverified Commit 55fb5874 authored by Nicola Vitale's avatar Nicola Vitale
Browse files

math/muparser: update to 2.3.4

- Use PLIST_SUB to remove hard-coded version of the program
- Reorder variables in Makefile
- Fix value of LICENSE_FILE
parent 9b3b2cf3
Branches
No related tags found
No related merge requests found
PORTNAME= muparser
PORTVERSION= 2.3.2
PORTVERSION= 2.3.4
DISTVERSIONPREFIX= v
CATEGORIES= math devel
......@@ -8,23 +8,26 @@ COMMENT= Mathematical expressions parser library written in C++
WWW= https://beltoforion.de/en/muparser/
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/License.txt
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake compiler:c++11-lang
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= beltoforion
USE_LDCONFIG= yes
OPTIONS_DEFINE= EXAMPLES
.if !exists(/usr/include/omp.h)
CMAKE_ARGS+= -DENABLE_OPENMP:BOOL=OFF
.endif
CMAKE_OFF= ENABLE_SAMPLES
PLIST_SUB= MUPARSER_VERSION=${MUPARSER_VERSION}
OPTIONS_DEFINE= EXAMPLES
EXAMPLES_PORTEXAMPLES= *
.if !exists(/usr/include/omp.h)
CMAKE_ARGS+= -DENABLE_OPENMP:BOOL=OFF
.endif
MUPARSER_VERSION= ${PORTVERSION}
post-patch:
${SED} -i.bak -e 's/%%MUPARSER_VERSION%%/${MUPARSER_VERSION}/' ${WRKSRC}/docs/Doxyfile
post-install-EXAMPLES-on:
cd ${WRKSRC} && ${COPYTREE_SHARE} samples ${STAGEDIR}${EXAMPLESDIR}
......
TIMESTAMP = 1610209798
SHA256 (beltoforion-muparser-v2.3.2_GH0.tar.gz) = b35fc84e3667d432e3414c8667d5764dfa450ed24a99eeef7ee3f6647d44f301
SIZE (beltoforion-muparser-v2.3.2_GH0.tar.gz) = 103979
TIMESTAMP = 1668768752
SHA256 (beltoforion-muparser-v2.3.4_GH0.tar.gz) = 0c3fa54a3ebf36dda0ed3e7cd5451c964afbb15102bdbcba08aafb359a290121
SIZE (beltoforion-muparser-v2.3.4_GH0.tar.gz) = 112693
--- docs/Doxyfile.orig 2015-08-16 14:23:14 UTC
--- docs/Doxyfile.orig 2022-11-09 11:54:31 UTC
+++ docs/Doxyfile
@@ -31,7 +31,7 @@ PROJECT_NAME = "muParser API -
@@ -31,7 +31,7 @@ PROJECT_NAME = "muParser API -"
# This could be handy for archiving the generated documentation or
# if some version control system is used.
-PROJECT_NUMBER = 1.35
+PROJECT_NUMBER = 2.2.5
+PROJECT_NUMBER = %%MUPARSER_VERSION%%
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
......
......@@ -13,5 +13,5 @@ include/muParserToken.h
include/muParserTokenReader.h
lib/libmuparser.so
lib/libmuparser.so.2
lib/libmuparser.so.2.3.2
lib/libmuparser.so.%%MUPARSER_VERSION%%
libdata/pkgconfig/muparser.pc
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment