diff options
author | ijliao <ijliao@FreeBSD.org> | 2004-01-08 08:14:47 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2004-01-08 08:14:47 +0000 |
commit | 8d6ea278e5836683d69c6e7e4580dbdb41aacb03 (patch) | |
tree | 27e609427935786b59ce8331f3d7cfb37cb798fe /audio/q-audio | |
parent | 49ea29ba791f79d43070e973bde29842c3b70113 (diff) | |
download | FreeBSD-ports-8d6ea278e5836683d69c6e7e4580dbdb41aacb03.zip FreeBSD-ports-8d6ea278e5836683d69c6e7e4580dbdb41aacb03.tar.gz |
add q-audio 1.2
Q-Audio -- digital audio interface for the Q language
Diffstat (limited to 'audio/q-audio')
-rw-r--r-- | audio/q-audio/Makefile | 35 | ||||
-rw-r--r-- | audio/q-audio/distinfo | 1 | ||||
-rw-r--r-- | audio/q-audio/files/patch-ltmain.sh | 15 | ||||
-rw-r--r-- | audio/q-audio/pkg-descr | 17 | ||||
-rw-r--r-- | audio/q-audio/pkg-plist | 15 |
5 files changed, 83 insertions, 0 deletions
diff --git a/audio/q-audio/Makefile b/audio/q-audio/Makefile new file mode 100644 index 0000000..a961b39 --- /dev/null +++ b/audio/q-audio/Makefile @@ -0,0 +1,35 @@ +# New ports collection makefile for: q-audio +# Date created: 14 August 2003 +# Whom: ag@muwiinfa.geschichte.uni-mainz.de Albert Graef +# +# $FreeBSD$ +# + +PORTNAME= q-audio +PORTVERSION= 1.2 +CATEGORIES= audio +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= q-lang + +MAINTAINER= ag@muwiinfa.geschichte.uni-mainz.de +COMMENT= Q-Audio -- digital audio interface for the Q language + +LIB_DEPENDS= sndfile.1:${PORTSDIR}/audio/libsndfile \ + q.4:${PORTSDIR}/lang/q + +USE_REINPLACE= yes +USE_GNOME= gnometarget +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-pthread="${PTHREAD_LIBS}" +CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" + +DATADIR= ${PREFIX}/share/q +EXAMPLESDIR= ${PREFIX}/share/examples/q/audio + +post-patch: + @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \ + ${GREP} -l "^examplesdir" | ${XARGS} ${REINPLACE_CMD} -e \ + "s;[(]pkgdatadir[)]/examples;(datadir)/examples/q;" + +.include <bsd.port.mk> diff --git a/audio/q-audio/distinfo b/audio/q-audio/distinfo new file mode 100644 index 0000000..2b943bf --- /dev/null +++ b/audio/q-audio/distinfo @@ -0,0 +1 @@ +MD5 (q-audio-1.2.tar.gz) = 79c887ac39a5b21edd2d5b9ff2143215 diff --git a/audio/q-audio/files/patch-ltmain.sh b/audio/q-audio/files/patch-ltmain.sh new file mode 100644 index 0000000..7394199 --- /dev/null +++ b/audio/q-audio/files/patch-ltmain.sh @@ -0,0 +1,15 @@ +--- ltmain.sh.orig Thu Jan 8 15:57:49 2004 ++++ ltmain.sh Thu Jan 8 15:58:00 2004 +@@ -4210,10 +4210,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false ; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff --git a/audio/q-audio/pkg-descr b/audio/q-audio/pkg-descr new file mode 100644 index 0000000..d679310 --- /dev/null +++ b/audio/q-audio/pkg-descr @@ -0,0 +1,17 @@ +This package contains two modules to write digital audio applications in the Q +programming language: + +- The audio module implements a (near-)realtime audio interface on top of Phil + Burk's PortAudio library V1.8 (http://www.portaudio.com/). + +- The sndfile module allows you to access sound files in various formats using + Erik de Castro Lopo's libsndfile library V1.0 or later + (http://www.zip.com.au/~erikd/libsndfile/). + +Also included is a GGI-based wave renderer (draw_wave.q) and a simple +graphical audio player application (audio_player.q). + +WWW: http://q-lang.sourceforge.net/ + +- Albert Graef +ag@muwiinfa.geschichte.uni-mainz.de diff --git a/audio/q-audio/pkg-plist b/audio/q-audio/pkg-plist new file mode 100644 index 0000000..842dbcb --- /dev/null +++ b/audio/q-audio/pkg-plist @@ -0,0 +1,15 @@ +bin/audio_player +lib/q/audio.a +lib/q/audio.so +lib/q/sndfile.a +lib/q/sndfile.so +lib/q/draw_wave.a +lib/q/draw_wave.so +%%DATADIR%%/etc/README-Audio +%%DATADIR%%/lib/audio.q +%%DATADIR%%/lib/sndfile.q +%%DATADIR%%/lib/draw_wave.q +%%DATADIR%%/lib/audio_player.q +%%DATADIR%%/lib/audio_player.tcl +%%EXAMPLESDIR%%/audio_examp.q +@dirrm %%EXAMPLESDIR%% |