aboutsummaryrefslogtreecommitdiff
path: root/math/octave-forge-ltfat
diff options
context:
space:
mode:
Diffstat (limited to 'math/octave-forge-ltfat')
-rw-r--r--math/octave-forge-ltfat/Makefile28
-rw-r--r--math/octave-forge-ltfat/distinfo2
-rw-r--r--math/octave-forge-ltfat/files/patch-Makefile8
-rw-r--r--math/octave-forge-ltfat/pkg-descr15
-rw-r--r--math/octave-forge-ltfat/pkg-plist1
5 files changed, 54 insertions, 0 deletions
diff --git a/math/octave-forge-ltfat/Makefile b/math/octave-forge-ltfat/Makefile
new file mode 100644
index 000000000000..d9f6fb84c2d7
--- /dev/null
+++ b/math/octave-forge-ltfat/Makefile
@@ -0,0 +1,28 @@
+# Created by: Stephen Montgomery-Smith <stephen@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= octave-forge-ltfat
+PORTVERSION= 1.4.2
+CATEGORIES= math
+
+MAINTAINER= stephen@FreeBSD.org
+COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
+
+LIB_DEPENDS= fftw3:${PORTSDIR}/math/fftw3 \
+ portaudio:${PORTSDIR}/audio/portaudio2
+
+# OCTSRC is the name of the directory of the package.
+# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
+OCTSRC= ${OCTAVE_PKGNAME}
+
+WRKSRC= ${WRKDIR}/${OCTSRC}/src
+
+.include "${.CURDIR}/../../Mk/bsd.octave.mk"
+
+post-build:
+ ${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/configure
+ ${RM} -f ${WRKSRC}/../inst/DESCRIPTION
+ ${RM} -f ${WRKSRC}/../inst/ltfat/DESCRIPTION
+ cd ${WRKDIR} && ${TAR} cfz ${DISTNAME}.tar.gz ${OCTSRC}
+
+.include <bsd.port.mk>
diff --git a/math/octave-forge-ltfat/distinfo b/math/octave-forge-ltfat/distinfo
new file mode 100644
index 000000000000..6e3ea3994da9
--- /dev/null
+++ b/math/octave-forge-ltfat/distinfo
@@ -0,0 +1,2 @@
+SHA256 (octave-forge/ltfat-1.4.2.tar.gz) = 1ff1055590eca29623341cada73ac28528729dee0f7aa62a4363f4fbed064d3a
+SIZE (octave-forge/ltfat-1.4.2.tar.gz) = 2440579
diff --git a/math/octave-forge-ltfat/files/patch-Makefile b/math/octave-forge-ltfat/files/patch-Makefile
new file mode 100644
index 000000000000..b063ff715534
--- /dev/null
+++ b/math/octave-forge-ltfat/files/patch-Makefile
@@ -0,0 +1,8 @@
+--- Makefile-orig 2013-09-18 02:28:16.000000000 +0000
++++ Makefile 2013-09-18 02:28:30.000000000 +0000
+@@ -2,4 +2,4 @@
+ $(MAKE) -f Makefile_unix
+ $(MAKE) -C ../oct -f Makefile_unix
+ mv ../oct/*.oct .
+- ls -1 *.oct | cut -d . -f 1 | xargs -i rm -f ../inst/comp/{}.m
++ ls -1 *.oct | cut -d . -f 1 | xargs -I{} rm -f ../inst/comp/{}.m
diff --git a/math/octave-forge-ltfat/pkg-descr b/math/octave-forge-ltfat/pkg-descr
new file mode 100644
index 000000000000..0c8d5ec00501
--- /dev/null
+++ b/math/octave-forge-ltfat/pkg-descr
@@ -0,0 +1,15 @@
+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 ltfat.
+
+ The Large Time/Frequency Analysis Toolbox (LTFAT) is a Matlab/Octave toolbox
+ for working with time-frequency analysis, wavelets and signal processing. It
+ is intended both as an educational and a computational tool. The toolbox
+ provides a large number of linear transforms including Gabor and wavelet
+ transforms along with routines for constructing windows (filter prototypes)
+ and routines for manipulating coefficients.
+
+WWW: http://octave.sourceforge.net/
diff --git a/math/octave-forge-ltfat/pkg-plist b/math/octave-forge-ltfat/pkg-plist
new file mode 100644
index 000000000000..a999ec86c07e
--- /dev/null
+++ b/math/octave-forge-ltfat/pkg-plist
@@ -0,0 +1 @@
+@comment This file intentionally left empty