From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Dec 4 11:40:01 2008 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 56B651065672 for ; Thu, 4 Dec 2008 11:40:01 +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 34C638FC1A for ; Thu, 4 Dec 2008 11:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mB4Be1pB040940 for ; Thu, 4 Dec 2008 11:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mB4Be1Vu040939; Thu, 4 Dec 2008 11:40:01 GMT (envelope-from gnats) Resent-Date: Thu, 4 Dec 2008 11:40:01 GMT Resent-Message-Id: <200812041140.mB4Be1Vu040939@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, Sunpoet Po-Chuan Hsieh Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64D1010656D7 for ; Thu, 4 Dec 2008 11:30:42 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: from sunpoet.net (sunpoet.net [203.204.205.212]) by mx1.freebsd.org (Postfix) with ESMTP id E775A8FC14 for ; Thu, 4 Dec 2008 11:30:41 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: by sunpoet.net (Postfix, from userid 1000) id AE650F1C; Thu, 4 Dec 2008 19:30:13 +0800 (CST) Message-Id: <20081204113013.AE650F1C@sunpoet.net> Date: Thu, 4 Dec 2008 19:30:13 +0800 (CST) From: Sunpoet Po-Chuan Hsieh To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/129418: [NEW PORT] science/netcdf4: Library for machine-independent, array-oriented data access 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: Thu, 04 Dec 2008 11:40:01 -0000 >Number: 129418 >Category: ports >Synopsis: [NEW PORT] science/netcdf4: Library for machine-independent, array-oriented data access >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Dec 04 11:40:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Sunpoet Po-Chuan Hsieh >Release: FreeBSD 7.1-PRERELEASE amd64 >Organization: SUNPOET.net >Environment: System: FreeBSD bonjour.sunpoet.net 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #12: Thu Sep 4 10:55:47 CST >Description: NetCDF (network Common Data Form) is an interface for array-oriented data access and a library that provides an implementation of the interface. The netCDF library also defines a machine-independent format for representing scientific data. Together, the interface, library, and format support the creation, access, and sharing of scientific data. The netCDF software was developed at the Unidata Program Center in Boulder, Colorado. WWW: http://www.unidata.ucar.edu/packages/netcdf/ Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- netcdf-4.0.shar begins here --- # 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: # # netcdf4 # netcdf4/pkg-message # netcdf4/pkg-descr # netcdf4/distinfo # netcdf4/Makefile # netcdf4/files # netcdf4/files/patch-Makefile.in # netcdf4/files/extra-patch-man4-Makefile.in # netcdf4/files/patch-libsrc4-nc4hdf.c # netcdf4/pkg-plist # echo c - netcdf4 mkdir -p netcdf4 > /dev/null 2>&1 echo x - netcdf4/pkg-message sed 's/^X//' >netcdf4/pkg-message << 'a7126ad1ec89b3871f27288862ac1cce' XCATUION: XThe netCDF ncgen utility does not yet handle enhanced model netCDF-4 features, Xlike groups and compound types. (Ncgen does handle netCDF-4/HDF5 files which Xdon't make use of the new expansion of the data model). Ncgen will be able to Xhandle such advanced features in the netCDF-4.1 release. a7126ad1ec89b3871f27288862ac1cce echo x - netcdf4/pkg-descr sed 's/^X//' >netcdf4/pkg-descr << '0fcee3b6fa9dae5c01798ee7677bf3b4' XNetCDF (network Common Data Form) is an interface for array-oriented Xdata access and a library that provides an implementation of the Xinterface. The netCDF library also defines a machine-independent Xformat for representing scientific data. Together, the interface, Xlibrary, and format support the creation, access, and sharing of Xscientific data. The netCDF software was developed at the Unidata XProgram Center in Boulder, Colorado. X XWWW: http://www.unidata.ucar.edu/packages/netcdf/ 0fcee3b6fa9dae5c01798ee7677bf3b4 echo x - netcdf4/distinfo sed 's/^X//' >netcdf4/distinfo << '1497ba94625132edfbb9e5ba5c765532' XMD5 (netcdf-4.0.tar.gz) = afc057b07b6e6843556dcfbc4ced402c XSHA256 (netcdf-4.0.tar.gz) = 4f6934fd862b2e0f5a6ddcd8ef5f86a03d8aebfd106bc09c97afc80fe2ad5c96 XSIZE (netcdf-4.0.tar.gz) = 11584002 1497ba94625132edfbb9e5ba5c765532 echo x - netcdf4/Makefile sed 's/^X//' >netcdf4/Makefile << '794e1aa6342c62a0c8c2b665ca41f730' X# New ports collection makefile for: netcdf4 X# Date created: 2008-11-11 X# Whom: Sunpoet Po-Chuan Hsieh X# X# $FreeBSD$ X# X XPORTNAME= netcdf XPORTVERSION= 4.0 XCATEGORIES= science XMASTER_SITES= http://www.unidata.ucar.edu/downloads/netcdf/ftp/ \ X ftp://ftp.unidata.ucar.edu/pub/netcdf/ \ X http://sunpoet.net/distfiles/ X XMAINTAINER= sunpoet@sunpoet.net XCOMMENT= Library for machine-independent, array-oriented data access X XCONFLICTS= hdf-4.* netcdf-3.* X XCONFIGURE_ARGS= --disable-f77 --disable-f90 \ X --enable-cxx --enable-cxx-4 --enable-netcdf-4 --enable-shared \ X --with-hdf5=${LOCALBASE} --with-zlib=/usr XCONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -fPIC -DPIC -Df2cFortran" XMAKE_ENV+= MAKEINFOFLAGS="--no-split" X XGNU_CONFIGURE= yes XUSE_LDCONFIG= yes X XLIB_DEPENDS+= hdf5.6:${PORTSDIR}/science/hdf5-18 X XINFO= netcdf netcdf-c netcdf-cxx netcdf-cxx4 netcdf-f77 \ X netcdf-f90 netcdf-install netcdf-tutorial X XMAN1= ncdump.1 ncgen.1 XMAN3= netcdf.3 X XOPTIONS= HDF5_CONVERT "Do data conversion through HDF5" off X X.if !defined(NOPORTDOCS) XCONFIGURE_ARGS+= --enable-docs-install X.else XCONFIGURE_ARGS+= --disable-docs-install XEXTRA_PATCHES+= ${FILESDIR}/extra-patch-man4-Makefile.in X.endif X X#.if !defined(NOPORTEXAMPLES) X#CONFIGURE_ARGS+= --enable-examples X#.else X#CONFIGURE_ARGS+= --disable-examples X#.endif X X.if defined(WITH_HDF5_CONVERT) XCONFIGURE_ARGS+= --enable-hdf5-convert X.endif X Xpost-configure: X cd ${WRKSRC}/man4 && make maintainer-clean-aminfo X.for i in ${INFO} X cd ${WRKSRC}/man4 && makeinfo --no-split ${i}.texi X.endfor X Xpost-install: X @${CAT} ${PKGMESSAGE} X Xregression-test: build X @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check X X.include 794e1aa6342c62a0c8c2b665ca41f730 echo c - netcdf4/files mkdir -p netcdf4/files > /dev/null 2>&1 echo x - netcdf4/files/patch-Makefile.in sed 's/^X//' >netcdf4/files/patch-Makefile.in << 'ceee293f88da3e8ffe22169e27277e13' X--- Makefile.in.orig 2008-06-30 03:34:16.000000000 +0800 X+++ Makefile.in 2008-12-03 22:32:58.462711313 +0800 X@@ -259,7 +259,7 @@ X @BUILD_C_TRUE@@USE_NETCDF4_TRUE@NC_TEST4 = nc_test4 X @BUILD_C_TRUE@@USE_NETCDF4_FALSE@MAN = man X @BUILD_C_TRUE@@USE_NETCDF4_TRUE@MAN = man4 X-@INSTALL_DOCS_TRUE@MAN = man X+# @INSTALL_DOCS_TRUE@MAN = man X X # Does the user want F90 API? X @BUILD_F90_TRUE@F90_DIR = f90 ceee293f88da3e8ffe22169e27277e13 echo x - netcdf4/files/extra-patch-man4-Makefile.in sed 's/^X//' >netcdf4/files/extra-patch-man4-Makefile.in << 'a14d68c11cb997920ed7bcc132a069f7' X--- man4/Makefile.in.orig 2008-06-30 03:34:14.000000000 +0800 X+++ man4/Makefile.in 2008-12-01 10:33:08.245819231 +0800 X@@ -707,14 +707,6 @@ X rm -f $$i $$i-[0-9] $$i-[0-9][0-9] $$i_i[0-9] $$i_i[0-9][0-9]; \ X done X install-docDATA: $(doc_DATA) X- @$(NORMAL_INSTALL) X- test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)" X- @list='$(doc_DATA)'; for p in $$list; do \ X- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ X- f=$(am__strip_dir) \ X- echo " $(docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \ X- $(docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \ X- done X X uninstall-docDATA: X @$(NORMAL_UNINSTALL) a14d68c11cb997920ed7bcc132a069f7 echo x - netcdf4/files/patch-libsrc4-nc4hdf.c sed 's/^X//' >netcdf4/files/patch-libsrc4-nc4hdf.c << '3bca9892ab2648fe747f03b29a8a5975' X--- libsrc4/nc4hdf.c.orig 2008-06-10 23:38:34.000000000 +0800 X+++ libsrc4/nc4hdf.c 2008-12-04 00:10:23.755371693 +0800 X@@ -465,6 +465,9 @@ X int need_to_extend = 0, fill_value_recs = 0; X int scalar = 0, retval = NC_NOERR, range_error = 0, i, d2; X void *bufr = NULL; X+#ifdef HDF5_CONVERT X+ H5T_conv_except_func_t except_func; X+#endif X #ifndef HDF5_CONVERT X int need_to_convert = 0; X size_t len = 1; 3bca9892ab2648fe747f03b29a8a5975 echo x - netcdf4/pkg-plist sed 's/^X//' >netcdf4/pkg-plist << '579eac0507d72d68707435c9ee13751a' Xbin/ncdump Xbin/ncgen Xinclude/ncvalues.h Xinclude/netcdf.h Xinclude/netcdf.hh Xinclude/netcdfcpp.h Xinclude/netcdfcpp4.h Xlib/libnetcdf.a Xlib/libnetcdf.la Xlib/libnetcdf.so Xlib/libnetcdf.so.5 Xlib/libnetcdf_c++.a Xlib/libnetcdf_c++.la Xlib/libnetcdf_c++.so Xlib/libnetcdf_c++.so.5 Xlib/libnetcdf_c++4.a Xlib/libnetcdf_c++4.la Xlib/libnetcdf_c++4.so Xlib/libnetcdf_c++4.so.1 X%%PORTDOCS%%%%DOCSDIR%%ncdump-man-1.html X%%PORTDOCS%%%%DOCSDIR%%ncgen-man-1.html X%%PORTDOCS%%%%DOCSDIR%%netcdf-c.html X%%PORTDOCS%%%%DOCSDIR%%netcdf-c.info X%%PORTDOCS%%%%DOCSDIR%%netcdf-c.pdf X%%PORTDOCS%%%%DOCSDIR%%netcdf-c.ps X%%PORTDOCS%%%%DOCSDIR%%netcdf-c.txt X%%PORTDOCS%%%%DOCSDIR%%netcdf-cxx.html X%%PORTDOCS%%%%DOCSDIR%%netcdf-cxx.info X%%PORTDOCS%%%%DOCSDIR%%netcdf-cxx.pdf X%%PORTDOCS%%%%DOCSDIR%%netcdf-cxx.ps X%%PORTDOCS%%%%DOCSDIR%%netcdf-cxx.txt X%%PORTDOCS%%%%DOCSDIR%%netcdf-cxx4.html X%%PORTDOCS%%%%DOCSDIR%%netcdf-cxx4.info X%%PORTDOCS%%%%DOCSDIR%%netcdf-cxx4.pdf X%%PORTDOCS%%%%DOCSDIR%%netcdf-cxx4.ps X%%PORTDOCS%%%%DOCSDIR%%netcdf-cxx4.txt X%%PORTDOCS%%%%DOCSDIR%%netcdf-f77.html X%%PORTDOCS%%%%DOCSDIR%%netcdf-f77.info X%%PORTDOCS%%%%DOCSDIR%%netcdf-f77.pdf X%%PORTDOCS%%%%DOCSDIR%%netcdf-f77.ps X%%PORTDOCS%%%%DOCSDIR%%netcdf-f77.txt X%%PORTDOCS%%%%DOCSDIR%%netcdf-f90.html X%%PORTDOCS%%%%DOCSDIR%%netcdf-f90.info X%%PORTDOCS%%%%DOCSDIR%%netcdf-f90.pdf X%%PORTDOCS%%%%DOCSDIR%%netcdf-f90.ps X%%PORTDOCS%%%%DOCSDIR%%netcdf-f90.txt X%%PORTDOCS%%%%DOCSDIR%%netcdf-install.html X%%PORTDOCS%%%%DOCSDIR%%netcdf-install.info X%%PORTDOCS%%%%DOCSDIR%%netcdf-install.pdf X%%PORTDOCS%%%%DOCSDIR%%netcdf-install.ps X%%PORTDOCS%%%%DOCSDIR%%netcdf-install.txt X%%PORTDOCS%%%%DOCSDIR%%netcdf-man-3.html X%%PORTDOCS%%%%DOCSDIR%%netcdf-tutorial.html X%%PORTDOCS%%%%DOCSDIR%%netcdf-tutorial.info X%%PORTDOCS%%%%DOCSDIR%%netcdf-tutorial.pdf X%%PORTDOCS%%%%DOCSDIR%%netcdf-tutorial.ps X%%PORTDOCS%%%%DOCSDIR%%netcdf-tutorial.txt X%%PORTDOCS%%%%DOCSDIR%%netcdf.html X%%PORTDOCS%%%%DOCSDIR%%netcdf.info X%%PORTDOCS%%%%DOCSDIR%%netcdf.pdf X%%PORTDOCS%%%%DOCSDIR%%netcdf.ps X%%PORTDOCS%%%%DOCSDIR%%netcdf.txt X%%PORTDOCS%%%%DOCSDIR%%netcdf_f77-man.html X%%PORTDOCS%%%%DOCSDIR%%netcdf_f90-man.html X%%PORTDOCS%%@dirrm %%DOCSDIR%% 579eac0507d72d68707435c9ee13751a exit --- netcdf-4.0.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: