aboutsummaryrefslogtreecommitdiff
path: root/audio/kid3
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2006-09-12 21:49:38 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2006-09-12 21:49:38 +0000
commit66d2f41cda6cfb77eedf1dc9bfe77fe53e3fe2e5 (patch)
tree3aec6beda323bde882d99206ae0b01f7446aeffa /audio/kid3
parentbb7c6094dcdc2e784d08d5c71a3d35e56d4af6fc (diff)
downloadports-66d2f41cda6cfb77eedf1dc9bfe77fe53e3fe2e5.tar.gz
ports-66d2f41cda6cfb77eedf1dc9bfe77fe53e3fe2e5.zip
Notes
Diffstat (limited to 'audio/kid3')
-rw-r--r--audio/kid3/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/audio/kid3/Makefile b/audio/kid3/Makefile
index db00fb96062d..04c9e9d69e2d 100644
--- a/audio/kid3/Makefile
+++ b/audio/kid3/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= id3-3.8.3:${PORTSDIR}/audio/id3lib \
FLAC.7:${PORTSDIR}/audio/flac \
ogg.5:${PORTSDIR}/audio/libogg \
vorbis.3:${PORTSDIR}/audio/libvorbis \
- tunepimp.3:${PORTSDIR}/audio/libtunepimp-old
+ tunepimp-0.4.3:${PORTSDIR}/audio/libtunepimp-old
USE_KDELIBS_VER=3
USE_GMAKE= yes
@@ -26,6 +26,14 @@ USE_AUTOTOOLS= libtool:15
USE_GETTEXT= yes
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
+CONFIGURE_ARGS+=CFLAGS=-I${LOCALBASE}/include/tunepimp-0.4 \
+ LDFLAGS=-L${LOCALBASE}/lib/tunepimp-0.4
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-ltunepimp|-ltunepimp-0.4|g' \
+ -e 's|<tunepimp/tp_c.h>|<tunepimp-0.4/tunepimp/tp_c.h>|g' \
+ ${WRKSRC}/configure ${WRKSRC}/kid3/musicbrainzclient.h \
+ ${WRKSRC}/admin/Makefile
.include <bsd.port.pre.mk>