1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00
freebsd-ports/audio/pure-audio/Makefile
Sylvio Cesar Teixeira a30485cbd4 - Update to 0.5
PR:		ports/168686
Submitted by:	Zhihao Yuan <lichray@gmail.com> (maintainer)
2012-06-06 21:57:16 +00:00

31 lines
772 B
Makefile

# New ports collection makefile for: pure-gtk
# Date created: 2011-03-18
# Whom: Zhihao Yuan <lichray@gmail.com>
#
# $FreeBSD$
#
PORTNAME= pure-audio
PORTVERSION= 0.5
CATEGORIES= audio
MAINTAINER= lichray@gmail.com
COMMENT= A digital audio interface for the Pure language
LIB_DEPENDS= portaudio:${PORTSDIR}/audio/portaudio2 \
samplerate:${PORTSDIR}/audio/libsamplerate \
sndfile:${PORTSDIR}/audio/libsndfile \
fftw3:${PORTSDIR}/math/fftw3
USE_PURE= yes
post-patch:
${REINPLACE_CMD} \
-e "s|-lportaudio|-I${LOCALBASE}/include/portaudio2 -L${LOCALBASE}/lib/portaudio2 -lportaudio|" \
-e "s|portaudio.h|portaudio2/portaudio.h|g" \
${WRKSRC}/Makefile
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/lang/pure/bsd.pure.mk"
.include <bsd.port.post.mk>