Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 2009 07:09:20 +0800 (CST)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/130721: [PATCH] math/p5-NetCDF: update to 1.2.3
Message-ID:  <20090118230920.A7E03140B@sunpoet.net>
Resent-Message-ID: <200901182310.n0INA2Mu080589@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         130721
>Category:       ports
>Synopsis:       [PATCH] math/p5-NetCDF: update to 1.2.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 18 23:10:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 7.1-STABLE amd64
>Organization:
SUNPOET.net
>Environment:
System: FreeBSD bonjour.sunpoet.net 7.1-STABLE FreeBSD 7.1-STABLE #0: Thu Jan 15 02:48:34 CST 2009
>Description:
- Update to 1.2.3
- Add support for netCDF 4

Port maintainer (rand@meridian-enviro.com) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-NetCDF-1.2.3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/math/p5-NetCDF/Makefile /usr/ports/sunpoet/p5-NetCDF/Makefile
--- /usr/ports/math/p5-NetCDF/Makefile	2007-04-10 11:08:58.000000000 +0800
+++ /usr/ports/sunpoet/p5-NetCDF/Makefile	2009-01-19 06:55:38.718633620 +0800
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	NetCDF
-PORTVERSION=	1.2.2
-PORTREVISION=	1
+PORTVERSION=	1.2.3
 CATEGORIES=	math perl5
 MASTER_SITES=	ftp://ftp.unidata.ucar.edu/pub/netcdf-perl/
 PKGNAMEPREFIX=	p5-
@@ -17,7 +16,13 @@
 MAINTAINER=	rand@meridian-enviro.com
 COMMENT=	Perl5 module to read and write netCDF files
 
+NETCDF_VER?=	4
+
+.if (${NETCDF_VER} == 4)
+LIB_DEPENDS=	netcdf.5:${PORTSDIR}/science/netcdf4
+.else
 LIB_DEPENDS=	netcdf.4:${PORTSDIR}/science/netcdf
+.endif
 
 USE_PERL5=	yes
 
diff -ruN --exclude=CVS /usr/ports/math/p5-NetCDF/distinfo /usr/ports/sunpoet/p5-NetCDF/distinfo
--- /usr/ports/math/p5-NetCDF/distinfo	2006-01-22 20:56:38.000000000 +0800
+++ /usr/ports/sunpoet/p5-NetCDF/distinfo	2009-01-19 06:25:01.138663260 +0800
@@ -1,3 +1,3 @@
-MD5 (netcdf-perl-1.2.2.tar.Z) = 81f068cc62d976e116091cbe87ea5415
-SHA256 (netcdf-perl-1.2.2.tar.Z) = 2e47433b736e82fae5802c66aefc7d1d8e8c40672fbe3ba4de6909302a962872
-SIZE (netcdf-perl-1.2.2.tar.Z) = 93297
+MD5 (netcdf-perl-1.2.3.tar.Z) = 936c91794d82ff8cfe2a955d4cad4c27
+SHA256 (netcdf-perl-1.2.3.tar.Z) = 64a593982825885b2c8561b65cc8e9e8ecae1a9caae69450be874ce2d4137fa2
+SIZE (netcdf-perl-1.2.3.tar.Z) = 93929
--- p5-NetCDF-1.2.3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090118230920.A7E03140B>