aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2005-09-09 23:21:57 +0800
committergarga <garga@FreeBSD.org>2005-09-09 23:21:57 +0800
commited1f7b3762688ca98c0024ff42c021b3d62def2c (patch)
tree75179b87ea3488b70e2a93b7a9f4e11b921397c6 /audio
parente7d0eb7054df5d56e9266ceb077bc44e20ea5774 (diff)
downloadfreebsd-ports-gnome-ed1f7b3762688ca98c0024ff42c021b3d62def2c.tar.gz
freebsd-ports-gnome-ed1f7b3762688ca98c0024ff42c021b3d62def2c.tar.zst
freebsd-ports-gnome-ed1f7b3762688ca98c0024ff42c021b3d62def2c.zip
Add wav2cdr 2.3.3, converts WAV files into CDR audio file format.
PR: ports/85901 Submitted by: Emanuel Haupt <ehaupt@critical.ch>
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/wav2cdr/Makefile36
-rw-r--r--audio/wav2cdr/distinfo2
-rw-r--r--audio/wav2cdr/pkg-descr10
4 files changed, 49 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 84964b27bb8e..ba56b6f13476 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -489,6 +489,7 @@
SUBDIR += vorbis-tools
SUBDIR += vorbisgain
SUBDIR += vsound
+ SUBDIR += wav2cdr
SUBDIR += wavbreaker
SUBDIR += waveplay
SUBDIR += wavpack
diff --git a/audio/wav2cdr/Makefile b/audio/wav2cdr/Makefile
new file mode 100644
index 000000000000..ae7491b782d5
--- /dev/null
+++ b/audio/wav2cdr/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: wav2cdr
+# Date created: 9 Sep 2005
+# Whom: Emanuel Haupt <ehaupt@critical.ch>
+#
+# $FreeBSD$
+#
+
+PORTNAME= wav2cdr
+PORTVERSION= 2.3.3
+CATEGORIES= audio converters
+MASTER_SITES= ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= apps/sound/convert
+
+MAINTAINER= ehaupt@critical.ch
+COMMENT= Converts WAV files into CDR audio file format
+
+USE_GETOPT_LONG=yes
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+SRC= wav2cdr cmdarg data fileio process
+
+PLIST_FILES= bin/wav2cdr
+MAN1= wav2cdr.1
+
+do-build:
+.for f in ${SRC}
+ ${CC} ${CFLAGS} -c -o ${WRKSRC}/${f}.o ${WRKSRC}/${f}.c
+.endfor
+ ${CC} ${CFLAGS} ${LDFLAGS} -o ${WRKSRC}/${PORTNAME} \
+ ${SRC:C/(.*)/${WRKSRC}\/\1.o/}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/audio/wav2cdr/distinfo b/audio/wav2cdr/distinfo
new file mode 100644
index 000000000000..af08130c8005
--- /dev/null
+++ b/audio/wav2cdr/distinfo
@@ -0,0 +1,2 @@
+MD5 (wav2cdr-2.3.3.tar.gz) = eddbe9baf073d18323bfd6e9d60ff516
+SIZE (wav2cdr-2.3.3.tar.gz) = 60449
diff --git a/audio/wav2cdr/pkg-descr b/audio/wav2cdr/pkg-descr
new file mode 100644
index 000000000000..6727f0036e1c
--- /dev/null
+++ b/audio/wav2cdr/pkg-descr
@@ -0,0 +1,10 @@
+This program converts wav sound files into a format suitable for CD-ROMs, and
+can perform some editing functions like cutting or volume change.
+
+It is rather rudimentary, the wav file must have the same sampling parameters
+as CD audio. Runs on big and little endian machines.
+
+WWW: http://www.ibiblio.org/pub/Linux/apps/sound/convert/
+
+- ehaupt
+ehaupt@critical.ch