summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-11-24 05:37:05 +0000
committerijliao <ijliao@FreeBSD.org>2001-11-24 05:37:05 +0000
commit5f7888a4c5b7b23aa0fef99678426e11d29d2e75 (patch)
tree89bf2ed485a2862a96672527f8683d0a29405286 /audio
parent39425143ebebd09040d0295a07769828b48c5070 (diff)
downloadFreeBSD-ports-5f7888a4c5b7b23aa0fef99678426e11d29d2e75.zip
FreeBSD-ports-5f7888a4c5b7b23aa0fef99678426e11d29d2e75.tar.gz
add snack
The Snack Sound Toolkit
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/snack/Makefile32
-rw-r--r--audio/snack/distinfo1
-rw-r--r--audio/snack/files/patch-Makefile.in15
-rw-r--r--audio/snack/pkg-comment1
-rw-r--r--audio/snack/pkg-descr16
-rw-r--r--audio/snack/pkg-plist20
7 files changed, 86 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 397b81f..f07c045 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -186,6 +186,7 @@
SUBDIR += shorten
SUBDIR += shout
SUBDIR += sidplay
+ SUBDIR += snack
SUBDIR += snd
SUBDIR += snowstar
SUBDIR += soundtracker
diff --git a/audio/snack/Makefile b/audio/snack/Makefile
new file mode 100644
index 0000000..41ac626
--- /dev/null
+++ b/audio/snack/Makefile
@@ -0,0 +1,32 @@
+# ex:ts=8
+# New ports collection makefile for: snack
+# Date created: Nov 24, 2001
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= snack
+PORTVERSION= 2.1.4
+CATEGORIES= audio tcl83 tk83
+MASTER_SITES= http://www.speech.kth.se/~kare/
+DISTNAME= ${PORTNAME}${PORTVERSION}
+
+MAINTAINER= ports@FreeBSD.org
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/unix
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-tcl=${LOCALBASE}/lib/tcl8.3 \
+ --with-tk=${LOCALBASE}/lib/tk8.3
+PLIST_SUB= SNACK_VER=${PORTVERSION:R}
+
+post-patch:
+ @${PERL} -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/Makefile.in
+
+.if !defined(NOPORTDOCS)
+post-install:
+ @${MKDIR} ${DOCSDIR}
+ ${CP} ${WRKSRC}/../doc/* ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/audio/snack/distinfo b/audio/snack/distinfo
new file mode 100644
index 0000000..c71e56d
--- /dev/null
+++ b/audio/snack/distinfo
@@ -0,0 +1 @@
+MD5 (snack2.1.4.tar.gz) = a63251923d947ac7cefb908f824374f9
diff --git a/audio/snack/files/patch-Makefile.in b/audio/snack/files/patch-Makefile.in
new file mode 100644
index 0000000..697347c
--- /dev/null
+++ b/audio/snack/files/patch-Makefile.in
@@ -0,0 +1,15 @@
+--- Makefile.in.orig Sat Nov 24 13:05:13 2001
++++ Makefile.in Sat Nov 24 13:07:42 2001
+@@ -1,10 +1,10 @@
+ # The path to the tcl.h header file
+
+-TCL_INCPATH = @TCL_SRC_DIR@/generic
++TCL_INCPATH = %%LOCALBASE%%/include/tcl8.3/generic
+
+ # The path to the tk.h header file
+
+-TK_INCPATH = @TK_SRC_DIR@/generic
++TK_INCPATH = %%LOCALBASE%%/include/tk8.3/generic
+
+ # The path to the X11 include files
+
diff --git a/audio/snack/pkg-comment b/audio/snack/pkg-comment
new file mode 100644
index 0000000..93a5836
--- /dev/null
+++ b/audio/snack/pkg-comment
@@ -0,0 +1 @@
+The Snack Sound Toolkit
diff --git a/audio/snack/pkg-descr b/audio/snack/pkg-descr
new file mode 100644
index 0000000..97632d2
--- /dev/null
+++ b/audio/snack/pkg-descr
@@ -0,0 +1,16 @@
+The Snack Sound Toolkit is designed to be used with a scripting language
+such as Tcl/Tk or Python. Using Snack you can create powerful multi-platform
+audio applications with just a few lines of code. Snack has commands for
+basic sound handling, e.g. sound card and disk I/O. Snack also has primitives
+for sound visualization, e.g. waveforms and spectrograms. It was developed
+mainly to handle digital recordings of speech, but is just as useful for
+general audio. Snack has also successfully been applied to other one-
+dimensional signals.
+
+The combination of Snack and a scripting language makes it possible to create
+sound tools and applications with a minimum of effort. This is due to the
+rapid development nature of scripting languages. As a bonus you get an
+application that is cross-platform from start. It is also easy to integrate
+Snack based applications with existing sound analysis software.
+
+WWW: http://www.speech.kth.se/snack/
diff --git a/audio/snack/pkg-plist b/audio/snack/pkg-plist
new file mode 100644
index 0000000..2b3cafa
--- /dev/null
+++ b/audio/snack/pkg-plist
@@ -0,0 +1,20 @@
+lib/libsnackstub%%SNACK_VER%%.a
+lib/snack%%SNACK_VER%%/libsnack.so
+lib/snack%%SNACK_VER%%/libsound.so
+lib/snack%%SNACK_VER%%/pkgIndex.tcl
+lib/snack%%SNACK_VER%%/snack.tcl
+@dirrm lib/snack%%SNACK_VER%%
+%%PORTDOCS%%share/doc/snack/AddSubCmd.html
+%%PORTDOCS%%share/doc/snack/Callback.html
+%%PORTDOCS%%share/doc/snack/CreateFilter.html
+%%PORTDOCS%%share/doc/snack/FileFormat.html
+%%PORTDOCS%%share/doc/snack/SampConv.html
+%%PORTDOCS%%share/doc/snack/SnackLib.html
+%%PORTDOCS%%share/doc/snack/SoundData.html
+%%PORTDOCS%%share/doc/snack/SoundObj.html
+%%PORTDOCS%%share/doc/snack/SoundProp.html
+%%PORTDOCS%%share/doc/snack/SoundSamp.html
+%%PORTDOCS%%share/doc/snack/SphereFile.txt
+%%PORTDOCS%%share/doc/snack/python-man.html
+%%PORTDOCS%%share/doc/snack/tcl-man.html
+%%PORTDOCS%%@dirrm share/doc/snack
OpenPOWER on IntegriCloud