Date: Sat, 22 Jun 2019 21:48:14 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r504890 - head/biology/libsbml Message-ID: <201906222148.x5MLmEIN076766@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sat Jun 22 21:48:14 2019 New Revision: 504890 URL: https://svnweb.freebsd.org/changeset/ports/504890 Log: Use USES=pathfix - Add USES=gnome - Use = instead of += for PLIST_SUB - Use CMAKE_BOOL - Cosmetic change - Take maintainership Modified: head/biology/libsbml/Makefile Modified: head/biology/libsbml/Makefile ============================================================================== --- head/biology/libsbml/Makefile Sat Jun 22 21:21:00 2019 (r504889) +++ head/biology/libsbml/Makefile Sat Jun 22 21:48:14 2019 (r504890) @@ -4,52 +4,45 @@ PORTNAME= libsbml PORTVERSION= 5.18.0 CATEGORIES= biology devel -MASTER_SITES= SF/sbml/${PORTNAME}/${PORTVERSION}/stable +MASTER_SITES= SF/sbml/libsbml/${PORTVERSION}/stable DISTNAME= libSBML-${PORTVERSION}-core-src -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= API Library for Working with SBML File LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING.txt -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +USES= cmake gnome iconv:build pathfix +USE_GNOME= libxml2 -USES= cmake iconv:build USE_CXXSTD= c++98 -USE_GNOME= libxml2 USE_LDCONFIG= yes +WRKSRC= ${WRKDIR}/libsbml-${PORTVERSION} -CFLAGS+= -I${ICONV_PREFIX}/include -LDFLAGS+= -L${ICONV_PREFIX}/lib +PLIST_SUB= PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= EXAMPLES PYTHON RUBY OPTIONS_SUB= yes -PLIST_SUB+= PORTVERSION=${PORTVERSION} PYTHON_BUILD_DEPENDS= swig3.0:devel/swig30 PYTHON_USES= python:2.7 -PYTHON_CMAKE_ON= -DWITH_PYTHON:BOOL=ON \ - -DPYTHON_INCLUDE_DIR:STRING="${PYTHON_INCLUDEDIR}" \ - -DPYTHON_LIBRARY:STRING="${PYTHONBASE}/lib/lib${PYTHON_VERSION}.so" \ - -DPYTHON_EXECUTABLE:STRING="${PYTHON_CMD}" +PYTHON_CMAKE_BOOL= WITH_PYTHON +PYTHON_CMAKE_ON= -DPYTHON_EXECUTABLE="${PYTHON_CMD}" \ + -DPYTHON_INCLUDE_DIR="${PYTHON_INCLUDEDIR}" \ + -DPYTHON_LIBRARY="${PYTHONBASE}/lib/lib${PYTHON_VERSION}.so" PYTHON_BINARY_ALIAS= swig=swig3.0 - RUBY_BUILD_DEPENDS= swig3.0:devel/swig30 RUBY_USE= ruby=yes -RUBY_CMAKE_ON= -DWITH_RUBY:BOOL=ON +RUBY_CMAKE_BOOL= WITH_RUBY RUBY_BINARY_ALIAS= swig=swig3.0 post-patch: - @${REINPLACE_CMD} -e \ - 's|/usr/local/include|${LOCALBASE}/include| ; \ - s|/usr/local/lib|${LOCALBASE}/lib| ; \ - s|$${CMAKE_INSTALL_LIBDIR}/pkgconfig|libdata/pkgconfig| ; \ - /$${DOCUMENTATION_FILES}/s|^|#|' ${WRKSRC}/CMakeLists.txt + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g; /$${DOCUMENTATION_FILES}/ s|^|#|' ${WRKSRC}/CMakeLists.txt +# -e 's|$${CMAKE_INSTALL_LIBDIR}/pkgconfig|libdata/pkgconfig|' post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . \ - ${STAGEDIR}${EXAMPLESDIR} '! -name *Makefile*' + cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} '! -name *Makefile*' .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906222148.x5MLmEIN076766>