1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

Add port for shntool, a utility for working with WAV files and

shorten-compressed (SHN) files
This commit is contained in:
Bill Fenner 2000-11-02 22:52:22 +00:00
parent 004acd3846
commit 9ea7b64e0f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34685
6 changed files with 54 additions and 0 deletions

View File

@ -126,6 +126,7 @@
SUBDIR += rsynth
SUBDIR += s3mod
SUBDIR += sdl_mixer
SUBDIR += shntool
SUBDIR += shorten
SUBDIR += shout
SUBDIR += sidplay

30
audio/shntool/Makefile Normal file
View File

@ -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>

1
audio/shntool/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (shntool-0.95.c) = 874bae3bd0352cc34e32c982fcd63b46

View File

@ -0,0 +1 @@
a multi-purpose .wav/.shn processing utility

18
audio/shntool/pkg-descr Normal file
View File

@ -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/

3
audio/shntool/pkg-plist Normal file
View File

@ -0,0 +1,3 @@
bin/shntool
bin/shnlen
bin/fixwav