summaryrefslogtreecommitdiffstats
path: root/audio/mp3gain
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2005-04-14 16:03:55 +0000
committerjylefort <jylefort@FreeBSD.org>2005-04-14 16:03:55 +0000
commitbe570fdf20df2310591968a7752fcaca831a572b (patch)
treee55c626262b14fcff99c85440d2fd102faf3035d /audio/mp3gain
parenta4edfee6907657c90c08faef6379bc98e8c2a2e1 (diff)
downloadFreeBSD-ports-be570fdf20df2310591968a7752fcaca831a572b.zip
FreeBSD-ports-be570fdf20df2310591968a7752fcaca831a572b.tar.gz
Update to 1.4.6.
PR: ports/79900 Submitted by: Ulrich Spoerlein <q@uni.de> Approved by: adamw (mentor)
Diffstat (limited to 'audio/mp3gain')
-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 c9ca348..68e5ad4 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 29e04d2..52b1c8d 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 1d57587..62b150a 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 bc96e2b..0000000
--- 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 7a44024..70f5a80 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
OpenPOWER on IntegriCloud