Date: Sat, 09 Apr 2011 02:20:27 -0500 From: Zhihao Yuan <lichray@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/156291: New port: audio/pure-audio - a digital audio interface for the Pure language Message-ID: <4da008c1.0a13e70a.08dd.ffffa876@mx.google.com> Resent-Message-ID: <201104090730.p397UBJL023161@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 156291 >Category: ports >Synopsis: New port: audio/pure-audio - a digital audio interface for the Pure language >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Apr 09 07:30:10 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Zhihao Yuan >Release: FreeBSD 8.2-STABLE amd64 >Organization: >Environment: System: FreeBSD compaq.yuetime 8.2-STABLE FreeBSD 8.2-STABLE #0: Mon Mar 14 02:51:28 CDT 2011 root@compaq.yuetime:/usr/obj/usr/src/sys/HOUKAGO amd64 >Description: pure-audio is a digital audio interface for the Pure programming language. Check https://code.google.com/p/pure-lang/wiki/Addons#pure-audio for details. * This PR depends on ports/156099 >How-To-Repeat: >Fix: --- pure-audio.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # pure-audio # pure-audio/pkg-descr # pure-audio/pkg-plist # pure-audio/Makefile # pure-audio/distinfo # echo c - pure-audio mkdir -p pure-audio > /dev/null 2>&1 echo x - pure-audio/pkg-descr sed 's/^X//' >pure-audio/pkg-descr << '33282156d03f232bb355ace71d37608c' Xpure-audio is a digital audio interface for the Pure programming language. XIt currently includes wrappers for PortAudio, FFTW3, libsndfile and Xlibsamplerate, as well as a realtime module which gives Pure scripts access Xto realtime scheduling on systems which have a pthreads library with the XPOSIX realtime threads extension. X XWWW: http://docs.pure-lang.googlecode.com/hg/pure-audio.html 33282156d03f232bb355ace71d37608c echo x - pure-audio/pkg-plist sed 's/^X//' >pure-audio/pkg-plist << '07bd88f557ffb477a9c6f4da214303f0' Xlib/pure/audio.pure Xlib/pure/audio.so Xlib/pure/fftw.pure Xlib/pure/fftw.so Xlib/pure/portaudio.pure Xlib/pure/realtime.pure Xlib/pure/realtime.so Xlib/pure/samplerate.pure Xlib/pure/sfinfo.so Xlib/pure/sndfile.pure Xlib/pure/srcprocess.so 07bd88f557ffb477a9c6f4da214303f0 echo x - pure-audio/Makefile sed 's/^X//' >pure-audio/Makefile << '8fbada6c2d2122085c085e3c760375c7' X# New ports collection makefile for: pure-gtk X# Date created: 2011-03-18 X# Whom: Zhihao Yuan <lichray@gmail.com> X# X# $FreeBSD$ X# X XPORTNAME= pure-audio XPORTVERSION= 0.3 XCATEGORIES= audio XMASTER_SITES= http://pure-lang.googlecode.com/files/ X XMAINTAINER= lichray@gmail.com XCOMMENT= A digital audio interface for the Pure language X XLIB_DEPENDS+= pure.7:${PORTSDIR}/lang/pure \ X portaudio.2:${PORTSDIR}/audio/portaudio2 \ X samplerate.1:${PORTSDIR}/audio/libsamplerate \ X sndfile.1:${PORTSDIR}/audio/libsndfile \ X fftw3:${PORTSDIR}/math/fftw3 X X#RUN_DEPENDS+= ${LOCALBASE}/lib/pure/ffi.pure:${PORTSDIR}/devel/pure-ffi X XLICENSE_FILE= ${WRKSRC}/COPYING X XUSE_GMAKE= yes X XMAKE_ARGS+= prefix=${PREFIX} CPPFLAGS+=-I${LOCALBASE}/include LDFLAGS+=-L${LOCALBASE}/lib CFLAGS="${CFLAGS}" X Xpost-patch: X ${REINPLACE_CMD} \ X -e "s|-lportaudio|-I${LOCALBASE}/include/portaudio2 -L${LOCALBASE}/lib/portaudio2 -lportaudio|" \ X -e "s|portaudio.h|portaudio2/portaudio.h|g" \ X ${WRKSRC}/Makefile X XPORTEXAMPLES= * X X.include <bsd.port.pre.mk> X Xpost-install: X.if !defined(NOPORTEXAMPLES) X @${MKDIR} ${EXAMPLESDIR} X (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}) X.endif X X.include <bsd.port.post.mk> 8fbada6c2d2122085c085e3c760375c7 echo x - pure-audio/distinfo sed 's/^X//' >pure-audio/distinfo << 'd4b4a2a22b6d64ee8c4a45837380a9b3' XSHA256 (pure-audio-0.3.tar.gz) = 2cf6c93cb57de9ed1c84421090b9953240ff5da4cf1ff82ed2e288ab95823177 XSIZE (pure-audio-0.3.tar.gz) = 37816 d4b4a2a22b6d64ee8c4a45837380a9b3 exit --- pure-audio.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4da008c1.0a13e70a.08dd.ffffa876>