From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jan 18 23:10:02 2009 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 7AC09106564A for ; Sun, 18 Jan 2009 23:10:02 +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 5C1968FC14 for ; Sun, 18 Jan 2009 23:10:02 +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 n0INA22P080548 for ; Sun, 18 Jan 2009 23:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n0INA2E3080547; Sun, 18 Jan 2009 23:10:02 GMT (envelope-from gnats) Resent-Date: Sun, 18 Jan 2009 23:10:02 GMT Resent-Message-Id: <200901182310.n0INA2E3080547@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 D2E841065672 for ; Sun, 18 Jan 2009 23:06:23 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: from sunpoet.net (123-204-189-131.adsl.dynamic.seed.net.tw [123.204.189.131]) by mx1.freebsd.org (Postfix) with ESMTP id 692338FC1A for ; Sun, 18 Jan 2009 23:06:23 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: by sunpoet.net (Postfix, from userid 1000) id 7F5341409; Mon, 19 Jan 2009 07:06:15 +0800 (CST) Message-Id: <20090118230615.7F5341409@sunpoet.net> Date: Mon, 19 Jan 2009 07:06:15 +0800 (CST) From: Sunpoet Po-Chuan Hsieh To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/130720: [MAINTAINER] science/cdo: update to 1.3.0 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: Sun, 18 Jan 2009 23:10:02 -0000 >Number: 130720 >Category: ports >Synopsis: [MAINTAINER] science/cdo: update to 1.3.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: Sun Jan 18 23:10:01 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.3.0 - Enable HDF5 1.8, netCDF 4 and proj by default - Reformat Makefile Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- cdo-1.3.0.patch begins here --- diff -ruN --exclude=CVS /usr/ports/science/cdo/Makefile /usr/ports/sunpoet/cdo/Makefile --- /usr/ports/science/cdo/Makefile 2009-01-07 12:50:40.400294565 +0800 +++ /usr/ports/sunpoet/cdo/Makefile 2009-01-19 07:01:35.294998493 +0800 @@ -6,26 +6,31 @@ # $FreeBSD: ports/science/cdo/Makefile,v 1.17 2009/01/06 17:59:17 pav Exp $ # -PORTNAME= cdo -PORTVERSION= 1.2.1 -CATEGORIES= science -MASTER_SITES= http://www.mpimet.mpg.de/fileadmin/software/cdo/ \ - http://sunpoet.net/distfiles/ - -MAINTAINER= sunpoet@sunpoet.net -COMMENT= Climate Data Operators - -GNU_CONFIGURE= yes - -CONFIGURE_ARGS= --program-transform-name="" -CONFIGURE_ENV= CC="${CC}" \ - CFLAGS="${CFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ - CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ - LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" - -PLIST_FILES= bin/cdo - -OPTIONS= NETCDF "NETCDF support" off +PORTNAME= cdo +PORTVERSION= 1.3.0 +CATEGORIES= science +MASTER_SITES= http://www.mpimet.mpg.de/fileadmin/software/cdo/ \ + http://sunpoet.net/distfiles/ + +MAINTAINER= sunpoet@sunpoet.net +COMMENT= Climate Data Operators + +GNU_CONFIGURE= yes + +CONFIGURE_ARGS= --program-transform-name="" +CONFIGURE_ENV= CC="${CC}" \ + CFLAGS="${CFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ + CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ + LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}" + +PLIST_FILES= bin/cdo + +NETCDF_VER?= 4 +HDF5_VER?= 18 + +OPTIONS= HDF5 "HDF5 support" on \ + NETCDF "NetCDF support" on \ + PROJ "PROJ support" on .include @@ -33,13 +38,37 @@ CONFIGURE_ENV+= CFLAGS="${CFLAGS} -DPTHREAD_MUTEXATTR_CONDATTR" .endif +.if (defined(WITH_NETCDF) && defined(WITH_HDF5) && (${NETCDF_VER} == 4) && (${HDF5_VER} == 16)) +IGNORE=netCDF 4 requires HDF5 1.8. +.endif + .if defined(WITH_NETCDF) CONFIGURE_ARGS+= --with-netcdf=${LOCALBASE} -LIB_DEPENDS+= netcdf.4:${PORTSDIR}/science/netcdf EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-Makefile.in +.if (${NETCDF_VER} == 4) +HDF5_VER= 18 +WITH_HDF5= yes +LIB_DEPENDS+= netcdf.5:${PORTSDIR}/science/netcdf4 +.else +LIB_DEPENDS+= netcdf.4:${PORTSDIR}/science/netcdf +.endif PLIST_FILES+= bin/cdotest .endif +.if defined(WITH_HDF5) +CONFIGURE_ARGS+= --with-hdf5=${LOCALBASE} --with-zlib=/usr +.if (${HDF5_VER} == 18) +LIB_DEPENDS+= hdf5.6:${PORTSDIR}/science/hdf5-18 +.else +LIB_DEPENDS+= hdf5.0:${PORTSDIR}/science/hdf5 +.endif +.endif + +.if defined(WITH_PROJ) +CONFIGURE_ARGS+= --with-proj=${LOCALBASE} +LIB_DEPENDS+= proj.5:${PORTSDIR}/graphics/proj +.endif + post-build: .if defined(WITH_NETCDF) @cd "${WRKSRC}/src" && ${SETENV} CDO_PATH="${WRKSRC}/src/cdo" "${WRKSRC}/src/cdotest" diff -ruN --exclude=CVS /usr/ports/science/cdo/distinfo /usr/ports/sunpoet/cdo/distinfo --- /usr/ports/science/cdo/distinfo 2008-11-26 22:55:34.340312543 +0800 +++ /usr/ports/sunpoet/cdo/distinfo 2009-01-19 06:18:34.958170488 +0800 @@ -1,3 +1,3 @@ -MD5 (cdo-1.2.1.tar.gz) = ea7e16cb2ba099bccf5a01cac859e846 -SHA256 (cdo-1.2.1.tar.gz) = 975362906d593ce2ec216b87a8d7add12f5b7714de342119e0a8afc8153654a0 -SIZE (cdo-1.2.1.tar.gz) = 2535719 +MD5 (cdo-1.3.0.tar.gz) = a024826bc5a88ba21701af62b5e0655c +SHA256 (cdo-1.3.0.tar.gz) = bfa25e2302a6320a2919d1ecfb1e5df82be50cd231dd40f1f2dc50cbff24a89e +SIZE (cdo-1.3.0.tar.gz) = 2566084 --- cdo-1.3.0.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: