Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  3 Feb 2010 15:12:50 +0800 (CST)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/143516: [MAINTAINER] science/cdo: update to 1.4.1
Message-ID:  <20100203071250.3D98F2AEC5A4@sunpoet.net>
Resent-Message-ID: <201002030720.o137Kakg049457@freefall.freebsd.org>

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

>Number:         143516
>Category:       ports
>Synopsis:       [MAINTAINER] science/cdo: update to 1.4.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 03 07:20:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 8.0-STABLE amd64
>Organization:
SUNPOET.net
>Environment:
System: FreeBSD bonjour.sunpoet.net 8.0-STABLE FreeBSD 8.0-STABLE #0: Fri Jan 29 07:25:49 CST 2010
>Description:
- Update to 1.4.1

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

--- cdo-1.4.1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/science/cdo/Makefile /usr/ports/sunpoet/cdo/Makefile
--- /usr/ports/science/cdo/Makefile	2009-11-30 00:51:54.000000000 +0800
+++ /usr/ports/sunpoet/cdo/Makefile	2010-02-03 15:12:40.000000000 +0800
@@ -7,8 +7,7 @@
 #
 
 PORTNAME=		cdo
-PORTVERSION=		1.3.1
-PORTREVISION=		2
+PORTVERSION=		1.4.1
 CATEGORIES=		science
 MASTER_SITES=		http://www.mpimet.mpg.de/fileadmin/software/cdo/ \
 			http://sunpoet.net/distfiles/
@@ -29,6 +28,7 @@
 HDF5_VER?=		18
 
 OPTIONS=		HDF5	"HDF5 support"		on \
+			JASPER	"Japser support"	on \
 			NETCDF	"NetCDF support"	on \
 			PROJ	"PROJ support"		on
 
@@ -42,17 +42,9 @@
 IGNORE=netCDF 4 requires HDF5 1.8.
 .endif
 
-.if defined(WITH_NETCDF)
-CONFIGURE_ARGS+=	--with-netcdf=${LOCALBASE}
-EXTRA_PATCHES+=		${FILESDIR}/extra-patch-src-Makefile.in
-.if (${NETCDF_VER} == 4)
+.if defined(WITH_NETCDF) && (${NETCDF_VER} == 4)
 HDF5_VER=		18
 WITH_HDF5=		yes
-LIB_DEPENDS+=		netcdf.6:${PORTSDIR}/science/netcdf4
-.else
-LIB_DEPENDS+=		netcdf.4:${PORTSDIR}/science/netcdf
-.endif
-PLIST_FILES+=		bin/cdotest
 .endif
 
 .if defined(WITH_HDF5)
@@ -64,6 +56,24 @@
 .endif
 .endif
 
+.if defined(WITH_JASPER)
+CONFIGURE_ARGS+=	--with-jasper=${LOCALBASE}
+LIB_DEPENDS+=		jasper:${PORTSDIR}/graphics/jasper
+PLIST_SUB+=		JPEG2000=""
+.else
+.endif
+
+.if defined(WITH_NETCDF)
+CONFIGURE_ARGS+=	--with-netcdf=${LOCALBASE}
+EXTRA_PATCHES+=		${FILESDIR}/extra-patch-src-Makefile.in
+.if (${NETCDF_VER} == 4)
+LIB_DEPENDS+=		netcdf.6:${PORTSDIR}/science/netcdf4
+.else
+LIB_DEPENDS+=		netcdf.4:${PORTSDIR}/science/netcdf
+.endif
+PLIST_FILES+=		bin/cdotest
+.endif
+
 .if defined(WITH_PROJ)
 CONFIGURE_ARGS+=	--with-proj=${LOCALBASE}
 LIB_DEPENDS+=		proj.6:${PORTSDIR}/graphics/proj
diff -ruN --exclude=CVS /usr/ports/science/cdo/distinfo /usr/ports/sunpoet/cdo/distinfo
--- /usr/ports/science/cdo/distinfo	2009-06-24 09:53:00.000000000 +0800
+++ /usr/ports/sunpoet/cdo/distinfo	2010-01-24 05:22:08.000000000 +0800
@@ -1,3 +1,3 @@
-MD5 (cdo-1.3.1.tar.gz) = 98f81bf86e47573bc0d2ba700fc7400a
-SHA256 (cdo-1.3.1.tar.gz) = 18d481e56d7cafe78c1951834056329e3d9d97ceb4940833ba5a0f0eecae3775
-SIZE (cdo-1.3.1.tar.gz) = 2613036
+MD5 (cdo-1.4.1.tar.gz) = 774b8de3d537a1049e446ffdb50d55f1
+SHA256 (cdo-1.4.1.tar.gz) = 139de46904890a990879762d14cfdbea4108eb1dfbb859fc745b3eb236747a0c
+SIZE (cdo-1.4.1.tar.gz) = 2652758
--- cdo-1.4.1.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?20100203071250.3D98F2AEC5A4>