aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libtunepimp/Makefile
blob: a65220e9c28e00891955cc413a7a5547322b7596 (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
31
32
33
34
35
36
37
38
39
40
# New ports collection makefile for:    tunepimp
# Date Created:             11 Aug 2004
# Whom:                 Lauri Watts <lauri@kde.org>
#
# $FreeBSD$
#

PORTNAME=   libtunepimp
PORTVERSION=    0.3.0
PORTREVISION=   1
PORTEPOCH=  1
CATEGORIES= audio
MASTER_SITES=   ftp://ftp.musicbrainz.org/pub/musicbrainz/

MAINTAINER= lauri@kde.org
COMMENT=    Client library for musicbrainz

LIB_DEPENDS=    vorbis:${PORTSDIR}/audio/libvorbis \
        FLAC:${PORTSDIR}/audio/flac \
        mad:${PORTSDIR}/audio/libmad \
        ogg:${PORTSDIR}/audio/libogg \
        expat:${PORTSDIR}/textproc/expat2 \
        musicbrainz:${PORTSDIR}/audio/libmusicbrainz

CONFLICTS=  trm-0*
USE_GMAKE=  yes
USE_GNOME=  gnomehack gnometarget pkgconfig
USE_REINPLACE=  yes
USE_AUTOTOOLS=  libtool:15
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes

post-patch:
    @${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g ; \
         s|^CXXFLAGS=|#CXXFLAGS=|g' ${WRKSRC}/configure
    @${REINPLACE_CMD} -e 's|-lthr|${PTHREAD_LIBS}|g' \
        ${WRKSRC}/lib/threads/posix/Makefile.in

.include <bsd.port.mk>