summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorBill Fenner <fenner@FreeBSD.org>2000-11-02 22:52:22 +0000
committerBill Fenner <fenner@FreeBSD.org>2000-11-02 22:52:22 +0000
commit9ea7b64e0fb5978f1f4c745f4c7a4be7ae4e232c (patch)
tree723e0e2a7a4dd968ef48ee0802671eb097210632 /audio
parentUse MASTER_SITE_LOCAL. (diff)
Add port for shntool, a utility for working with WAV files and
shorten-compressed (SHN) files
Notes
Notes: svn path=/head/; revision=34685
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-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
6 files changed, 54 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 338c50cfc622..d0d1dc84295c 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -126,6 +126,7 @@
SUBDIR += rsynth
SUBDIR += s3mod
SUBDIR += sdl_mixer
+ SUBDIR += shntool
SUBDIR += shorten
SUBDIR += shout
SUBDIR += sidplay
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