diff options
author | Chin-San Huang <chinsan@FreeBSD.org> | 2009-02-01 09:56:51 +0000 |
---|---|---|
committer | Chin-San Huang <chinsan@FreeBSD.org> | 2009-02-01 09:56:51 +0000 |
commit | 963e6788d94fef505031675b78e47b1356870f1b (patch) | |
tree | e1235d24e32fb79e4ffe1de535cc588ebd10b73e /math/p5-NetCDF | |
parent | de1b6f6c0720464491de4600339f82f5876c9996 (diff) | |
download | ports-963e6788d94fef505031675b78e47b1356870f1b.tar.gz ports-963e6788d94fef505031675b78e47b1356870f1b.zip |
Notes
Diffstat (limited to 'math/p5-NetCDF')
-rw-r--r-- | math/p5-NetCDF/Makefile | 9 | ||||
-rw-r--r-- | math/p5-NetCDF/distinfo | 6 |
2 files changed, 10 insertions, 5 deletions
diff --git a/math/p5-NetCDF/Makefile b/math/p5-NetCDF/Makefile index 3c0fc8a38d9e..62032540632b 100644 --- a/math/p5-NetCDF/Makefile +++ b/math/p5-NetCDF/Makefile @@ -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 @@ EXTRACT_SUFX= .tar.Z 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 --git a/math/p5-NetCDF/distinfo b/math/p5-NetCDF/distinfo index ba5f2cf7b6bb..c8f5e3228d14 100644 --- a/math/p5-NetCDF/distinfo +++ b/math/p5-NetCDF/distinfo @@ -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 |