import ports/audio/cuetools, ok aja@
cuetools is a set of utilities for working with Cue Sheet (cue) and Table of Contents (toc) files. It includes: cueconvert - convert between the cue and toc formats cuebreakpoints - print the breakpoints from a cue or toc file cueprint - print disc and track infomation for a cue or toc file
This commit is contained in:
parent
bd3f871e81
commit
3a80a7f8fc
28
audio/cuetools/Makefile
Normal file
28
audio/cuetools/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/10/11 14:17:17 sthen Exp $
|
||||
|
||||
COMMENT= tools for handling audio-file cue sheets and toc files
|
||||
|
||||
DISTNAME= cuetools-1.3.1
|
||||
|
||||
CATEGORIES= audio textproc
|
||||
|
||||
HOMEPAGE= http://developer.berlios.de/projects/cuetools/
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
WANTLIB += c
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_BERLIOS:=cuetools/}
|
||||
|
||||
SEPARATE_BUILD= Yes
|
||||
USE_GMAKE= Yes
|
||||
CONFIGURE_STYLE= gnu
|
||||
|
||||
post-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/extras/cuetag.sh ${PREFIX}/bin/cuetag
|
||||
|
||||
.include <bsd.port.mk>
|
2
audio/cuetools/distinfo
Normal file
2
audio/cuetools/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (cuetools-1.3.1.tar.gz) = brVPphnlXLczSLK/xxJio5TNooD2E9ORPox2bZyyvd4=
|
||||
SIZE (cuetools-1.3.1.tar.gz) = 161483
|
30
audio/cuetools/patches/patch-extras_cuetag_sh
Normal file
30
audio/cuetools/patches/patch-extras_cuetag_sh
Normal file
@ -0,0 +1,30 @@
|
||||
$OpenBSD: patch-extras_cuetag_sh,v 1.1.1.1 2012/10/11 14:17:17 sthen Exp $
|
||||
--- extras/cuetag.sh.orig Wed Feb 15 01:10:02 2006
|
||||
+++ extras/cuetag.sh Thu Oct 11 12:36:59 2012
|
||||
@@ -63,7 +63,7 @@ vorbis()
|
||||
(for field in $fields; do
|
||||
value=""
|
||||
for conv in `eval echo \\$$field`; do
|
||||
- value=`$CUEPRINT -n $1 -t "$conv\n" $cue_file`
|
||||
+ value=`$CUEPRINT -n $1 -t "$conv\n" "$cue_file"`
|
||||
|
||||
if [ -n "$value" ]; then
|
||||
echo "$field=$value"
|
||||
@@ -96,7 +96,7 @@ id3()
|
||||
for field in $fields; do
|
||||
value=""
|
||||
for conv in `eval echo \\$$field`; do
|
||||
- value=`$CUEPRINT -n $1 -t "$conv\n" $cue_file`
|
||||
+ value=`$CUEPRINT -n $1 -t "$conv\n" "$cue_file"`
|
||||
|
||||
if [ -n "$value" ]; then
|
||||
break
|
||||
@@ -141,7 +141,7 @@ main()
|
||||
cue_file=$1
|
||||
shift
|
||||
|
||||
- ntrack=`cueprint -d '%N' $cue_file`
|
||||
+ ntrack=`cueprint -d '%N' "$cue_file"`
|
||||
trackno=1
|
||||
|
||||
if [ $# -ne $ntrack ]; then
|
6
audio/cuetools/pkg/DESCR
Normal file
6
audio/cuetools/pkg/DESCR
Normal file
@ -0,0 +1,6 @@
|
||||
cuetools is a set of utilities for working with Cue Sheet (cue) and Table of
|
||||
Contents (toc) files. It includes:
|
||||
|
||||
cueconvert - convert between the cue and toc formats
|
||||
cuebreakpoints - print the breakpoints from a cue or toc file
|
||||
cueprint - print disc and track infomation for a cue or toc file
|
8
audio/cuetools/pkg/PLIST
Normal file
8
audio/cuetools/pkg/PLIST
Normal file
@ -0,0 +1,8 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/10/11 14:17:17 sthen Exp $
|
||||
@bin bin/cuebreakpoints
|
||||
@bin bin/cueconvert
|
||||
@bin bin/cueprint
|
||||
bin/cuetag
|
||||
@man man/man1/cuebreakpoints.1
|
||||
@man man/man1/cueconvert.1
|
||||
@man man/man1/cueprint.1
|
Loading…
x
Reference in New Issue
Block a user