aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-02-01 19:18:55 +0800
committerdanfe <danfe@FreeBSD.org>2013-02-01 19:18:55 +0800
commita15de76c3b4ab851bc38574dd06888e27c60bcdb (patch)
treee586ea8cac2e2b5b53f527cc8f13fd5f62c494a8 /audio
parent521011f6dd9265f467fa0d1c1ad8b5038273d685 (diff)
downloadfreebsd-ports-gnome-a15de76c3b4ab851bc38574dd06888e27c60bcdb.tar.gz
freebsd-ports-gnome-a15de76c3b4ab851bc38574dd06888e27c60bcdb.tar.zst
freebsd-ports-gnome-a15de76c3b4ab851bc38574dd06888e27c60bcdb.zip
- Update to version 2.5.1
- Cleanup Makefile a bit while here Submitted by: maintainer
Diffstat (limited to 'audio')
-rw-r--r--audio/mp3splt/Makefile23
-rw-r--r--audio/mp3splt/distinfo4
2 files changed, 17 insertions, 10 deletions
diff --git a/audio/mp3splt/Makefile b/audio/mp3splt/Makefile
index ad16e675cd11..3bd8e1854397 100644
--- a/audio/mp3splt/Makefile
+++ b/audio/mp3splt/Makefile
@@ -1,30 +1,29 @@
-# Created by: Ulrich Spoerlein <q@uni.de>
+# Created by: Ulrich Spoerlein <q@uni.de>
# $FreeBSD$
PORTNAME= mp3splt
-PORTVERSION= 2.4.3
+PORTVERSION= 2.5.1
CATEGORIES= audio
MASTER_SITES= SF/mp3splt/${PORTNAME}/${PORTVERSION}
MAINTAINER= citrin@citrin.ru
-COMMENT= Utility to split mp3 and ogg files (via CUE sheets)
+COMMENT= Utility to split MP3 and Ogg files (via CUE sheets)
LIB_DEPENDS= mp3splt:${PORTSDIR}/audio/libmp3splt
USE_AUTOTOOLS= libltdl
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-oggsplt_symlink --disable-mp3splttest
+
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
-CONFIGURE_ARGS+=--enable-oggsplt_symlink --disable-mp3splttest
-CPPFLAGS+= -I${LOCALBASE}/include
+MAN1= oggsplt.1 mp3splt.1
+PLIST_FILES= bin/mp3splt bin/oggsplt
OPTIONS_DEFINE= NLS
OPTIONS_DEFAULT= NLS
-MAN1= oggsplt.1 mp3splt.1
-PLIST_FILES= bin/mp3splt bin/oggsplt
-
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
@@ -39,4 +38,12 @@ PLIST_DIRSTRY+= share/locale/de_DE
CONFIGURE_ARGS+= --disable-nls
.endif
+post-patch:
+.if ${OSVERSION} < 800067
+# getline() is GNU extension which FreeBSD only recently adopted
+ @${REINPLACE_CMD} -E \
+ 's:getline\(&(.+, )&(.+, .+\) == )-1:fgets(\1\2NULL:' \
+ ${WRKSRC}/src/freedb.c
+.endif
+
.include <bsd.port.mk>
diff --git a/audio/mp3splt/distinfo b/audio/mp3splt/distinfo
index 4225c3439bc3..e19c90c2253e 100644
--- a/audio/mp3splt/distinfo
+++ b/audio/mp3splt/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mp3splt-2.4.3.tar.gz) = cbc1287872d2f17bc00c3cb1f76062203c932a006930e22214fba3c0b6a5ab71
-SIZE (mp3splt-2.4.3.tar.gz) = 238250
+SHA256 (mp3splt-2.5.1.tar.gz) = 90f332987db5883c69a2ef533e2b1555058290036040a76d62345f53d4b4cd80
+SIZE (mp3splt-2.5.1.tar.gz) = 251278