# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # libsbml # libsbml/pkg-plist # libsbml/pkg-descr # libsbml/distinfo # libsbml/Makefile # libsbml/files # libsbml/files/patch-Makefile.in # echo c - libsbml mkdir -p libsbml > /dev/null 2>&1 echo x - libsbml/pkg-plist sed 's/^X//' >libsbml/pkg-plist << 'ffbe304f41470d253133f80de529c14d' Xlibdata/pkgconfig/libsbml.pc Xinclude/sbml/Compartment.h Xinclude/sbml/CompartmentType.h Xinclude/sbml/Constraint.h Xinclude/sbml/Delay.h Xinclude/sbml/Event.h Xinclude/sbml/EventAssignment.h Xinclude/sbml/FunctionDefinition.h Xinclude/sbml/InitialAssignment.h Xinclude/sbml/KineticLaw.h Xinclude/sbml/ListOf.h Xinclude/sbml/Model.h Xinclude/sbml/Parameter.h Xinclude/sbml/Reaction.h Xinclude/sbml/Rule.h Xinclude/sbml/SBMLDocument.h Xinclude/sbml/SBMLError.h Xinclude/sbml/SBMLErrorLog.h Xinclude/sbml/SBMLErrorTable.h Xinclude/sbml/SBMLReader.h Xinclude/sbml/SBMLTypeCodes.h Xinclude/sbml/SBMLTypes.h Xinclude/sbml/SBMLVisitor.h Xinclude/sbml/SBMLWriter.h Xinclude/sbml/SBO.h Xinclude/sbml/SBase.h Xinclude/sbml/Species.h Xinclude/sbml/SpeciesReference.h Xinclude/sbml/SpeciesType.h Xinclude/sbml/StoichiometryMath.h Xinclude/sbml/Trigger.h Xinclude/sbml/Unit.h Xinclude/sbml/UnitDefinition.h Xinclude/sbml/UnitKind.h Xinclude/sbml/annotation/CVTerm.h Xinclude/sbml/annotation/ModelHistory.h Xinclude/sbml/annotation/RDFAnnotation.h Xinclude/sbml/common/common.h Xinclude/sbml/common/extern.h Xinclude/sbml/common/libsbml-config-unix.h Xinclude/sbml/common/libsbml-config-win.h Xinclude/sbml/common/libsbml-config.h Xinclude/sbml/common/libsbml-version.h Xinclude/sbml/common/sbmlfwd.h Xinclude/sbml/compress/CompressCommon.h Xinclude/sbml/compress/InputDecompressor.h Xinclude/sbml/compress/OutputCompressor.h Xinclude/sbml/compress/bzfstream.h Xinclude/sbml/compress/crypt.h Xinclude/sbml/compress/ioapi.h Xinclude/sbml/compress/iowin32.h Xinclude/sbml/compress/unzip.h Xinclude/sbml/compress/zfstream.h Xinclude/sbml/compress/zip.h Xinclude/sbml/compress/zipfstream.h Xinclude/sbml/math/ASTNode.h Xinclude/sbml/math/FormulaFormatter.h Xinclude/sbml/math/FormulaParser.h Xinclude/sbml/math/FormulaTokenizer.h Xinclude/sbml/math/MathML.h Xinclude/sbml/units/FormulaUnitsData.h Xinclude/sbml/units/UnitFormulaFormatter.h Xinclude/sbml/units/UnitKindList.h Xinclude/sbml/util/List.h Xinclude/sbml/util/Stack.h Xinclude/sbml/util/StringBuffer.h Xinclude/sbml/util/memory.h Xinclude/sbml/util/util.h Xinclude/sbml/validator/ConsistencyValidator.h Xinclude/sbml/validator/ConstraintMacros.h Xinclude/sbml/validator/IdentifierConsistencyValidator.h Xinclude/sbml/validator/InternalConsistencyValidator.h Xinclude/sbml/validator/L1CompatibilityValidator.h Xinclude/sbml/validator/L2v1CompatibilityValidator.h Xinclude/sbml/validator/L2v2CompatibilityValidator.h Xinclude/sbml/validator/L2v3CompatibilityValidator.h Xinclude/sbml/validator/L2v4CompatibilityValidator.h Xinclude/sbml/validator/MathMLConsistencyValidator.h Xinclude/sbml/validator/ModelingPracticeValidator.h Xinclude/sbml/validator/OverdeterminedValidator.h Xinclude/sbml/validator/SBOConsistencyValidator.h Xinclude/sbml/validator/UnitConsistencyValidator.h Xinclude/sbml/validator/VConstraint.h Xinclude/sbml/validator/Validator.h Xinclude/sbml/validator/constraints/IdBase.h Xinclude/sbml/validator/constraints/IdList.h Xinclude/sbml/validator/constraints/MathMLBase.h Xinclude/sbml/validator/constraints/OverDeterminedCheck.h Xinclude/sbml/validator/constraints/UniqueIdBase.h Xinclude/sbml/validator/constraints/UniqueMetaId.h Xinclude/sbml/validator/constraints/UnitsBase.h Xinclude/sbml/xml/LibXMLAttributes.h Xinclude/sbml/xml/LibXMLHandler.h Xinclude/sbml/xml/LibXMLNamespaces.h Xinclude/sbml/xml/LibXMLParser.h Xinclude/sbml/xml/LibXMLTranscode.h Xinclude/sbml/xml/XMLAttributes.h Xinclude/sbml/xml/XMLBuffer.h Xinclude/sbml/xml/XMLError.h Xinclude/sbml/xml/XMLErrorLog.h Xinclude/sbml/xml/XMLExtern.h Xinclude/sbml/xml/XMLFileBuffer.h Xinclude/sbml/xml/XMLHandler.h Xinclude/sbml/xml/XMLInputStream.h Xinclude/sbml/xml/XMLMemoryBuffer.h Xinclude/sbml/xml/XMLNamespaces.h Xinclude/sbml/xml/XMLNode.h Xinclude/sbml/xml/XMLOutputStream.h Xinclude/sbml/xml/XMLParser.h Xinclude/sbml/xml/XMLToken.h Xinclude/sbml/xml/XMLTokenizer.h Xinclude/sbml/xml/XMLTriple.h Xlib/libsbml.3.3.2.so Xlib/libsbml.so Xlib/libsbml.a X@dirrm include/sbml/annotation X@dirrm include/sbml/common X@dirrm include/sbml/compress X@dirrm include/sbml/math X@dirrm include/sbml/units X@dirrm include/sbml/util X@dirrm include/sbml/validator/constraints X@dirrm include/sbml/validator X@dirrm include/sbml/xml X@dirrm include/sbml/ X%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/libsbml/_libsbml.so X%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/libsbml/libsbml.py X%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/libsbml/libsbml.pyc X%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/libsbml.pth X%%WITH_PYTHON%%%%PYTHON_SITELIBDIR%%/%%SBML_EGGINFO%% X%%WITH_PYTHON%%@dirrm %%PYTHON_SITELIBDIR%%/libsbml X%%WITH_RUBY%%%%RUBY_SITEARCHLIBDIR%%/libSBML.so X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README.txt X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/FormulaGraphvizFormatter.h X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/Makefile X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/Makefile.in X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/convertSBML.c X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/drawMath.c X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/echoSBML.c X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/evaluateMath.c X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/printMath.c X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/printSBML.c X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/readSBML.c X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/translateMath.c X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/util.c X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/util.h X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/validateSBML.c X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/Makefile X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/Makefile.in X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/addCVTerms.cpp X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/addModelHistory.cpp X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/appendAnnotation.cpp X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/convertSBML.cpp X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/createExampleSBML.cpp X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/echoSBML.cpp X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/printAnnotation.cpp X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/printMath.cpp X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/printNotes.cpp X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/printSBML.cpp X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/printUnits.cpp X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/readSBML.cpp X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/translateMath.cpp X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/unsetAnnotation.cpp X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/unsetNotes.cpp X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/util.c X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/util.h X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/validateSBML.cpp X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/csharp/Makefile X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/csharp/Makefile.in X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/csharp/echoSBML.cs X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/csharp/validateSBML.cs X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/java/Makefile X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/java/Makefile.in X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/java/README.txt X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/java/addCVTerms.java X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/java/addModelHistory.java X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/java/appendAnnotation.java X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/java/convertSBML.java X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/java/echoSBML.java X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/java/evaluateMath.java X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/java/printAnnotation.java X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/java/printMath.java X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/java/printNotes.java X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/java/printSBML.java X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/java/printUnits.java X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/java/readSBML.java X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/java/translateMath.java X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/java/unsetAnnotation.java X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/java/unsetNotes.java X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/java/validateSBML.java X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/layout/Makefile.in X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/layout/example1.cpp X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/layout/example1.java X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/layout/example1.py X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/layout/example2.cpp X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/layout/example3.cpp X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/layout/layout2svg.xsl X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/perl/convertSBML.pl X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/perl/evaluateMath.pl X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/perl/extractReactionInfo.pl X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/perl/extractReactions.pl X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/perl/printMath.pl X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/perl/printSBML.pl X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/perl/readSBML.pl X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/perl/translateMath.pl X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/perl/validateSBML.pl X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/echoSBML.py X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/validateSBML.py X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ruby/convertSBML.rb X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ruby/echoSBML.rb X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ruby/printMath.rb X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ruby/validateSBML.rb X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample-models/README.txt X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample-models/from-spec/level-2/README.txt X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample-models/from-spec/level-2/algebraicrules.xml X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample-models/from-spec/level-2/assignmentrules.xml X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample-models/from-spec/level-2/boundarycondition.xml X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample-models/from-spec/level-2/delay.xml X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample-models/from-spec/level-2/dimerization.xml X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample-models/from-spec/level-2/enzymekinetics.xml X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample-models/from-spec/level-2/events.xml X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample-models/from-spec/level-2/functiondef.xml X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample-models/from-spec/level-2/multicomp.xml X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample-models/from-spec/level-2/overdetermined.xml X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample-models/from-spec/level-2/twodimensional.xml X%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sample-models/from-spec/level-2/units.xml X%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/c X%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/c++ X%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/csharp X%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/java X%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/layout X%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/perl X%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/python X%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/ruby X%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/sample-models/from-spec/level-2 X%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/sample-models/from-spec X%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/sample-models X%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% ffbe304f41470d253133f80de529c14d echo x - libsbml/pkg-descr sed 's/^X//' >libsbml/pkg-descr << 'cc633700decba3500a8d9668a6e3671c' XLibSBML is an open-source programming library to help you read, write, Xmanipulate, translate, and validate SBML files and data streams. It is Xnot an application itself (though it does come with example programs), Xbut rather a library you can embed in your own applications. X XLibSBML understands all Levels and Versions of SBML, as well as the XSBML Layout proposal by Gauges, Rost, Sahle and Wegner. It's written in XISO C and C++ but can be used from all the languages listed in the Xright-hand box. X XWWW: http://www.sbml.org/ cc633700decba3500a8d9668a6e3671c echo x - libsbml/distinfo sed 's/^X//' >libsbml/distinfo << 'af9028e3115de59f3b8db156d13c1a9d' XMD5 (libsbml-3.3.2-src.zip) = f8b3ff297848f8cf0918c065f8a65133 XSHA256 (libsbml-3.3.2-src.zip) = 5ebd8a57679fda954032e44111fdbcb8dc8598037354962d82a1742b621505d4 XSIZE (libsbml-3.3.2-src.zip) = 7076694 af9028e3115de59f3b8db156d13c1a9d echo x - libsbml/Makefile sed 's/^X//' >libsbml/Makefile << '8e735ae2a3fcd31385ef1ac79bfbff57' X# New ports collection makefile for: libsbml X# Date created: 29 May, 2009 X# Whom: Wen Heping X# X# $FreeBSD$ X# X XPORTNAME= libsbml XPORTVERSION= 3.3.2 XCATEGORIES= biology devel XMASTER_SITES= SF XMASTER_SITE_SUBDIR= sbml XDISTNAME= ${PORTNAME}-${PORTVERSION}-src X XMAINTAINER= wenheping@gmail.com XCOMMENT= An API Library for Working with SBML File X XLIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 X XOPTIONS= PYTHON "Support for Python" off \ X RUBY "Support for Ruby" off X XUSE_GMAKE= yes XUSE_ZIP= yes XGNU_CONFIGURE= yes XUSE_LDCONFIG= yes XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} X X.include X.if defined(WITH_PYTHON) X.include "../../Mk/bsd.python.mk" XBUILD_DEPENDS+= ${LOCALBASE}/bin/python:${PORTSDIR}/lang/python XCONFIGURE_ARGS+= --with-python XPLIST_SUB+= WITH_PYTHON="" \ X SBML_EGGINFO=${PORTNAME}-${PORTVERSION}-${PYTHON_VERSION:S/thon//}.egg-info X.else XPLIST_SUB+= WITH_PYTHON="@comment " X.endif X X.if defined(WITH_RUBY) X.include "../../Mk/bsd.ruby.mk" XBUILD_DEPENDS+= ${LOCALBASE}/bin/ruby:${PORTSDIR}/lang/ruby18 XCONFIGURE_ARGS+= --with-ruby XPLIST_SUB+= WITH_RUBY="" X.else XPLIST_SUB+= WITH_RUBY="@comment " X.endif X Xpost-install: X.if !defined(NOPORTEXAMPLES) X ${MKDIR} ${EXAMPLESDIR} X cd ${WRKSRC}/examples \ X && ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/\{} \; \ X && ${FIND} . -type f -exec ${INSTALL_DATA} \{} ${EXAMPLESDIR}/\{} \; X.endif X.include 8e735ae2a3fcd31385ef1ac79bfbff57 echo c - libsbml/files mkdir -p libsbml/files > /dev/null 2>&1 echo x - libsbml/files/patch-Makefile.in sed 's/^X//' >libsbml/files/patch-Makefile.in << 'd0c1c9def7b9bfdd641ba59b50e94134' X--- Makefile.in.orig 2009-05-27 23:09:33.000000000 +0800 X+++ Makefile.in 2009-05-27 23:33:47.000000000 +0800 X@@ -413,7 +413,7 @@ X endif X X install-pc: libsbml.pc X- $(INSTALL_SH) libsbml.pc -m 0644 "$(DESTDIR)$(LIBDIR)/pkgconfig/libsbml.pc" X+ $(INSTALL_SH) libsbml.pc -m 0644 "/usr/local/libdata/pkgconfig/libsbml.pc" X X install-la: libsbml.la X ifeq "$(HOST_TYPE)" "cygwin" X@@ -449,17 +449,17 @@ X $(warning $(uninstall-warning-msg)) X X uninstall-libsbml-pc: X- @target="$(DESTDIR)$(LIBDIR)/pkgconfig/libsbml.pc"; \ X+ @target="/usr/local/libdata/pkgconfig/libsbml.pc"; \ X if test -f $$target ; then \ X echo rm $$target; \ X rm $$target; \ X fi; \ X- if test -d "$(DESTDIR)$(LIBDIR)/pkgconfig"; then \ X+ if test -d "/usr/local/libdata/pkgconfig"; then \ X if test -n "`find $(DESTDIR)$(LIBDIR) -maxdepth 0 -empty`"; then \ X- echo rmdir "$(DESTDIR)$(LIBDIR)/pkgconfig"; \ X- rmdir "$(DESTDIR)$(LIBDIR)/pkgconfig"; \ X+ echo rmdir "/usr/local/libdata/pkgconfig"; \ X+ rmdir "/usr/local/libdata/pkgconfig"; \ X else \ X- echo "Directory $(DESTDIR)$(LIBDIR)/pkgconfig not empty; leaving it alone"; \ X+ echo "Directory /usr/local/libdata/pkgconfig not empty; leaving it alone"; \ X fi; \ X fi; X d0c1c9def7b9bfdd641ba59b50e94134 exit