1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

add snack

The Snack Sound Toolkit
This commit is contained in:
Ying-Chieh Liao 2001-11-24 05:37:05 +00:00
parent 6eb259c96a
commit 0e021394c6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=50458
7 changed files with 86 additions and 0 deletions

View File

@ -186,6 +186,7 @@
SUBDIR += shorten
SUBDIR += shout
SUBDIR += sidplay
SUBDIR += snack
SUBDIR += snd
SUBDIR += snowstar
SUBDIR += soundtracker

32
audio/snack/Makefile Normal file
View File

@ -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>

1
audio/snack/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (snack2.1.4.tar.gz) = a63251923d947ac7cefb908f824374f9

View File

@ -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

1
audio/snack/pkg-comment Normal file
View File

@ -0,0 +1 @@
The Snack Sound Toolkit

16
audio/snack/pkg-descr Normal file
View File

@ -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/

20
audio/snack/pkg-plist Normal file
View File

@ -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