aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2003-12-07 09:03:15 +0800
committerpav <pav@FreeBSD.org>2003-12-07 09:03:15 +0800
commitc31732c58c6f92c5aa8fd12951677014add5dc4e (patch)
treeaa0599cd83c2d017213dceffc12c5599ecd02dca /math
parent8ca5d7c8eecf15b73d4387aff8cd96bcf3016e1f (diff)
downloadfreebsd-ports-graphics-c31732c58c6f92c5aa8fd12951677014add5dc4e.tar.gz
freebsd-ports-graphics-c31732c58c6f92c5aa8fd12951677014add5dc4e.tar.zst
freebsd-ports-graphics-c31732c58c6f92c5aa8fd12951677014add5dc4e.zip
- Add p5-NetCDF, a perl module to read and write netCDF files.
PR: ports/59381 Submitted by: Douglas K. Rand <rand@meridian-enviro.com>
Diffstat (limited to 'math')
-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 a20ae12fd15..344c285a163 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 00000000000..d8581868aff
--- /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 00000000000..a0ff66c5498
--- /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 00000000000..7d4f38b3721
--- /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 00000000000..39518e6e26d
--- /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