aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libbs2b/Makefile
blob: 2e6b64a2a1f3f7f87cc4dd86b7a4ab4083a834ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Created by: SimaMoto,RyoTa <liangtai.s4@gmail.com>
# $FreeBSD$

PORTNAME=   libbs2b
PORTVERSION=    3.1.0
PORTREVISION=   2
CATEGORIES= audio
MASTER_SITES=   SF/bs2b/bs2b/${PORTVERSION}

MAINTAINER= liangtai.s4@gmail.com
COMMENT=    Bauer Stereophonic-to-Binaural DSP

LIB_DEPENDS+=   sndfile:${PORTSDIR}/audio/libsndfile \
        ogg:${PORTSDIR}/audio/libogg \
        FLAC:${PORTSDIR}/audio/flac \
        vorbis:${PORTSDIR}/audio/libvorbis

USES=       pkgconfig
USE_BZIP2=  yes
USE_GMAKE=  yes
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS+=    CFLAGS=`pkg-config --cflags sndfile` \
    LDFLAGS=`pkg-config --libs-only-L sndfile`

pre-configure:
    ${REINPLACE_CMD} -e 's@^\(pkgconfigdir = \).*@\1$${prefix}/libdata/pkgconfig@' \
    ${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in

.include <bsd.port.mk>