mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
50ac1fc588
was an update to lofi's update. Notified by: mich
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# New ports collection makefile for: tunepimp
|
|
# Date Created: 11 Aug 2004
|
|
# Whom: Lauri Watts <lauri@kde.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libtunepimp
|
|
PORTVERSION= 0.4.2
|
|
PORTREVISION= 1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://ftp.musicbrainz.org/pub/musicbrainz/ \
|
|
ftp://ftp.au.musicbrainz.org/pub/musicbrainz/
|
|
|
|
MAINTAINER= lauri@kde.org
|
|
COMMENT= Client library for musicbrainz
|
|
|
|
LIB_DEPENDS= FLAC:${PORTSDIR}/audio/flac \
|
|
expat:${PORTSDIR}/textproc/expat2 \
|
|
mad:${PORTSDIR}/audio/libmad \
|
|
mp4v2:${PORTSDIR}/multimedia/mpeg4ip-libmp4v2 \
|
|
musicbrainz:${PORTSDIR}/audio/libmusicbrainz \
|
|
ogg:${PORTSDIR}/audio/libogg \
|
|
tag:${PORTSDIR}/audio/taglib \
|
|
vorbis:${PORTSDIR}/audio/libvorbis
|
|
|
|
CONFLICTS= trm-0*
|
|
USE_GMAKE= yes
|
|
USE_GNOME= gnomehack gnometarget pkgconfig
|
|
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|^CPPFLAGS=|#CPPFLAGS=|g' ${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e 's|-lthr|${PTHREAD_LIBS}|g' \
|
|
${WRKSRC}/lib/threads/posix/Makefile.in
|
|
|
|
post-configure:
|
|
@${REINPLACE_CMD} -e 's|\(^LDFLAGS =.*\)|\1 ${PTHREAD_LIBS} -liconv|g' \
|
|
${WRKSRC}/examples/Makefile
|
|
|
|
.include <bsd.port.mk>
|