summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--math/Makefile1
-rw-r--r--math/p5-NetCDF/Makefile28
-rw-r--r--math/p5-NetCDF/distinfo1
-rw-r--r--math/p5-NetCDF/pkg-descr3
-rw-r--r--math/p5-NetCDF/pkg-plist7
5 files changed, 40 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index a20ae12..344c285 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -124,6 +124,7 @@
SUBDIR += p5-Math-SimpleVariable
SUBDIR += p5-Math-TrulyRandom
SUBDIR += p5-MatrixReal
+ SUBDIR += p5-NetCDF
SUBDIR += p5-Number-Compare
SUBDIR += p5-Roman
SUBDIR += p5-Set-IntSpan
diff --git a/math/p5-NetCDF/Makefile b/math/p5-NetCDF/Makefile
new file mode 100644
index 0000000..d858186
--- /dev/null
+++ b/math/p5-NetCDF/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: p5-NetCDF
+# Date created: 2003-11-17
+# Whom: Douglas K. Rand (rand@meridian-enviro.com)
+#
+# $FreeBSD$
+#
+
+PORTNAME= NetCDF
+PORTVERSION= 1.2.2
+CATEGORIES= math perl5
+MASTER_SITES= http://www.unidata.ucar.edu/packages/netcdf-perl/
+PKGNAMEPREFIX= p5-
+# No version number in distribution file, sigh.
+DISTFILES= netcdf-perl.tar.Z
+
+MAINTAINER= rand@meridian-enviro.com
+COMMENT= Perl5 module to read and write netCDF files
+
+LIB_DEPENDS= netcdf.1:${PORTSDIR}/math/netcdf
+
+WRKSRC= ${WRKDIR}/netcdf-perl-${PORTVERSION}/src
+HAS_CONFIGURE= yes
+CONFIGURE_ENV= CPP_NETCDF=-I${PREFIX}/include LD_NETCDF=-lnetcdf PERL_MANDIR=${PREFIX}/lib/perl5/${PERL_VERSION}/man
+
+MAN1PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN1= netCDFPerl.1
+
+.include <bsd.port.mk>
diff --git a/math/p5-NetCDF/distinfo b/math/p5-NetCDF/distinfo
new file mode 100644
index 0000000..a0ff66c
--- /dev/null
+++ b/math/p5-NetCDF/distinfo
@@ -0,0 +1 @@
+MD5 (netcdf-perl.tar.Z) = 81f068cc62d976e116091cbe87ea5415
diff --git a/math/p5-NetCDF/pkg-descr b/math/p5-NetCDF/pkg-descr
new file mode 100644
index 0000000..7d4f38b
--- /dev/null
+++ b/math/p5-NetCDF/pkg-descr
@@ -0,0 +1,3 @@
+A perl extension module for scientific data access via the netCDF API
+
+WWW: http://www.unidata.ucar.edu/packages/netcdf-perl/
diff --git a/math/p5-NetCDF/pkg-plist b/math/p5-NetCDF/pkg-plist
new file mode 100644
index 0000000..39518e6
--- /dev/null
+++ b/math/p5-NetCDF/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/NetCDF.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetCDF/NetCDF.so
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetCDF/NetCDF.bs
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetCDF/autosplit.ix
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetCDF/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/NetCDF 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/%%PERL_VERSION%%/man/man1 2>/dev/null || true
OpenPOWER on IntegriCloud