2004-08-10 21:31:01 -04:00
|
|
|
# New ports collection makefile for: tunepimp
|
|
|
|
# Date Created: 11 Aug 2004
|
|
|
|
# Whom: Lauri Watts <lauri@kde.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libtunepimp
|
|
|
|
PORTVERSION= 0.3.0
|
2004-08-14 18:03:48 -04:00
|
|
|
PORTREVISION= 1
|
2004-08-10 21:31:01 -04:00
|
|
|
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
|
|
|
|
|
|
|
|
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
|
2004-08-14 18:03:48 -04:00
|
|
|
@${REINPLACE_CMD} -e 's|-lthr|${PTHREAD_LIBS}|g' \
|
|
|
|
${WRKSRC}/lib/threads/posix/Makefile.in
|
2004-08-10 21:31:01 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|