diff options
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/snack/Makefile | 32 | ||||
-rw-r--r-- | audio/snack/distinfo | 1 | ||||
-rw-r--r-- | audio/snack/files/patch-Makefile.in | 15 | ||||
-rw-r--r-- | audio/snack/pkg-comment | 1 | ||||
-rw-r--r-- | audio/snack/pkg-descr | 16 | ||||
-rw-r--r-- | audio/snack/pkg-plist | 20 |
7 files changed, 86 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile index 397b81fb8e3f..f07c04509826 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 000000000000..41ac6265e8cd --- /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 000000000000..c71e56d304b7 --- /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 000000000000..697347cbd5a3 --- /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 000000000000..93a5836bdea5 --- /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 000000000000..97632d2eed13 --- /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 000000000000..2b3cafa59ce3 --- /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 |