ports/166900: update port: audio/mp3splt
Timothy Beyer
beyert at cs.ucr.edu
Fri Apr 13 06:40:11 UTC 2012
>Number: 166900
>Category: ports
>Synopsis: update port: audio/mp3splt
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Fri Apr 13 06:40:11 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Timothy Beyer
>Release: FreeBSD 9.0-RELEASE i386
>Organization:
no organization
>Environment:
System: FreeBSD aeonserv.aeonnet 9.0-RELEASE FreeBSD 9.0-RELEASE #9: Fri Mar 9 00:02:30 PST 2012 root at aeonserv.aeonnet:/usr/obj/usr/src/sys/CUSTOM i386
>Description:
- Update port to version 2.4.1.
- Recommended to process the PR for port for audio/libmp3splt
(http://www.freebsd.org/cgi/query-pr.cgi?pr=166899) first, but this update to
audio/mp3splt should compile with the current version as well.
- Add pkg-plist. Generated using genplist, with a few small modifications.
- Simplify NLS option.
>How-To-Repeat:
apply the patch and build
>Fix:
Apply the patch and build
--- mp3splt.diff begins here ---
Index: audio/mp3splt/Makefile
==================================================================
--- audio/mp3splt/Makefile
+++ audio/mp3splt/Makefile
@@ -4,13 +4,13 @@
#
# $FreeBSD: ports/audio/mp3splt/Makefile,v 1.32 2011/09/23 22:21:07 amdmi3 Exp $
#
PORTNAME= mp3splt
-PORTVERSION= 2.4
+PORTVERSION= 2.4.1
CATEGORIES= audio
-MASTER_SITES= SF
+MASTER_SITES= SF/mp3splt/${PORTNAME}
MAINTAINER= citrin at citrin.ru
COMMENT= Utility to split mp3 and ogg files (via CUE sheets)
LIB_DEPENDS= mp3splt:${PORTSDIR}/audio/libmp3splt
@@ -24,22 +24,17 @@
CPPFLAGS+= -I${LOCALBASE}/include
OPTIONS= NLS "Native language support" on
MAN1= oggsplt.1 mp3splt.1
-PLIST_FILES= bin/mp3splt bin/oggsplt
.include <bsd.port.pre.mk>
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT= yes
-LANGUAGES= de_DE es fr_FR
-.for language in ${LANGUAGES}
-PLIST_FILES+= share/locale/${language}/LC_MESSAGES/mp3splt.mo
-.endfor
-PLIST_FILES+= "@dirrmtry share/locale/de_DE/LC_MESSAGES"
-PLIST_FILES+= "@dirrmtry share/locale/de_DE"
+PLIST_SUB+= NLS=""
.endif
.include <bsd.port.post.mk>
Index: audio/mp3splt/distinfo
==================================================================
--- audio/mp3splt/distinfo
+++ audio/mp3splt/distinfo
@@ -1,2 +1,2 @@
-SHA256 (mp3splt-2.4.tar.gz) = bbd5932da82dc4bf02052f8ad14888414d57056f0f2f56a9e5799c40e03aa1a8
-SIZE (mp3splt-2.4.tar.gz) = 232170
+SHA256 (mp3splt-2.4.1.tar.gz) = e625bf7d3f11d69572794a8b9e85729c5c0b99ad52f5dbc4eafdea4644400d6e
+SIZE (mp3splt-2.4.1.tar.gz) = 236103
ADDED audio/mp3splt/pkg-plist
Index: audio/mp3splt/pkg-plist
==================================================================
--- audio/mp3splt/pkg-plist
+++ audio/mp3splt/pkg-plist
@@ -0,0 +1,6 @@
+bin/mp3splt
+bin/oggsplt
+%%NLS%%share/locale/cs/LC_MESSAGES/mp3splt.mo
+%%NLS%%share/locale/de_DE/LC_MESSAGES/mp3splt.mo
+%%NLS%%share/locale/es/LC_MESSAGES/mp3splt.mo
+%%NLS%%share/locale/fr_FR/LC_MESSAGES/mp3splt.mo
--- mp3splt.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list