ports/120299: [MAINTAINER] science/cdo: update to 1.1.0

Sunpoet Po-Chuan Hsieh sunpoet at sunpoet.net
Tue Feb 5 18:20:01 UTC 2008


>Number:         120299
>Category:       ports
>Synopsis:       [MAINTAINER] science/cdo: update to 1.1.0
>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:   Tue Feb 05 18:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 6.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD IRIS.sunpoet.net 6.3-STABLE FreeBSD 6.3-STABLE #12: Sun Jan 20 02:27:29 CST 2008
>Description:
- Update to 1.1.0

Added file(s):
- files/patch-src-Makefile.in

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

--- cdo-1.1.0.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/science/cdo/Makefile /usr/ports/sunpoet/cdo/Makefile
--- /usr/ports/science/cdo/Makefile	2007-10-26 12:41:14.000000000 +0800
+++ /usr/ports/sunpoet/cdo/Makefile	2008-02-01 14:59:03.000000000 +0800
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	cdo
-PORTVERSION=	1.0.9
+PORTVERSION=	1.1.0
 CATEGORIES=	science
 MASTER_SITES=	http://www.mpimet.mpg.de/fileadmin/software/cdo/ \
 		http://sunpoet.net/distfiles/
@@ -25,8 +25,9 @@
 
 PLIST_FILES=	bin/cdo bin/cdotest
 
-OPTIONS=	HDF5	"HDF5 support" off \
-		NETCDF	"NETCDF support" off
+OPTIONS=	HDF5	"HDF5 support"		off \
+		NETCDF	"NETCDF support"	off \
+		TEST	"Test CDO"		on
 
 .include <bsd.port.pre.mk>
 
@@ -44,6 +45,11 @@
 LIB_DEPENDS+=		netcdf.4:${PORTSDIR}/science/netcdf
 .endif
 
+.if !defined(WITHOUT_TEST)
+post-build:
+	cd "${WRKSRC}/src" && env CDO_PATH="${WRKSRC}/src/cdo" "${WRKSRC}/src/cdotest"
+.endif
+
 post-install:
 	@${CAT} ${PKGMESSAGE}
 
diff -ruN --exclude=CVS /usr/ports/science/cdo/distinfo /usr/ports/sunpoet/cdo/distinfo
--- /usr/ports/science/cdo/distinfo	2007-10-26 12:41:14.000000000 +0800
+++ /usr/ports/sunpoet/cdo/distinfo	2008-01-29 09:47:34.000000000 +0800
@@ -1,3 +1,3 @@
-MD5 (cdo-1.0.9.tar.gz) = daec09bb72336a6838f624d56bc57beb
-SHA256 (cdo-1.0.9.tar.gz) = 2d9df55c50caa7e7a8d8245c772b2242b79c4e770c272f78dcf9ba95b380946f
-SIZE (cdo-1.0.9.tar.gz) = 2383922
+MD5 (cdo-1.1.0.tar.gz) = 1b50c3e3dfa75bbf6f293e16facbcf67
+SHA256 (cdo-1.1.0.tar.gz) = 7ee16595ac1b9827787490aa6b70a903bf4f870be5ce767c3fe2062519088a88
+SIZE (cdo-1.1.0.tar.gz) = 2406322
diff -ruN --exclude=CVS /usr/ports/science/cdo/files/patch-src-Makefile.in /usr/ports/sunpoet/cdo/files/patch-src-Makefile.in
--- /usr/ports/science/cdo/files/patch-src-Makefile.in	1970-01-01 08:00:00.000000000 +0800
+++ /usr/ports/sunpoet/cdo/files/patch-src-Makefile.in	2008-02-01 09:38:04.000000000 +0800
@@ -0,0 +1,13 @@
+--- src/Makefile.in.orig	2008-01-04 20:42:09.000000000 +0800
++++ src/Makefile.in	2008-01-31 20:06:47.000000000 +0800
+@@ -37,8 +37,8 @@
+ PRE_UNINSTALL = :
+ POST_UNINSTALL = :
+ host_triplet = @host@
+-bin_PROGRAMS = cdo$(EXEEXT)
+-noinst_PROGRAMS = cdotest$(EXEEXT)
++bin_PROGRAMS = cdo$(EXEEXT) cdotest$(EXEEXT)
++noinst_PROGRAMS = 
+ subdir = src
+ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+ 	$(srcdir)/config.h.in
--- cdo-1.1.0.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list