mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
audio/cuetools: update to 1.4.1
- Update to 1.4.1; - Project has moved to github, so use USE_GITHUB and update WWW; - Remove EXAMPLES option and install cuetag.sh unconditionally; - Take maintainership. Differential Revision: https://reviews.freebsd.org/D13605 Reviewed by: jrm
This commit is contained in:
parent
e298876df8
commit
bfaa9a92c7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=460181
@ -2,31 +2,27 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= cuetools
|
||||
PORTVERSION= 1.3.1
|
||||
PORTREVISION= 3
|
||||
DISTVERSION= 1.4.1
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= BERLIOS
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= novel@FreeBSD.org
|
||||
COMMENT= Utilities for working with CUE and TOC files
|
||||
|
||||
LICENSE= GPLv2+
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= gmake
|
||||
USES= autoreconf gmake
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
PORTDOCS= README
|
||||
PORTEXAMPLES= cuetag.sh
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= svend
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
PORTDOCS= README.md
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
post-install-EXAMPLES-on:
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/extras/cuetag.sh ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,3 @@
|
||||
SHA256 (cuetools-1.3.1.tar.gz) = 6eb54fa619e55cb73348b2bfc71262a394cda280f613d3913e8c766d9cb2bdde
|
||||
SIZE (cuetools-1.3.1.tar.gz) = 161483
|
||||
TIMESTAMP = 1514103796
|
||||
SHA256 (svend-cuetools-1.4.1_GH0.tar.gz) = 24a2420f100c69a6539a9feeb4130d19532f9f8a0428a8b9b289c6da761eb107
|
||||
SIZE (svend-cuetools-1.4.1_GH0.tar.gz) = 32720
|
||||
|
@ -1,55 +0,0 @@
|
||||
--- extras/cuetag.sh.orig 2006-02-15 00:10:02 UTC
|
||||
+++ extras/cuetag.sh
|
||||
@@ -18,7 +18,7 @@ vorbis()
|
||||
{
|
||||
# FLAC tagging
|
||||
# --remove-vc-all overwrites existing comments
|
||||
- METAFLAC="metaflac --remove-vc-all --import-vc-from=-"
|
||||
+ METAFLAC="metaflac --remove-all-tags --import-tags-from=-"
|
||||
|
||||
# Ogg Vorbis tagging
|
||||
# -w overwrites existing comments
|
||||
@@ -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,14 +141,14 @@ main()
|
||||
cue_file=$1
|
||||
shift
|
||||
|
||||
- ntrack=`cueprint -d '%N' $cue_file`
|
||||
+ ntrack=`cueprint -d '%N' "$cue_file"`
|
||||
trackno=1
|
||||
|
||||
if [ $# -ne $ntrack ]; then
|
||||
echo "warning: number of files does not match number of tracks"
|
||||
fi
|
||||
|
||||
- for file in $@; do
|
||||
+ for file in "$@"; do
|
||||
case $file in
|
||||
*.[Ff][Ll][Aa][Cc])
|
||||
vorbis $trackno "$file"
|
||||
@@ -160,7 +160,7 @@ main()
|
||||
id3 $trackno "$file"
|
||||
;;
|
||||
*)
|
||||
- echo "$file: uknown file type"
|
||||
+ echo "$file: unknown file type"
|
||||
;;
|
||||
esac
|
||||
trackno=$(($trackno + 1))
|
@ -4,4 +4,4 @@ It contains:
|
||||
- cuebreakpoints: print the breakpoints from a cue or toc file
|
||||
- cueprint: print disc and track information for a cue or toc file
|
||||
|
||||
WWW: http://developer.berlios.de/projects/cuetools/
|
||||
WWW: https://github.com/svend/cuetools
|
||||
|
@ -1,6 +1,7 @@
|
||||
bin/cuebreakpoints
|
||||
bin/cueconvert
|
||||
bin/cueprint
|
||||
bin/cuetag.sh
|
||||
man/man1/cuebreakpoints.1.gz
|
||||
man/man1/cueconvert.1.gz
|
||||
man/man1/cueprint.1.gz
|
||||
|
Loading…
Reference in New Issue
Block a user