aboutsummaryrefslogtreecommitdiffstats
path: root/math/octave-forge-netcdf
diff options
context:
space:
mode:
authorstephen <stephen@FreeBSD.org>2013-08-17 07:53:08 +0800
committerstephen <stephen@FreeBSD.org>2013-08-17 07:53:08 +0800
commitfddfec117c219726f94cfc6a41271209d1021249 (patch)
tree651a6def2984e2f62ee4aebac79bc17825853ff1 /math/octave-forge-netcdf
parent365e95debff5985af6de23550ea458ce423ada1b (diff)
downloadfreebsd-ports-gnome-fddfec117c219726f94cfc6a41271209d1021249.tar.gz
freebsd-ports-gnome-fddfec117c219726f94cfc6a41271209d1021249.tar.zst
freebsd-ports-gnome-fddfec117c219726f94cfc6a41271209d1021249.zip
- New port math/octave-forge-netcdf
The octave-forge package is the result of The GNU Octave Repositry project, which is intended to be a central location for custom scripts, functions and extensions for GNU Octave. contains the source for all the functions plus build and install scripts. This is netcdf: A MATLAB compatible NetCDF interface for Octave.
Diffstat (limited to 'math/octave-forge-netcdf')
-rw-r--r--math/octave-forge-netcdf/Makefile25
-rw-r--r--math/octave-forge-netcdf/distinfo2
-rw-r--r--math/octave-forge-netcdf/pkg-descr10
-rw-r--r--math/octave-forge-netcdf/pkg-plist1
4 files changed, 38 insertions, 0 deletions
diff --git a/math/octave-forge-netcdf/Makefile b/math/octave-forge-netcdf/Makefile
new file mode 100644
index 000000000000..ca6e1bd58aff
--- /dev/null
+++ b/math/octave-forge-netcdf/Makefile
@@ -0,0 +1,25 @@
+# Created by: Stephen Montgomery-Smith <stephen@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= octave-forge-netcdf
+PORTVERSION= 1.0.0
+CATEGORIES= math
+
+MAINTAINER= stephen@FreeBSD.org
+COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
+
+# OCTSRC is the name of the directory of the package.
+# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
+OCTSRC= ${OCTAVE_PKGNAME}
+
+WRKSRC= ${WRKDIR}/${OCTSRC}/src
+
+LIB_DEPENDS+= netcdf:${PORTSDIR}/science/netcdf4
+
+.include "${.CURDIR}/../../Mk/bsd.octave.mk"
+
+post-build:
+ ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
+ cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
+
+.include <bsd.port.mk>
diff --git a/math/octave-forge-netcdf/distinfo b/math/octave-forge-netcdf/distinfo
new file mode 100644
index 000000000000..23d32b78fc5e
--- /dev/null
+++ b/math/octave-forge-netcdf/distinfo
@@ -0,0 +1,2 @@
+SHA256 (octave-forge/netcdf-1.0.0.tar.gz) = e3235ce7767666e6424cb3bf3338a0346243eaea4a3ad6ecd742a1638704f81e
+SIZE (octave-forge/netcdf-1.0.0.tar.gz) = 68266
diff --git a/math/octave-forge-netcdf/pkg-descr b/math/octave-forge-netcdf/pkg-descr
new file mode 100644
index 000000000000..5056bd0ac8f5
--- /dev/null
+++ b/math/octave-forge-netcdf/pkg-descr
@@ -0,0 +1,10 @@
+The octave-forge package is the result of The GNU Octave Repositry project,
+which is intended to be a central location for custom scripts, functions and
+extensions for GNU Octave. contains the source for all the functions plus
+build and install scripts.
+
+This is netcdf.
+
+ A MATLAB compatible NetCDF interface for Octave.
+
+WWW: http://octave.sourceforge.net/
diff --git a/math/octave-forge-netcdf/pkg-plist b/math/octave-forge-netcdf/pkg-plist
new file mode 100644
index 000000000000..a999ec86c07e
--- /dev/null
+++ b/math/octave-forge-netcdf/pkg-plist
@@ -0,0 +1 @@
+@comment This file intentionally left empty