ports/137652: [Maintainer Update]biology/libsbml:update to 3.4.1
Wen Heping
wenheping at gmail.com
Tue Aug 11 02:10:03 UTC 2009
>Number: 137652
>Category: ports
>Synopsis: [Maintainer Update]biology/libsbml:update to 3.4.1
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Aug 11 02:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Wen Heping
>Release: FreeBSD 8.0-Current
>Organization:
ChangAn Middle School
>Environment:
FreeBSD fb8.wenjing.com 8.0-CURRENT FreeBSD 8.0-CURRENT #4: Fri Apr 10 16:36:28 HKT 2009 root at fb8.wenjing.com:/usr/obj/usr/src/sys/wen1 i386
>Description:
update to 3.4.1 from 3.3.2
fix the build error with CUSTOM PREFIX
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -urN libsbml/Makefile libsbml.new/Makefile
--- libsbml/Makefile 2009-05-29 07:36:10.000000000 +0800
+++ libsbml.new/Makefile 2009-08-11 17:34:38.000000000 +0800
@@ -6,7 +6,7 @@
#
PORTNAME= libsbml
-PORTVERSION= 3.3.2
+PORTVERSION= 3.4.1
CATEGORIES= biology devel
MASTER_SITES= SF
MASTER_SITE_SUBDIR= sbml
@@ -15,6 +15,7 @@
MAINTAINER= wenheping at gmail.com
COMMENT= An API Library for Working with SBML File
+FETCH_ARGS= -Rr
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2
OPTIONS= PYTHON "Support for Python" off \
@@ -46,6 +47,10 @@
PLIST_SUB+= WITH_RUBY="@comment "
.endif
+post-patch:
+ ${REINPLACE_CMD} -e 's#%%PREFIX%%#${PREFIX}#' \
+ ${WRKSRC}/Makefile.in
+
post-install:
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
diff -urN libsbml/distinfo libsbml.new/distinfo
--- libsbml/distinfo 2009-05-27 22:20:43.000000000 +0800
+++ libsbml.new/distinfo 2009-08-11 17:34:38.000000000 +0800
@@ -1,3 +1,3 @@
-MD5 (libsbml-3.3.2-src.zip) = f8b3ff297848f8cf0918c065f8a65133
-SHA256 (libsbml-3.3.2-src.zip) = 5ebd8a57679fda954032e44111fdbcb8dc8598037354962d82a1742b621505d4
-SIZE (libsbml-3.3.2-src.zip) = 7076694
+MD5 (libsbml-3.4.1-src.zip) = dc6b963e9437a0dce95df51cb8dcdcc2
+SHA256 (libsbml-3.4.1-src.zip) = 14c39974efa7cd218a4625ef240c888dbac63f2e5657ded9b1eb20e4c6751262
+SIZE (libsbml-3.4.1-src.zip) = 7352277
diff -urN libsbml/files/patch-Makefile.in libsbml.new/files/patch-Makefile.in
--- libsbml/files/patch-Makefile.in 2009-05-27 23:33:53.000000000 +0800
+++ libsbml.new/files/patch-Makefile.in 2009-08-11 17:34:38.000000000 +0800
@@ -5,7 +5,7 @@
install-pc: libsbml.pc
- $(INSTALL_SH) libsbml.pc -m 0644 "$(DESTDIR)$(LIBDIR)/pkgconfig/libsbml.pc"
-+ $(INSTALL_SH) libsbml.pc -m 0644 "/usr/local/libdata/pkgconfig/libsbml.pc"
++ $(INSTALL_SH) libsbml.pc -m 0644 "%%PREFIX%%/libdata/pkgconfig/libsbml.pc"
install-la: libsbml.la
ifeq "$(HOST_TYPE)" "cygwin"
@@ -14,21 +14,21 @@
uninstall-libsbml-pc:
- @target="$(DESTDIR)$(LIBDIR)/pkgconfig/libsbml.pc"; \
-+ @target="/usr/local/libdata/pkgconfig/libsbml.pc"; \
++ @target="%%PREFIX%%/libdata/pkgconfig/libsbml.pc"; \
if test -f $$target ; then \
echo rm $$target; \
rm $$target; \
fi; \
- if test -d "$(DESTDIR)$(LIBDIR)/pkgconfig"; then \
-+ if test -d "/usr/local/libdata/pkgconfig"; then \
++ if test -d "%%PREFIX%%/libdata/pkgconfig"; then \
if test -n "`find $(DESTDIR)$(LIBDIR) -maxdepth 0 -empty`"; then \
- echo rmdir "$(DESTDIR)$(LIBDIR)/pkgconfig"; \
- rmdir "$(DESTDIR)$(LIBDIR)/pkgconfig"; \
-+ echo rmdir "/usr/local/libdata/pkgconfig"; \
-+ rmdir "/usr/local/libdata/pkgconfig"; \
++ echo rmdir "%%PREFIX%%/libdata/pkgconfig"; \
++ rmdir "%%PREFIX%%/libdata/pkgconfig"; \
else \
- echo "Directory $(DESTDIR)$(LIBDIR)/pkgconfig not empty; leaving it alone"; \
-+ echo "Directory /usr/local/libdata/pkgconfig not empty; leaving it alone"; \
++ echo "Directory %%PREFIX%%/libdata/pkgconfig not empty; leaving it alone"; \
fi; \
fi;
diff -urN libsbml/pkg-plist libsbml.new/pkg-plist
--- libsbml/pkg-plist 2009-05-29 01:06:37.000000000 +0800
+++ libsbml.new/pkg-plist 2009-08-11 17:34:38.000000000 +0800
@@ -17,6 +17,7 @@
include/sbml/SBMLError.h
include/sbml/SBMLErrorLog.h
include/sbml/SBMLErrorTable.h
+include/sbml/SBMLNamespaces.h
include/sbml/SBMLReader.h
include/sbml/SBMLTypeCodes.h
include/sbml/SBMLTypes.h
@@ -110,7 +111,7 @@
include/sbml/xml/XMLToken.h
include/sbml/xml/XMLTokenizer.h
include/sbml/xml/XMLTriple.h
-lib/libsbml.3.3.2.so
+lib/libsbml.3.4.1.so
lib/libsbml.so
lib/libsbml.a
@dirrm include/sbml/annotation
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list