diff --git a/math/Makefile b/math/Makefile index fc12adaaa554..78f8194c3d7a 100644 --- a/math/Makefile +++ b/math/Makefile @@ -321,6 +321,7 @@ SUBDIR += octave-forge-multicore SUBDIR += octave-forge-nan SUBDIR += octave-forge-ncarray + SUBDIR += octave-forge-netcdf SUBDIR += octave-forge-nlwing2 SUBDIR += octave-forge-nnet SUBDIR += octave-forge-nurbs 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 +# $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 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