summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-04-14 16:03:55 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-04-14 16:03:55 +0000
commitd7f75b0e6e4f22f2f6237c273078ed6f6ec47539 (patch)
treede6533bf54b675f97f2637d98abc08070b067962 /audio
parentFix pkg-plist by linking against the system libintl. (diff)
Update to 1.4.6.
PR: ports/79900 Submitted by: Ulrich Spoerlein <q@uni.de> Approved by: adamw (mentor)
Notes
Notes: svn path=/head/; revision=133346
Diffstat (limited to 'audio')
-rw-r--r--audio/mp3gain/Makefile12
-rw-r--r--audio/mp3gain/distinfo4
-rw-r--r--audio/mp3gain/files/Makefile.main2
-rw-r--r--audio/mp3gain/files/patch-mp3gain.c10
-rw-r--r--audio/mp3gain/pkg-descr2
5 files changed, 9 insertions, 21 deletions
diff --git a/audio/mp3gain/Makefile b/audio/mp3gain/Makefile
index c9ca3489062b..68e5ad47808a 100644
--- a/audio/mp3gain/Makefile
+++ b/audio/mp3gain/Makefile
@@ -6,11 +6,11 @@
#
PORTNAME= mp3gain
-PORTVERSION= 1.3.2
+PORTVERSION= 1.4.6
CATEGORIES= audio
-MASTER_SITES= http://www.mpex.net/software/mirror/ \
- http://www.speakeasy.net/~djkarmad/mp3gain/
-DISTNAME= ${PORTNAME}${PORTVERSION:C/\.//g}_src${EXTSUFFIX}
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=${PORTNAME}
+DISTNAME= ${PORTNAME}-${PORTVERSION:C/\./_/g}-src
MAINTAINER= ports@FreeBSD.org
COMMENT= A tool to normalize the gain of mp3 files
@@ -24,11 +24,9 @@ NO_WRKSUBDIR= yes
MAKE_ENV= PREFIX="${PREFIX}"
pre-patch:
- @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e "s/`/usr/bin/printf '\r'`//"
+ @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e "s/`${PRINTF} '\r'`//"
post-patch:
- @${REINPLACE_CMD} -e '906,943s,/?,-h,;921,945s,/,-,g' ${WRKSRC}/mp3gain.c
- @${REINPLACE_CMD} -e 's,\\,/,' ${WRKSRC}/mpglibDBL/interface.h
@${CP} ${FILESDIR}/Makefile.main ${WRKSRC}/Makefile
@${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/mpglibDBL/Makefile
diff --git a/audio/mp3gain/distinfo b/audio/mp3gain/distinfo
index 29e04d21bb13..52b1c8da4cd6 100644
--- a/audio/mp3gain/distinfo
+++ b/audio/mp3gain/distinfo
@@ -1,2 +1,2 @@
-MD5 (mp3gain132_src.zip) = 6d0c8a5d04afeb27927c2b49587cc3f1
-SIZE (mp3gain132_src.zip) = 90384
+MD5 (mp3gain-1_4_6-src.zip) = 4327167375dce5bce97625729a95fdb9
+SIZE (mp3gain-1_4_6-src.zip) = 111408
diff --git a/audio/mp3gain/files/Makefile.main b/audio/mp3gain/files/Makefile.main
index 1d575872a223..62b150adf228 100644
--- a/audio/mp3gain/files/Makefile.main
+++ b/audio/mp3gain/files/Makefile.main
@@ -1,4 +1,4 @@
-SRCS= gain_analysis.c mp3gain.c rg_error.c
+SRCS= gain_analysis.c mp3gain.c rg_error.c apetag.c
PROG= mp3gain
LDADD= -LmpglibDBL -lm -lmpglibDBL
diff --git a/audio/mp3gain/files/patch-mp3gain.c b/audio/mp3gain/files/patch-mp3gain.c
deleted file mode 100644
index bc96e2b25a55..000000000000
--- a/audio/mp3gain/files/patch-mp3gain.c
+++ /dev/null
@@ -1,10 +0,0 @@
--- mp3gain.c.orig Sun Jan 19 07:16:02 2003
-+++ mp3gain.c Sun Jan 19 07:16:37 2003
-@@ -50,6 +50,7 @@
-
- #ifndef WIN32
- #undef asWIN32DLL
-+#include <sys/types.h>
- #include <utime.h>
- #endif /* WIN32 */
-
diff --git a/audio/mp3gain/pkg-descr b/audio/mp3gain/pkg-descr
index 7a440243dbff..70f5a8067158 100644
--- a/audio/mp3gain/pkg-descr
+++ b/audio/mp3gain/pkg-descr
@@ -8,6 +8,6 @@ sounds to the human ear. Also, the changes MP3Gain makes are completely
lossless. There is no quality lost in the change because the program adjusts
the mp3 file directly, without decoding and re-encoding.
-WWW: http://www.geocities.com/mp3gain/
+WWW: http://mp3gain.sourceforge.net/
- Simon 'corecode' Schubert