summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-11-26 19:44:51 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-11-26 19:44:51 +0000
commitb1e01cb93745a07f0aaaefd5a7dfbedfee8c9435 (patch)
tree362bf35657308499372fb62b8f41e0f88bc10928 /audio
parentFix build against rerolled tarball (diff)
Support gnomehier
PR: ports/74420 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=122521
Diffstat (limited to 'audio')
-rw-r--r--audio/tagtool/Makefile15
-rw-r--r--audio/tagtool/pkg-plist2
2 files changed, 11 insertions, 6 deletions
diff --git a/audio/tagtool/Makefile b/audio/tagtool/Makefile
index e8a70a5bdb8a..92bc1fe9f6d3 100644
--- a/audio/tagtool/Makefile
+++ b/audio/tagtool/Makefile
@@ -7,6 +7,7 @@
PORTNAME= tagtool
PORTVERSION= 0.11.1
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -18,13 +19,17 @@ LIB_DEPENDS= id3-3.8.3:${PORTSDIR}/audio/id3lib \
vorbis.3:${PORTSDIR}/audio/libvorbis
USE_X_PREFIX= yes
-USE_LIBTOOL_VER=15
+USE_GNOME= gnomehier libglade2
+USE_REINPLACE= yes
USE_GMAKE= yes
+USE_LIBTOOL_VER= 15
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
-USE_GNOME= libglade2
+CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
-DATADIR= share/tagtool
+post-patch:
+ @${REINPLACE_CMD} -e 's|(datadir)/pixmaps|(datadir)/gnome/pixmaps|g' \
+ ${WRKSRC}/pixmaps/Makefile.in
.include <bsd.port.mk>
diff --git a/audio/tagtool/pkg-plist b/audio/tagtool/pkg-plist
index 6bc406c85cab..cd363aa6089f 100644
--- a/audio/tagtool/pkg-plist
+++ b/audio/tagtool/pkg-plist
@@ -1,6 +1,6 @@
bin/tagtool
share/gnome/apps/Multimedia/tagtool.desktop
-share/pixmaps/TagTool.png
+share/gnome/pixmaps/TagTool.png
%%DATADIR%%/TagTool.png
%%DATADIR%%/edit.png
%%DATADIR%%/fail.png