mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-31 05:41:08 +00:00
a30485cbd4
PR: ports/168686 Submitted by: Zhihao Yuan <lichray@gmail.com> (maintainer)
31 lines
772 B
Makefile
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>
|