Depend on current libtunepimp.

PR:	ports/111440
Submitted by:	Li-Wen Hsu <lwhsu@FreeBSD.org>
This commit is contained in:
Michael Nottebrock 2007-04-15 09:35:14 +00:00
parent 65effc8736
commit 27bb4fb312
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=189990

View File

@ -7,6 +7,7 @@
PORTNAME= juk
PORTVERSION= ${KDE_VERSION}
PORTREVISION= 1
CATEGORIES= audio kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
@ -20,7 +21,7 @@ COMMENT= KDE audio player
LIB_DEPENDS= akode:${PORTSDIR}/audio/akode \
musicbrainz:${PORTSDIR}/audio/libmusicbrainz \
tag:${PORTSDIR}/audio/taglib \
tunepimp-0.4.3:${PORTSDIR}/audio/libtunepimp-old
tunepimp:${PORTSDIR}/audio/libtunepimp
CONFLICTS= kdemultimedia-3.3*
@ -30,12 +31,11 @@ USE_KDELIBS_VER=3
PREFIX= ${KDE_PREFIX}
USE_BZIP2= yes
USE_AUTOTOOLS= libtool:15
USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/kdemultimedia-${PORTVERSION}
USE_LDCONFIG= yes
CONFIGURE_ARGS+=CFLAGS=-I${LOCALBASE}/include/tunepimp-0.4 \
LDFLAGS=-L${LOCALBASE}/lib/tunepimp-0.4
INSTALLS_ICONS= yes
.include <bsd.port.pre.mk>
@ -64,9 +64,6 @@ pre-everything::
post-patch:
@${REINPLACE_CMD} -e 's|LIBS="-ltunepimp $$LIBS"|LIBS="-ltunepimp -liconv $$LIBS"|g' \
${WRKSRC}/configure
@${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}/juk/ktrm.cpp ${WRKSRC}/juk/Makefile.in
do-build:
cd ${WRKSRC}/arts/runtime && ${SETENV} ${MAKE_ENV} ${GMAKE}