- Update to 1.30

- Add --enable-shared=no to CONFIGURE_ARGS
- Add support for (optional) installation of docs and samples
This commit is contained in:
Nicola Vitale 2008-07-12 17:04:57 +00:00
parent c1d76b5940
commit 98b509534c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=216742
3 changed files with 201 additions and 9 deletions

View file

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

View file

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

View file

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