aboutsummaryrefslogtreecommitdiff
path: root/audio/libtunepimp-old/Makefile
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/libtunepimp-old/Makefile
parentbb7c6094dcdc2e784d08d5c71a3d35e56d4af6fc (diff)
downloadports-66d2f41cda6cfb77eedf1dc9bfe77fe53e3fe2e5.tar.gz
ports-66d2f41cda6cfb77eedf1dc9bfe77fe53e3fe2e5.zip
Notes
Diffstat (limited to 'audio/libtunepimp-old/Makefile')
-rw-r--r--audio/libtunepimp-old/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/audio/libtunepimp-old/Makefile b/audio/libtunepimp-old/Makefile
index 3e817f6e8ea0..14ad91b7af8c 100644
--- a/audio/libtunepimp-old/Makefile
+++ b/audio/libtunepimp-old/Makefile
@@ -7,7 +7,7 @@
PORTNAME= libtunepimp-old
PORTVERSION= 0.4.2
-PORTREVISION= 2
+PORTREVISION= 3
PORTEPOCH= 2
CATEGORIES= audio
MASTER_SITES= http://ftp.musicbrainz.org/pub/musicbrainz/ \
@@ -30,9 +30,12 @@ CONFLICTS= trm-0* libtunepimp-0*
USE_GMAKE= yes
USE_GNOME= gnomehack gnometarget pkgconfig
USE_AUTOTOOLS= libtool:15
+CONFIGURE_ARGS= --libdir=${PREFIX}/lib/tunepimp-0.4 --includedir=${PREFIX}/include/tunepimp-0.4
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -liconv"
INSTALLS_SHLIB= yes
+LDCONFIG_DIRS= %%PREFIX%%/lib/tunepimp-0.4
+USE_LDCONFIG= ${PREFIX}/lib/tunepimp-0.4
post-patch:
@${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g ; \
@@ -43,5 +46,9 @@ post-patch:
post-configure:
@${REINPLACE_CMD} -e 's|\(^LDFLAGS =.*\)|\1 ${PTHREAD_LIBS} -liconv|g' \
${WRKSRC}/examples/Makefile
+ @${REINPLACE_CMD} -e \
+ 's|PREFIX"/lib/tunepimp/plugins"|PREFIX"/lib/tunepimp-0.4/tunepimp/plugins"|g' \
+ ${WRKSRC}/lib/tunepimp.cpp
+
.include <bsd.port.mk>