diff options
author | will <will@FreeBSD.org> | 2000-06-02 02:16:33 +0000 |
---|---|---|
committer | will <will@FreeBSD.org> | 2000-06-02 02:16:33 +0000 |
commit | 4318d5938d3046bc789cbe1c1f246a2224ff9746 (patch) | |
tree | 7831bd53fc9104e6fae7fc34c0c88ed09ad8cd3e /audio/afsp | |
parent | 838bd91d072e1c55917304502c16c6d662e27fd4 (diff) | |
download | FreeBSD-ports-4318d5938d3046bc789cbe1c1f246a2224ff9746.zip FreeBSD-ports-4318d5938d3046bc789cbe1c1f246a2224ff9746.tar.gz |
Add AFSP, a set of audio file conversion utilities.
PR: 18916
Submitted by: Kawaguti Ginga <ginga@athena.club.ne.jp>
Diffstat (limited to 'audio/afsp')
-rw-r--r-- | audio/afsp/Makefile | 31 | ||||
-rw-r--r-- | audio/afsp/distinfo | 1 | ||||
-rw-r--r-- | audio/afsp/files/Makefile | 69 | ||||
-rw-r--r-- | audio/afsp/pkg-comment | 1 | ||||
-rw-r--r-- | audio/afsp/pkg-descr | 23 | ||||
-rw-r--r-- | audio/afsp/pkg-plist | 36 |
6 files changed, 161 insertions, 0 deletions
diff --git a/audio/afsp/Makefile b/audio/afsp/Makefile new file mode 100644 index 0000000..35fd3b6 --- /dev/null +++ b/audio/afsp/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: AFsp +# Date created: 30 May 2000 +# Whom: Kawaguti Ginga <ginga@athena.club.ne.jp> +# +# $FreeBSD$ +# + +PORTNAME= afsp +PORTVERSION= 4.3 +CATEGORIES= audio +MASTER_SITES= ftp://ftp.tsp.ece.mcgill.ca/pub/AFsp/ +DISTNAME= AFsp-v4r3 + +MAINTAINER= ginga@athena.club.ne.jp + +USE_GMAKE= yes + +MAN1= AFsp.1audio CompAudio.1audio CopyAudio.1audio FiltAudio.1audio \ + GenNoise.1audio GenTone.1audio InfoAudio.1audio LPanal.1audio \ + LPsyn.1audio ResampAudio.1audio +MAN3= AFclose.3tsp AFopenRead.3tsp AFopenWrite.3tsp AFreadData.3tsp \ + AFsetFileType.3tsp AFsetHinfo.3tsp AFwriteData.3tsp AFsetNHpar.3tsp + +post-extract: + @${CP} ${FILESDIR}/Makefile ${WRKSRC} + +post-patch: + cd ${WRKSRC} && find . -name Makefile | \ + xargs -n10 ${PERL} -i -pe 's/^(CFLAGS\s*)=\s*-O/$$1+=/' + +.include <bsd.port.mk> diff --git a/audio/afsp/distinfo b/audio/afsp/distinfo new file mode 100644 index 0000000..cfc061f --- /dev/null +++ b/audio/afsp/distinfo @@ -0,0 +1 @@ +MD5 (AFsp-v4r3.tar.gz) = bca9c9b92a51f305e9e56efde2ab4782 diff --git a/audio/afsp/files/Makefile b/audio/afsp/files/Makefile new file mode 100644 index 0000000..f60ae2e --- /dev/null +++ b/audio/afsp/files/Makefile @@ -0,0 +1,69 @@ +# $FreeBSD$ + +LIBRARIES = lib/libAO.a \ + lib/libtsp.a +BINARIES = bin/CompAudio \ + bin/CopyAudio \ + bin/FiltAudio \ + bin/GenNoise \ + bin/GenTone \ + bin/InfoAudio \ + bin/LPanal \ + bin/LPsyn \ + bin/ResampAudio +MAINHEADERS = include/AD.h \ + include/AO.h \ + include/libtsp.h +SUBHEADERS = include/libtsp/AFdataio.h \ + include/libtsp/AFheader.h \ + include/libtsp/AFmsg.h \ + include/libtsp/AFpar.h \ + include/libtsp/AIpar.h \ + include/libtsp/AUpar.h \ + include/libtsp/ESpar.h \ + include/libtsp/FImsg.h \ + include/libtsp/FIpar.h \ + include/libtsp/FLmsg.h \ + include/libtsp/FNmsg.h \ + include/libtsp/MSmsg.h \ + include/libtsp/SPmsg.h \ + include/libtsp/STmsg.h \ + include/libtsp/UTmsg.h \ + include/libtsp/UTpar.h \ + include/libtsp/UTtypes.h \ + include/libtsp/VRmsg.h \ + include/libtsp/WVpar.h \ + include/libtsp/nucleus.h \ + include/libtsp/sysOS.h +MAN3FILES = man/AFclose.3tsp \ + man/AFopenRead.3tsp \ + man/AFopenWrite.3tsp \ + man/AFreadData.3tsp \ + man/AFsetFileType.3tsp \ + man/AFsetHinfo.3tsp \ + man/AFwriteData.3tsp \ + man/AFsetNHpar.3tsp +MAN1FILES = man/AFsp.1audio \ + man/CompAudio.1audio \ + man/CopyAudio.1audio \ + man/FiltAudio.1audio \ + man/GenNoise.1audio \ + man/GenTone.1audio \ + man/InfoAudio.1audio \ + man/LPanal.1audio \ + man/LPsyn.1audio \ + man/ResampAudio.1audio + +all: + for dirs in libtsp libAO audio; do \ + (cd $$dirs; $(MAKE)); \ + done + +install: ${LIBRARIES} ${BINARIES} + ${BSD_INSTALL_DATA} ${LIBRARIES} ${PREFIX}/lib/ + ${BSD_INSTALL_PROGRAM} ${BINARIES} ${PREFIX}/bin/ + ${BSD_INSTALL_DATA} ${MAINHEADERS} ${PREFIX}/include/ + mkdir -p ${PREFIX}/include/libtsp/ + ${BSD_INSTALL_DATA} ${SUBHEADERS} ${PREFIX}/include/libtsp/ + ${BSD_INSTALL_MAN} ${MAN1FILES} ${PREFIX}/man/man1/ + ${BSD_INSTALL_MAN} ${MAN3FILES} ${PREFIX}/man/man3/ diff --git a/audio/afsp/pkg-comment b/audio/afsp/pkg-comment new file mode 100644 index 0000000..15b3c43 --- /dev/null +++ b/audio/afsp/pkg-comment @@ -0,0 +1 @@ +Audio file conversion utilities diff --git a/audio/afsp/pkg-descr b/audio/afsp/pkg-descr new file mode 100644 index 0000000..af335ff --- /dev/null +++ b/audio/afsp/pkg-descr @@ -0,0 +1,23 @@ +Audio file utility programs and a library of routines for audio files. +Audio File Utility Programs: + InfoAudio - display information about an audio file. + CompAudio - compare audio files, producing statistics and signal-to-noise + ratio figures. + CopyAudio - copy audio files. This program combines samples from input audio + files (an arbitrary linear combination) and writes them to the + output file in a user selectable format. One application is to + provide format conversion for an audio file; another is to + combine samples from multi-channel files. + ResampAudio - resample data from an audio file. This process involves + interpolating between the samples in the original file to create + a new sequence of samples with a new spacing (sampling rate). + and FiltAudio, GenNoise, GenTone, LPanal, LPsyn +The following file formats are supported for reading. + - Headerless, AU, RIFF WAVE, AIFF/AIFF-C, NIST SPHERE, IRCAM, + INRS-Telecom, ESPS, Text audio (NATO/ESPRIT CD-ROM format) +The following file formats are supported for writing. + - Headerless, AU, RIFF WAVE, AIFF-C + +WWW: http://www.TSP.ECE.McGill.CA/software + +-- Kawaguti Ginga <ginga@athena.club.ne.jp> diff --git a/audio/afsp/pkg-plist b/audio/afsp/pkg-plist new file mode 100644 index 0000000..e602c2b --- /dev/null +++ b/audio/afsp/pkg-plist @@ -0,0 +1,36 @@ +bin/CompAudio +bin/CopyAudio +bin/FiltAudio +bin/GenNoise +bin/GenTone +bin/InfoAudio +bin/LPanal +bin/LPsyn +bin/ResampAudio +lib/libAO.a +lib/libtsp.a +include/AD.h +include/AO.h +include/libtsp.h +include/libtsp/AFdataio.h +include/libtsp/AFheader.h +include/libtsp/AFmsg.h +include/libtsp/AFpar.h +include/libtsp/AIpar.h +include/libtsp/AUpar.h +include/libtsp/ESpar.h +include/libtsp/FImsg.h +include/libtsp/FIpar.h +include/libtsp/FLmsg.h +include/libtsp/FNmsg.h +include/libtsp/MSmsg.h +include/libtsp/SPmsg.h +include/libtsp/STmsg.h +include/libtsp/UTmsg.h +include/libtsp/UTpar.h +include/libtsp/UTtypes.h +include/libtsp/VRmsg.h +include/libtsp/WVpar.h +include/libtsp/nucleus.h +include/libtsp/sysOS.h +@dirrm include/libtsp |