1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

- Update to version 2.5.1

- Cleanup Makefile a bit while here

Submitted by:	maintainer
This commit is contained in:
Alexey Dokuchaev 2013-02-01 11:18:55 +00:00
parent 3c82823874
commit d9a434e066
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=311368
2 changed files with 18 additions and 11 deletions

View File

@ -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
OPTIONS_DEFINE= NLS
OPTIONS_DEFAULT= NLS
MAN1= oggsplt.1 mp3splt.1
PLIST_FILES= bin/mp3splt bin/oggsplt
OPTIONS_DEFINE= NLS
OPTIONS_DEFAULT= NLS
.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>

View File

@ -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