aboutsummaryrefslogtreecommitdiff
path: root/math/muparser
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2008-07-12 17:04:57 +0000
committerNicola Vitale <nivit@FreeBSD.org>2008-07-12 17:04:57 +0000
commit98b509534c727a8239304bcd38234c735b39034c (patch)
tree28cb2fbe109c8ffc3599aceb8b55b8543735a645 /math/muparser
parentc1d76b5940ef0db3e2f52a1ac5ca690de126695b (diff)
downloadports-98b509534c727a8239304bcd38234c735b39034c.tar.gz
ports-98b509534c727a8239304bcd38234c735b39034c.zip
- Update to 1.30
- Add --enable-shared=no to CONFIGURE_ARGS - Add support for (optional) installation of docs and samples
Notes
Notes: svn path=/head/; revision=216742
Diffstat (limited to 'math/muparser')
-rw-r--r--math/muparser/Makefile24
-rw-r--r--math/muparser/distinfo6
-rw-r--r--math/muparser/pkg-plist180
3 files changed, 201 insertions, 9 deletions
diff --git a/math/muparser/Makefile b/math/muparser/Makefile
index 7720a4f7f92b..3f51b818c0e6 100644
--- a/math/muparser/Makefile
+++ b/math/muparser/Makefile
@@ -6,11 +6,11 @@
#
PORTNAME= muparser
-PORTVERSION= 1.27
+PORTVERSION= 1.30
CATEGORIES= math devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-DISTNAME= ${PORTNAME}_v127
+DISTNAME= ${PORTNAME}_v130
MAINTAINER= nivit@FreeBSD.org
COMMENT= Mathematical expressions parser library written in C++
@@ -18,7 +18,13 @@ COMMENT= Mathematical expressions parser library written in C++
RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkg-config
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--enable-samples=no
+CONFIGURE_ARGS+= --enable-shared=no
+.if defined(NOPORTEXAMPLES)
+CONFIGURE_ARGS+= --enable-samples=no
+.endif
+.if !defined(NOPORTDOCS)
+CONFIGURE_ARGS+= --docdir=${DOCSDIR}
+.endif
USE_LDCONFIG= yes
USE_GMAKE= yes
@@ -31,6 +37,18 @@ post-patch:
@${REINPLACE_CMD} -E 's,^(CXXFLAGS|LDFLAGS) = ,\1 ?= ,g' \
${WRKSRC}/Makefile.in
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR} && \
+ cd ${WRKSRC}/docs/html && \
+ ${COPYTREE_SHARE} . ${DOCSDIR}
+.endif
+.if !defined(NOPORTEXAMPLES)
+ @${MKDIR} ${EXAMPLESDIR} && \
+ cd ${WRKSRC}/samples && \
+ ${COPYTREE_SHARE} . ${EXAMPLESDIR}
+.endif
+
.include <bsd.port.pre.mk>
.if ( ${OSVERSION} < 501103 )
diff --git a/math/muparser/distinfo b/math/muparser/distinfo
index 6d79b73ffae1..8630a0b548be 100644
--- a/math/muparser/distinfo
+++ b/math/muparser/distinfo
@@ -1,3 +1,3 @@
-MD5 (muparser_v127.tar.gz) = 8b2150db477a32946f5388f415e2b59b
-SHA256 (muparser_v127.tar.gz) = b37a479257e5733f58011709b2640c01d5519645e6385426ce696d5fa1ff58bc
-SIZE (muparser_v127.tar.gz) = 489256
+MD5 (muparser_v130.tar.gz) = ca3835cec2ba1d7cfe499d3cfd3568fe
+SHA256 (muparser_v130.tar.gz) = 689b8d451ea03c24d7c4be9b00dcb4cb2bf1189ebc25c5c4fd901af2e309e345
+SIZE (muparser_v130.tar.gz) = 820832
diff --git a/math/muparser/pkg-plist b/math/muparser/pkg-plist
index 4b472d46bf23..cf05e7dece21 100644
--- a/math/muparser/pkg-plist
+++ b/math/muparser/pkg-plist
@@ -12,7 +12,181 @@ include/muParserStack.h
include/muParserTest.h
include/muParserToken.h
include/muParserTokenReader.h
-lib/libmuparser.so
-lib/libmuparser.so.0
-lib/libmuparser.so.0.0.0
+lib/libmuparser.a
libdata/pkgconfig/muparser.pc
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/annotated.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/calc_8cpp-example.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/classes.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/classmu_1_1Parser-members.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/classmu_1_1Parser.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/classmu_1_1Parser.png
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/classmu_1_1ParserBase-members.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/classmu_1_1ParserBase.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/classmu_1_1ParserBase.png
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/classmu_1_1ParserByteCode-members.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/classmu_1_1ParserByteCode.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/classmu_1_1ParserCallback-members.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/classmu_1_1ParserCallback.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/classmu_1_1ParserComplex-members.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/classmu_1_1ParserComplex.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/classmu_1_1ParserComplex.png
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/classmu_1_1ParserError-members.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/classmu_1_1ParserError.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/classmu_1_1ParserErrorMsg-members.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/classmu_1_1ParserErrorMsg.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/classmu_1_1ParserInt-members.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/classmu_1_1ParserInt.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/classmu_1_1ParserInt.png
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/classmu_1_1ParserStack-members.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/classmu_1_1ParserStack.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/classmu_1_1ParserToken-members.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/classmu_1_1ParserToken.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/classmu_1_1ParserTokenReader-members.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/classmu_1_1ParserTokenReader.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/classmu_1_1Parser_1_1change__dec__sep-members.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/classmu_1_1Parser_1_1change__dec__sep.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/classmu_1_1Test_1_1ParserTester-members.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/classmu_1_1Test_1_1ParserTester.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/doxygen.css
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/doxygen.png
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/examples.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/files.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/functions.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/functions_0x63.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/functions_0x64.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/functions_0x65.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/functions_0x66.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/functions_0x67.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/functions_0x68.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/functions_0x69.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/functions_0x6d.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/functions_0x6e.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/functions_0x6f.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/functions_0x70.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/functions_0x72.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/functions_0x73.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/functions_0x74.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/functions_0x75.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/functions_0x76.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/functions_0x7e.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/functions_enum.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/functions_eval.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/functions_func.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/functions_type.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/functions_vars.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/globals.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/globals_defs.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/hierarchy.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/index.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/list__expr__var_8cpp-example.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/listvar_8cpp-example.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserBase_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserBase_8h-source.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserBase_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserBytecode_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserBytecode_8h-source.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserBytecode_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserCallback_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserCallback_8h-source.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserCallback_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserComplex_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserComplex_8h-source.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserComplex_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserDLL_8h-source.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserDLL_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserDef_8h-source.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserDef_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserError_8h-source.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserError_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserFixes_8h-source.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserFixes_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserInt_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserInt_8h-source.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserInt_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserStack_8h-source.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserStack_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserTest_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserTest_8h-source.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserTest_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserTokenReader_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserTokenReader_8h-source.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserTokenReader_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserToken_8h-source.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParserToken_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParser_8cpp.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParser_8h-source.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/muParser_8h.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/namespacemembers.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/namespacemembers_enum.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/namespacemembers_eval.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/namespacemembers_func.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/namespacemembers_type.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/namespacemu.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/namespacemu_1_1Test.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/namespaces.html
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/tab_b.gif
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/tab_l.gif
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/tab_r.gif
+%%PORTDOCS%%%%DOCSDIR%%/classdocu/tabs.css
+%%PORTDOCS%%%%DOCSDIR%%/images/bench2.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/bytecode.png
+%%PORTDOCS%%%%DOCSDIR%%/images/diff.png
+%%PORTDOCS%%%%DOCSDIR%%/images/download.gif
+%%PORTDOCS%%%%DOCSDIR%%/images/grad1.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/grad2.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/grad2.xcf
+%%PORTDOCS%%%%DOCSDIR%%/images/grad3.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/help.gif
+%%PORTDOCS%%%%DOCSDIR%%/images/logo.xcf
+%%PORTDOCS%%%%DOCSDIR%%/images/mathparser.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/mathparser_logo.gif
+%%PORTDOCS%%%%DOCSDIR%%/images/mathparser_small.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/osi.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/sflogo.png
+%%PORTDOCS%%%%DOCSDIR%%/images/thumb_geodes.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/thumb_kst.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/thumb_matrix.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/thumb_qtiplot.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/thumb_tm2.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/thumb_trini.jpg
+%%PORTDOCS%%%%DOCSDIR%%/images/warning.gif
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/misc/Main.txt
+%%PORTDOCS%%%%DOCSDIR%%/misc/calc.cpp
+%%PORTDOCS%%%%DOCSDIR%%/misc/example.txt
+%%PORTDOCS%%%%DOCSDIR%%/misc/header.html
+%%PORTDOCS%%%%DOCSDIR%%/misc/list_expr_var.cpp
+%%PORTDOCS%%%%DOCSDIR%%/misc/listvar.cpp
+%%PORTDOCS%%%%DOCSDIR%%/mup_features.html
+%%PORTDOCS%%%%DOCSDIR%%/mup_interface.html
+%%PORTDOCS%%%%DOCSDIR%%/mup_intro.html
+%%PORTDOCS%%%%DOCSDIR%%/mup_licence.html
+%%PORTDOCS%%%%DOCSDIR%%/mup_links.html
+%%PORTDOCS%%%%DOCSDIR%%/mup_usage.html
+%%PORTDOCS%%%%DOCSDIR%%/mup_version.html
+%%PORTDOCS%%%%DOCSDIR%%/script/functions.js
+%%PORTDOCS%%%%DOCSDIR%%/sources/build_page.sh
+%%PORTDOCS%%%%DOCSDIR%%/sources/mup_features.html
+%%PORTDOCS%%%%DOCSDIR%%/sources/mup_interface.html
+%%PORTDOCS%%%%DOCSDIR%%/sources/mup_intro.html
+%%PORTDOCS%%%%DOCSDIR%%/sources/mup_licence.html
+%%PORTDOCS%%%%DOCSDIR%%/sources/mup_links.html
+%%PORTDOCS%%%%DOCSDIR%%/sources/mup_usage.html
+%%PORTDOCS%%%%DOCSDIR%%/sources/mup_version.html
+%%PORTDOCS%%%%DOCSDIR%%/sources/navigation.html
+%%PORTDOCS%%%%DOCSDIR%%/sources/stat_counter.html
+%%PORTDOCS%%%%DOCSDIR%%/style/formate.css
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example1/Example1.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example1/example1
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example3/Example3.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example3/example3.c
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/example3
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/example1
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/style
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/sources
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/script
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/misc
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/images
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/classdocu
+%%PORTDOCS%%@dirrm %%DOCSDIR%%