diff options
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 |