aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2003-12-04 18:16:48 +0800
committerpav <pav@FreeBSD.org>2003-12-04 18:16:48 +0800
commitd4d5c512e0f9b8de136fc1c0db5da573326d2da5 (patch)
tree001856293e589011015eb75528e73ff4381b456d /audio
parent5990ff808d5bf41f3813c20dfb1344a27fdda788 (diff)
downloadfreebsd-ports-gnome-d4d5c512e0f9b8de136fc1c0db5da573326d2da5.tar.gz
freebsd-ports-gnome-d4d5c512e0f9b8de136fc1c0db5da573326d2da5.tar.zst
freebsd-ports-gnome-d4d5c512e0f9b8de136fc1c0db5da573326d2da5.zip
- Update to 0.10.2
- Use gnomehack and covert patching to sed_reinplace PR: ports/59924 Submitted by: Jean-Yves Lefort <jylefort@brutele.be> (maintainer)
Diffstat (limited to 'audio')
-rw-r--r--audio/streamtuner/Makefile9
-rw-r--r--audio/streamtuner/distinfo2
-rw-r--r--audio/streamtuner/files/patch-aa21
-rw-r--r--audio/streamtuner/files/patch-ab11
-rw-r--r--audio/streamtuner/pkg-plist1
5 files changed, 9 insertions, 35 deletions
diff --git a/audio/streamtuner/Makefile b/audio/streamtuner/Makefile
index 8775505702a9..db61ed851896 100644
--- a/audio/streamtuner/Makefile
+++ b/audio/streamtuner/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= streamtuner
-PORTVERSION= 0.10.1
+PORTVERSION= 0.10.2
CATEGORIES= audio www
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}.pkg/${PORTVERSION}
@@ -17,11 +17,16 @@ COMMENT= A GTK+ stream directory browser
LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl
USE_X_PREFIX= yes
-USE_GNOME= gtk20
+USE_GNOME= gtk20 gnomehack
USE_LIBTOOL_VER= 15
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAN1= streamtuner.1 streamtuner-theme-convert.1
+post-patch:
+ @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|[(]datadir[)]/pixmaps|(prefix)/share/gnome/pixmaps|g ; \
+ s|[(]datadir[)]/applications|(prefix)/share/gnome/applications|g'
+
.include <bsd.port.mk>
diff --git a/audio/streamtuner/distinfo b/audio/streamtuner/distinfo
index 314b589f9d6f..c726c2ccd34d 100644
--- a/audio/streamtuner/distinfo
+++ b/audio/streamtuner/distinfo
@@ -1 +1 @@
-MD5 (streamtuner-0.10.1.tar.gz) = ef6305a9de5ca80b3f9a7341b3a3fe6e
+MD5 (streamtuner-0.10.2.tar.gz) = 44d0773c118966adf14780b0d670f2dc
diff --git a/audio/streamtuner/files/patch-aa b/audio/streamtuner/files/patch-aa
deleted file mode 100644
index 499b7f2fbb61..000000000000
--- a/audio/streamtuner/files/patch-aa
+++ /dev/null
@@ -1,21 +0,0 @@
---- extras/Makefile.in.orig Thu Sep 18 09:14:07 2003
-+++ extras/Makefile.in Thu Sep 18 09:16:01 2003
-@@ -162,6 +162,7 @@
- infodir = @infodir@
- install_sh = @install_sh@
- libdir = @libdir@
-+libdatadir = @prefix@/libdata
- libexecdir = @libexecdir@
- localstatedir = @localstatedir@
- mandir = @mandir@
-@@ -172,8 +173,8 @@
- sharedstatedir = @sharedstatedir@
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
--pkgconfigdir = $(libdir)/pkgconfig
--applicationsdir = $(datadir)/applications
-+pkgconfigdir = $(libdatadir)/pkgconfig
-+applicationsdir = $(datadir)/gnome/applications
-
- pkgconfig_DATA = streamtuner.pc
- applications_DATA = streamtuner.desktop
diff --git a/audio/streamtuner/files/patch-ab b/audio/streamtuner/files/patch-ab
deleted file mode 100644
index 293c7550fb2b..000000000000
--- a/audio/streamtuner/files/patch-ab
+++ /dev/null
@@ -1,11 +0,0 @@
---- art/Makefile.in.orig Thu Sep 18 09:16:29 2003
-+++ art/Makefile.in Thu Sep 18 09:16:39 2003
-@@ -172,7 +172,7 @@
- sharedstatedir = @sharedstatedir@
- sysconfdir = @sysconfdir@
- target_alias = @target_alias@
--pixmapsdir = $(datadir)/pixmaps
-+pixmapsdir = $(datadir)/gnome/pixmaps
- pixmaps_DATA = streamtuner.png
-
- IMAGES = \
diff --git a/audio/streamtuner/pkg-plist b/audio/streamtuner/pkg-plist
index 11c9b4d4cb71..83698a206390 100644
--- a/audio/streamtuner/pkg-plist
+++ b/audio/streamtuner/pkg-plist
@@ -17,6 +17,7 @@ lib/streamtuner/plugins/shoutcast.so
libdata/pkgconfig/streamtuner.pc
share/gnome/applications/streamtuner.desktop
share/gnome/pixmaps/streamtuner.png
+share/locale/de/LC_MESSAGES/streamtuner.mo
share/locale/fr/LC_MESSAGES/streamtuner.mo
@dirrm include/streamtuner
@dirrm lib/streamtuner/plugins