diff options
Diffstat (limited to 'biology')
-rw-r--r-- | biology/libsbml/Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/biology/libsbml/Makefile b/biology/libsbml/Makefile index 2b476ebfbd2b..b99b21f5ee5d 100644 --- a/biology/libsbml/Makefile +++ b/biology/libsbml/Makefile @@ -13,8 +13,7 @@ COMMENT= API Library for Working with SBML File LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING.txt -USES= cmake gnome iconv:build pathfix -USE_GNOME= libxml2 +USES= cmake iconv:build pathfix USE_CXXSTD= c++98 USE_LDCONFIG= yes @@ -23,14 +22,26 @@ WRKSRC= ${WRKDIR}/libsbml-${PORTVERSION} PLIST_SUB= PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= EXAMPLES PYTHON RUBY +OPTIONS_SINGLE= XML +OPTIONS_SINGLE_XML= EXPAT LIBXML XERCES +OPTIONS_DEFAULT=LIBXML PYTHON OPTIONS_SUB= yes +LIBXML_DESC= XML parser support via libxml2 +EXPAT_CMAKE_BOOL= WITH_EXPAT +EXPAT_LIB_DEPENDS= libexpat.so:textproc/expat2 +LIBXML_CMAKE_BOOL= WITH_LIBXML +LIBXML_USE= GNOME=libxml2 +LIBXML_USES= gnome PYTHON_BUILD_DEPENDS= swig:devel/swig PYTHON_CMAKE_BOOL= WITH_PYTHON PYTHON_USES= python +PYTHON_CMAKE_ON= WITH_SWIG RUBY_BUILD_DEPENDS= swig:devel/swig RUBY_CMAKE_BOOL= WITH_RUBY RUBY_USE= ruby=yes +XERCES_CMAKE_BOOL= WITH_XERCES +XERCES_LIB_DEPENDS= libxerces-c.so:textproc/xerces-c3 post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/CMakeLists.txt |