aboutsummaryrefslogtreecommitdiffstats
path: root/audio/libtunepimp-old/Makefile
blob: f46f92b620068f73502c3cf9e22b605c66d00e64 (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=   2
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
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB= yes
USE_LIBTOOL_VER=15

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>