From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Aug 11 02:10:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A71A2106568D for ; Tue, 11 Aug 2009 02:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 83D7E8FC3A for ; Tue, 11 Aug 2009 02:10:02 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7B2A2JG026854 for ; Tue, 11 Aug 2009 02:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7B2A2DD026853; Tue, 11 Aug 2009 02:10:02 GMT (envelope-from gnats) Resent-Date: Tue, 11 Aug 2009 02:10:02 GMT Resent-Message-Id: <200908110210.n7B2A2DD026853@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Wen Heping Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB6B21065672 for ; Tue, 11 Aug 2009 02:03:13 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id DA4FA8FC1E for ; Tue, 11 Aug 2009 02:03:13 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n7B23DFq030287 for ; Tue, 11 Aug 2009 02:03:13 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n7B23Dpd030286; Tue, 11 Aug 2009 02:03:13 GMT (envelope-from nobody) Message-Id: <200908110203.n7B23Dpd030286@www.freebsd.org> Date: Tue, 11 Aug 2009 02:03:13 GMT From: Wen Heping To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/137652: [Maintainer Update]biology/libsbml:update to 3.4.1 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Aug 2009 02:10:03 -0000 >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@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@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: