aboutsummaryrefslogtreecommitdiffstats
path: root/audio/shntool
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>2000-11-03 06:52:22 +0800
committerfenner <fenner@FreeBSD.org>2000-11-03 06:52:22 +0800
commit35d02e4297630d3c767040c0c0224f58672e6729 (patch)
tree22fc6aba5041ac56fd24d3b78b8cde36b8b5bf99 /audio/shntool
parentccd97c55bd00a3eb0636608395792a2fa53f805e (diff)
downloadfreebsd-ports-gnome-35d02e4297630d3c767040c0c0224f58672e6729.tar.gz
freebsd-ports-gnome-35d02e4297630d3c767040c0c0224f58672e6729.tar.zst
freebsd-ports-gnome-35d02e4297630d3c767040c0c0224f58672e6729.zip
Add port for shntool, a utility for working with WAV files and
shorten-compressed (SHN) files
Diffstat (limited to 'audio/shntool')
-rw-r--r--audio/shntool/Makefile30
-rw-r--r--audio/shntool/distinfo1
-rw-r--r--audio/shntool/pkg-comment1
-rw-r--r--audio/shntool/pkg-descr18
-rw-r--r--audio/shntool/pkg-plist3
5 files changed, 53 insertions, 0 deletions
diff --git a/audio/shntool/Makefile b/audio/shntool/Makefile
new file mode 100644
index 000000000000..8fec24519c39
--- /dev/null
+++ b/audio/shntool/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: shntool
+# Date created: 2 November 2000
+# Whom: Bill Fenner <fenner@FreeBSD.Org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= shntool
+PORTVERSION= 0.95
+CATEGORIES= audio
+MASTER_SITES= http://sdf.lonestar.org/~jason/shn-utils/shntool/
+EXTRACT_SUFX= .c
+
+MAINTAINER= fenner@FreeBSD.Org
+
+RUN_DEPENDS= shorten:${PORTSDIR}/audio/shorten
+
+do-extract:
+ ${MKDIR} ${WRKSRC}
+ ${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
+
+do-build:
+ cd ${WRKSRC} && ${CC} -o shntool ${DISTFILES}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/shntool ${PREFIX}/bin
+ ${LN} -sf shntool ${PREFIX}/bin/shnlen
+ ${LN} -sf shntool ${PREFIX}/bin/fixwav
+
+.include <bsd.port.mk>
diff --git a/audio/shntool/distinfo b/audio/shntool/distinfo
new file mode 100644
index 000000000000..eaa3e6a53784
--- /dev/null
+++ b/audio/shntool/distinfo
@@ -0,0 +1 @@
+MD5 (shntool-0.95.c) = 874bae3bd0352cc34e32c982fcd63b46
diff --git a/audio/shntool/pkg-comment b/audio/shntool/pkg-comment
new file mode 100644
index 000000000000..1bd0ca1f8495
--- /dev/null
+++ b/audio/shntool/pkg-comment
@@ -0,0 +1 @@
+a multi-purpose .wav/.shn processing utility
diff --git a/audio/shntool/pkg-descr b/audio/shntool/pkg-descr
new file mode 100644
index 000000000000..467d536a94c2
--- /dev/null
+++ b/audio/shntool/pkg-descr
@@ -0,0 +1,18 @@
+shntool is a multi-purpose .wav/.shn processing tool. Input and
+output files are transparent to shntool, meaning that it can
+perform its functions upon both .wav and .shn data.
+
+When in 'len' (length) mode, it reports .wav size and length information
+from both .wav and .shn files, including whether each file is (a) too
+short to be burned to disc, (b) not cut on a sector boundary, or (c)
+contains incorrect header information.
+
+When in 'fix' mode, shntool is capable of rewriting a set of input
+files so that they are all cut on sector boundaries. You may specify
+whether shntool shifts the track boundaries (a) forward to the next
+multiple of the block size, or (b) backward to the previous multiple
+of the block size. Alternatively, you may join the input files into
+one large output file, so you can do the splitting yourself (with
+another .wav editor - shntool isn't that advanced yet).
+
+WWW: http://sdf.lonestar.org/~jason/shn-utils/shntool/
diff --git a/audio/shntool/pkg-plist b/audio/shntool/pkg-plist
new file mode 100644
index 000000000000..86a8374cc3df
--- /dev/null
+++ b/audio/shntool/pkg-plist
@@ -0,0 +1,3 @@
+bin/shntool
+bin/shnlen
+bin/fixwav