summaryrefslogtreecommitdiff
path: root/audio/xmms-volnorm
diff options
context:
space:
mode:
authorSam Lawrance <lawrance@FreeBSD.org>2006-05-14 11:08:38 +0000
committerSam Lawrance <lawrance@FreeBSD.org>2006-05-14 11:08:38 +0000
commit1dcf9c064879f948d59b3a88f3f681616730cf86 (patch)
tree999094f4c772e5d4f5e670da5f328752485e0351 /audio/xmms-volnorm
parentUse SUB_FILES instead of post-patch commands. (diff)
Update to 0.8.3.
PR: ports/97224 Submitted by: Ports Fury
Diffstat (limited to 'audio/xmms-volnorm')
-rw-r--r--audio/xmms-volnorm/Makefile19
-rw-r--r--audio/xmms-volnorm/distinfo6
-rw-r--r--audio/xmms-volnorm/files/patch-Makefile.in11
-rw-r--r--audio/xmms-volnorm/files/patch-ltmain.sh28
-rw-r--r--audio/xmms-volnorm/files/patch-src::Makefile.in17
5 files changed, 16 insertions, 65 deletions
diff --git a/audio/xmms-volnorm/Makefile b/audio/xmms-volnorm/Makefile
index e28bc3a2a781..5cdc79fc044d 100644
--- a/audio/xmms-volnorm/Makefile
+++ b/audio/xmms-volnorm/Makefile
@@ -6,10 +6,11 @@
#
PORTNAME= volnorm
-PORTVERSION= 0.8.1
+PORTVERSION= 0.8.3
PORTREVISION= 2
CATEGORIES= audio
-MASTER_SITES= http://volnorm.sourceforge.net/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX= xmms-
MAINTAINER= ports@FreeBSD.org
@@ -17,11 +18,17 @@ COMMENT= Volume Normalizer plugin for XMMS
LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms
-PLIST_FILES= lib/xmms/Effect/libnormvol.so
USE_X_PREFIX= yes
-USE_GNOME= gtk12
+USE_GNOME= gnometarget gtk12
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
-INSTALLS_SHLIB= yes
+
+PLIST_FILES= lib/xmms/Effect/libnormvol.so
+
+post-patch:
+ @${REINPLACE_CMD} -e '/^SUBDIRS/s|tests||g' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e '/^COMMON/s|-O2|@CFLAGS@|g' ${WRKSRC}/src/Makefile.in
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/src/.libs/libnormvol.so ${PREFIX}/lib/xmms/Effect
.include <bsd.port.mk>
diff --git a/audio/xmms-volnorm/distinfo b/audio/xmms-volnorm/distinfo
index 4a75eec08215..e7e9dc5e44a7 100644
--- a/audio/xmms-volnorm/distinfo
+++ b/audio/xmms-volnorm/distinfo
@@ -1,3 +1,3 @@
-MD5 (volnorm-0.8.1.tar.gz) = f5d08347e7ff3e23ccdbf664e5f6f901
-SHA256 (volnorm-0.8.1.tar.gz) = 680b3411b5b425673e093f61010b1701c55579536274f23ee924c81577f62ecf
-SIZE (volnorm-0.8.1.tar.gz) = 254556
+MD5 (volnorm-0.8.3.tar.gz) = 369e6b814143a94ff4d6666734e6af9a
+SHA256 (volnorm-0.8.3.tar.gz) = 85edb009c82b21759b03b0dc6b9b35a3c6302cb6da09205ef9edb91000b24451
+SIZE (volnorm-0.8.3.tar.gz) = 695631
diff --git a/audio/xmms-volnorm/files/patch-Makefile.in b/audio/xmms-volnorm/files/patch-Makefile.in
deleted file mode 100644
index d28c11ae1405..000000000000
--- a/audio/xmms-volnorm/files/patch-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.in.orig Fri Aug 17 13:47:34 2001
-+++ Makefile.in Fri Aug 17 13:47:50 2001
-@@ -87,7 +87,7 @@
- XMMS_PATH = @XMMS_PATH@
- plugindir = @plugindir@
-
--SUBDIRS = src tests
-+SUBDIRS = src
-
- DISTCLEANFILES = *.orig *.rej *~ *.bak core
-
diff --git a/audio/xmms-volnorm/files/patch-ltmain.sh b/audio/xmms-volnorm/files/patch-ltmain.sh
deleted file mode 100644
index 98cb05e4ddb3..000000000000
--- a/audio/xmms-volnorm/files/patch-ltmain.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-
-$FreeBSD$
-
---- ltmain.sh 2001/08/27 09:51:26 1.1
-+++ ltmain.sh 2001/08/27 09:51:42
-@@ -2408,6 +2408,9 @@
- *-*-netbsd*)
- # Don't link with libc until the a.out ld.so is fixed.
- ;;
-+ *-*-freebsd*)
-+ # FreeBSD doesn't need this...
-+ ;;
- *)
- # Add libc to deplibs on all other systems if necessary.
- if test "$build_libtool_need_lc" = "yes"; then
-@@ -4175,10 +4178,12 @@
- fi
-
- # Install the pseudo-library for information purposes.
-+ if /usr/bin/false; then
- name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- instname="$dir/$name"i
- $show "$install_prog $instname $destdir/$name"
- $run eval "$install_prog $instname $destdir/$name" || exit $?
-+ fi
-
- # Maybe install the static library, too.
- test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/audio/xmms-volnorm/files/patch-src::Makefile.in b/audio/xmms-volnorm/files/patch-src::Makefile.in
deleted file mode 100644
index 914b49357d77..000000000000
--- a/audio/xmms-volnorm/files/patch-src::Makefile.in
+++ /dev/null
@@ -1,17 +0,0 @@
---- src/Makefile.in.orig Sun Aug 5 14:11:52 2001
-+++ src/Makefile.in Fri Aug 17 13:24:06 2001
-@@ -95,12 +95,12 @@
- libnormvol_la_LDFLAGS = -module -avoid-version
- libnormvol_la_LIBS = @GTK_LIBS@ @PTHREAD_LIBS@ @INTLLIBS@
-
--COMMON_CFLAGS = -O2 -Wall -W -I$(top_builddir) -I$(top_srcdir) -D_REENTRANT @GTK_CFLAGS@
-+COMMON_CFLAGS = -Wall -I$(top_builddir) -I$(top_srcdir) -D_REENTRANT @GTK_CFLAGS@
-
- COMMON_SRC = normvol.c normvol.h smooth.c smooth.h cfg.c cfg.h about.c about.h config.h monitor.c monitor.h support.c support.h interface.c interface.h callbacks.c callbacks.h
-
-
--CFLAGS = $(COMMON_CFLAGS)
-+CFLAGS += $(COMMON_CFLAGS)
- libnormvol_la_SOURCES = $(COMMON_SRC)
- mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
- CONFIG_HEADER = config.h