ports/146326: [MAINTAINER] science/cdo: update to 1.4.3

Sunpoet Po-Chuan Hsieh sunpoet at sunpoet.net
Wed May 5 12:11:13 UTC 2010


>Number:         146326
>Category:       ports
>Synopsis:       [MAINTAINER] science/cdo: update to 1.4.3
>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 May 05 12:10:03 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: Wed May  5 00:44:42 CST
>Description:
- Update to 1.4.3
- Update MASTER_SITES, WWW

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

--- cdo-1.4.3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/science/cdo/Makefile /usr/ports/sunpoet/cdo/Makefile
--- /usr/ports/science/cdo/Makefile	2010-02-09 08:42:17.000000000 +0800
+++ /usr/ports/sunpoet/cdo/Makefile	2010-04-21 21:27:49.000000000 +0800
@@ -7,9 +7,9 @@
 #
 
 PORTNAME=		cdo
-PORTVERSION=		1.4.1
+PORTVERSION=		1.4.3
 CATEGORIES=		science
-MASTER_SITES=		http://www.mpimet.mpg.de/fileadmin/software/cdo/ \
+MASTER_SITES=		https://code.zmaw.de/attachments/download/76/ \
 			http://sunpoet.net/distfiles/
 
 MAINTAINER=		sunpoet at sunpoet.net
@@ -28,9 +28,10 @@
 HDF5_VER?=		18
 
 OPTIONS=		HDF5	"HDF5 support"		on \
-			JASPER	"Japser support"	on \
+			JASPER	"Japser support"	off \
 			NETCDF	"NetCDF support"	on \
-			PROJ	"PROJ support"		on
+			PROJ	"PROJ support"		on \
+			SZIP	"SZIP support"		on
 
 .include <bsd.port.pre.mk>
 
@@ -38,17 +39,18 @@
 CONFIGURE_ENV+=	CFLAGS="${CFLAGS} -DPTHREAD_MUTEXATTR_CONDATTR"
 .endif
 
-.if (defined(WITH_NETCDF) && defined(WITH_HDF5) && (${NETCDF_VER} == 4) && (${HDF5_VER} == 16))
+.if (!defined(WITHOUT_NETCDF) && !defined(WITHOUT_HDF5) && (${NETCDF_VER} == 4) && (${HDF5_VER} == 16))
 IGNORE=netCDF 4 requires HDF5 1.8.
 .endif
 
-.if defined(WITH_NETCDF) && (${NETCDF_VER} == 4)
+.if !defined(WITHOUT_NETCDF) && (${NETCDF_VER} == 4)
 HDF5_VER=		18
 WITH_HDF5=		yes
 .endif
 
-.if defined(WITH_HDF5)
+.if !defined(WITHOUT_HDF5)
 CONFIGURE_ARGS+=	--with-hdf5=${LOCALBASE} --with-zlib=/usr
+WITH_SZIP=		yes
 .if (${HDF5_VER} == 18)
 LIB_DEPENDS+=		hdf5.6:${PORTSDIR}/science/hdf5-18
 .else
@@ -63,7 +65,7 @@
 .else
 .endif
 
-.if defined(WITH_NETCDF)
+.if !defined(WITHOUT_NETCDF)
 CONFIGURE_ARGS+=	--with-netcdf=${LOCALBASE}
 EXTRA_PATCHES+=		${FILESDIR}/extra-patch-src-Makefile.in
 .if (${NETCDF_VER} == 4)
@@ -74,13 +76,18 @@
 PLIST_FILES+=		bin/cdotest
 .endif
 
-.if defined(WITH_PROJ)
+.if !defined(WITHOUT_PROJ)
 CONFIGURE_ARGS+=	--with-proj=${LOCALBASE}
 LIB_DEPENDS+=		proj.6:${PORTSDIR}/graphics/proj
 .endif
 
+.if !defined(WITHOUT_SZIP)
+CONFIGURE_ARGS+=	--with-szlib=${LOCALBASE}
+LIB_DEPENDS+=		sz.2:${PORTSDIR}/science/szip
+.endif
+
 post-build:
-.if defined(WITH_NETCDF)
+.if !defined(WITHOUT_NETCDF)
 	@cd "${WRKSRC}/src" && ${SETENV} CDO_PATH="${WRKSRC}/src/cdo" "${WRKSRC}/src/cdotest"
 .endif
 
diff -ruN --exclude=CVS /usr/ports/science/cdo/distinfo /usr/ports/sunpoet/cdo/distinfo
--- /usr/ports/science/cdo/distinfo	2010-02-09 08:42:17.000000000 +0800
+++ /usr/ports/sunpoet/cdo/distinfo	2010-03-08 16:17:03.000000000 +0800
@@ -1,3 +1,3 @@
-MD5 (cdo-1.4.1.tar.gz) = 774b8de3d537a1049e446ffdb50d55f1
-SHA256 (cdo-1.4.1.tar.gz) = 139de46904890a990879762d14cfdbea4108eb1dfbb859fc745b3eb236747a0c
-SIZE (cdo-1.4.1.tar.gz) = 2652758
+MD5 (cdo-1.4.3.tar.gz) = 5c7928728bd930e7802c516ff099208f
+SHA256 (cdo-1.4.3.tar.gz) = 622def270089bea3ed5045635c8af812049a71ba19790f6509fbceb90a9ea921
+SIZE (cdo-1.4.3.tar.gz) = 2669926
diff -ruN --exclude=CVS /usr/ports/science/cdo/files/extra-patch-src-Makefile.in /usr/ports/sunpoet/cdo/files/extra-patch-src-Makefile.in
--- /usr/ports/science/cdo/files/extra-patch-src-Makefile.in	2008-04-12 09:35:21.000000000 +0800
+++ /usr/ports/sunpoet/cdo/files/extra-patch-src-Makefile.in	2010-03-08 16:22:07.000000000 +0800
@@ -1,9 +1,9 @@
---- src/Makefile.in.orig	2008-04-04 15:08:17.000000000 +0800
-+++ src/Makefile.in	2008-04-12 00:44:30.000000000 +0800
-@@ -33,8 +33,8 @@
+--- src/Makefile.in.orig	2010-02-19 18:34:19.000000000 +0800
++++ src/Makefile.in	2010-03-08 16:21:37.000000000 +0800
+@@ -32,8 +32,8 @@
+ POST_UNINSTALL = :
  build_triplet = @build@
  host_triplet = @host@
- target_triplet = @target@
 -bin_PROGRAMS = cdo$(EXEEXT)
 -noinst_PROGRAMS = cdotest$(EXEEXT)
 +bin_PROGRAMS = cdo$(EXEEXT) cdotest$(EXEEXT)
diff -ruN --exclude=CVS /usr/ports/science/cdo/pkg-descr /usr/ports/sunpoet/cdo/pkg-descr
--- /usr/ports/science/cdo/pkg-descr	2006-06-11 16:41:34.000000000 +0800
+++ /usr/ports/sunpoet/cdo/pkg-descr	2010-03-08 16:17:59.000000000 +0800
@@ -20,4 +20,4 @@
 * Vertical interpolation (ml2pl, ml2hl)
 * Time interpolation (inttime, intyear)
 
-WWW: http://www.mpimet.mpg.de/fileadmin/software/cdo/
+WWW:	https://code.zmaw.de/projects/cdo
--- cdo-1.4.3.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list