svn commit: r311368 - head/audio/mp3splt
Alexey Dokuchaev
danfe at FreeBSD.org
Fri Feb 1 11:18:56 UTC 2013
Author: danfe
Date: Fri Feb 1 11:18:55 2013
New Revision: 311368
URL: http://svnweb.freebsd.org/changeset/ports/311368
Log:
- Update to version 2.5.1
- Cleanup Makefile a bit while here
Submitted by: maintainer
Modified:
head/audio/mp3splt/Makefile
head/audio/mp3splt/distinfo
Modified: head/audio/mp3splt/Makefile
==============================================================================
--- head/audio/mp3splt/Makefile Fri Feb 1 10:55:26 2013 (r311367)
+++ head/audio/mp3splt/Makefile Fri Feb 1 11:18:55 2013 (r311368)
@@ -1,30 +1,29 @@
-# Created by: Ulrich Spoerlein <q at uni.de>
+# Created by: Ulrich Spoerlein <q at uni.de>
# $FreeBSD$
PORTNAME= mp3splt
-PORTVERSION= 2.4.3
+PORTVERSION= 2.5.1
CATEGORIES= audio
MASTER_SITES= SF/mp3splt/${PORTNAME}/${PORTVERSION}
MAINTAINER= citrin at 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>
Modified: head/audio/mp3splt/distinfo
==============================================================================
--- head/audio/mp3splt/distinfo Fri Feb 1 10:55:26 2013 (r311367)
+++ head/audio/mp3splt/distinfo Fri Feb 1 11:18:55 2013 (r311368)
@@ -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
More information about the svn-ports-head
mailing list