From 277046d514bdbe678083361d402340a6c95c2f63 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Tue, 30 Dec 2003 12:43:23 +0000 Subject: [PATCH] Add cuetools, a set of utilities for manipulating cue and toc sheets and converting between them. PR: ports/60714 Submitted by: Vincent Tantardini --- audio/Makefile | 1 + audio/cuetools/Makefile | 34 ++++++++++++++++++++++++++++++++++ audio/cuetools/distinfo | 1 + audio/cuetools/pkg-descr | 8 ++++++++ audio/cuetools/pkg-plist | 10 ++++++++++ 5 files changed, 54 insertions(+) create mode 100644 audio/cuetools/Makefile create mode 100644 audio/cuetools/distinfo create mode 100644 audio/cuetools/pkg-descr create mode 100644 audio/cuetools/pkg-plist diff --git a/audio/Makefile b/audio/Makefile index 0a4cb292d6bb..582056d27caf 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -50,6 +50,7 @@ SUBDIR += csound SUBDIR += csound-manual SUBDIR += cue2toc + SUBDIR += cuetools SUBDIR += cymbaline SUBDIR += daapd SUBDIR += daaplib diff --git a/audio/cuetools/Makefile b/audio/cuetools/Makefile new file mode 100644 index 000000000000..48beb94d5cd4 --- /dev/null +++ b/audio/cuetools/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: cuetools +# Date created: 30 December 2003 +# Whom: Vincent Tantardini +# +# $FreeBSD$ +# + +PORTNAME= cuetools +PORTVERSION= 0.4 +CATEGORIES= audio +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= ports@FreeBSD.org +COMMENT= A set of utilities for working with cue files and toc files + +USE_REINPLACE= yes + +pre-patch: + @${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/Makefile + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${MKDIR} ${EXAMPLESDIR} +.for F in README README.formats ChangeLog + ${INSTALL_MAN} ${WRKSRC}/${F} ${DOCSDIR} +.endfor +.for E in EXAMPLE.cuerenamerc EXAMPLE.useage + ${INSTALL_MAN} ${WRKSRC}/${E} ${EXAMPLESDIR} +.endfor +.endif + +.include diff --git a/audio/cuetools/distinfo b/audio/cuetools/distinfo new file mode 100644 index 000000000000..fa4f903a55e1 --- /dev/null +++ b/audio/cuetools/distinfo @@ -0,0 +1 @@ +MD5 (cuetools-0.4.tar.gz) = a8484e32f4dc7c0dd1cd58bced3c2ff3 diff --git a/audio/cuetools/pkg-descr b/audio/cuetools/pkg-descr new file mode 100644 index 000000000000..4f7b8263f709 --- /dev/null +++ b/audio/cuetools/pkg-descr @@ -0,0 +1,8 @@ +Cuetools is a set of utilities for working with cue files and toc files. +It contains: +- cueconverter: convert between cue and toc formats +- cuebreakpoints: output track break points from a cue/toc file, in a + format usable by shnsplit (part of the shntool package) +- cuerename: rename files based on a template + +WWW: http://cuetools.sourceforge.net/ diff --git a/audio/cuetools/pkg-plist b/audio/cuetools/pkg-plist new file mode 100644 index 000000000000..501e28999f27 --- /dev/null +++ b/audio/cuetools/pkg-plist @@ -0,0 +1,10 @@ +bin/cuebreakpoints +bin/cueconvert +bin/cuerename +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/README.formats +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%EXAMPLESDIR%%/EXAMPLE.cuerenamerc +%%PORTDOCS%%%%EXAMPLESDIR%%/EXAMPLE.useage +%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%