diff options
author | zuntum <zuntum> | 2001-04-16 22:23:34 +0000 |
---|---|---|
committer | zuntum <zuntum> | 2001-04-16 22:23:34 +0000 |
commit | d73c31d94b3a4e27881e46293f3d8e05b2b92ac6 (patch) | |
tree | 8d45667ea9082646dcdb3545b6a73172e687a1c3 /audio/shorten | |
parent | d5d47b8d21ed4acdf42926b575c625e037e6b375 (diff) | |
download | pkgsrc-d73c31d94b3a4e27881e46293f3d8e05b2b92ac6.tar.gz |
Initial import of shorten-3.1
Shorten is a lossless compressing tool specialized for Audio files where
it usually performs better than gzip/bzip2.
Package submitted by Ben Collver <collver@linuxfreemail.com>
in pkg/12586
Diffstat (limited to 'audio/shorten')
-rw-r--r-- | audio/shorten/Makefile | 22 | ||||
-rw-r--r-- | audio/shorten/files/md5 | 3 | ||||
-rw-r--r-- | audio/shorten/files/patch-sum | 5 | ||||
-rw-r--r-- | audio/shorten/patches/patch-aa | 29 | ||||
-rw-r--r-- | audio/shorten/patches/patch-ab | 22 | ||||
-rw-r--r-- | audio/shorten/patches/patch-ac | 13 | ||||
-rw-r--r-- | audio/shorten/pkg/DESCR | 2 | ||||
-rw-r--r-- | audio/shorten/pkg/PLIST | 6 |
8 files changed, 102 insertions, 0 deletions
diff --git a/audio/shorten/Makefile b/audio/shorten/Makefile new file mode 100644 index 00000000000..9d54c0c2efa --- /dev/null +++ b/audio/shorten/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/04/16 22:23:34 zuntum Exp $ +# FreeBSD: ports/audio/shorten/Makefile,v 1.6 2000/11/02 22:40:59 fenner Exp +# + +DISTNAME= shorten-3.1 +CATEGORIES= audio archivers +MASTER_SITES= http://www.etree.org/software/ + +MAINTAINER= collver@linuxfreemail.com +HOMEPAGE= http://www.softsound.com/Shorten.html +COMMENT= lossless audio compressor + +LICENSE= no-commercial-use + +MAKE_ENV+= MKDIR="${MKDIR}" + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/shorten + ${INSTALL_DATA} ${WRKSRC}/tr156.tex ${PREFIX}/share/doc/shorten + ${INSTALL_DATA} ${WRKSRC}/tr156.ps ${PREFIX}/share/doc/shorten + +.include "../../mk/bsd.pkg.mk" diff --git a/audio/shorten/files/md5 b/audio/shorten/files/md5 new file mode 100644 index 00000000000..ffadbde7038 --- /dev/null +++ b/audio/shorten/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2001/04/16 22:23:34 zuntum Exp $ + +SHA1 (shorten-3.1.tar.gz) = 4f5b939614bc8a6c756f92a95909a39a499932f5 diff --git a/audio/shorten/files/patch-sum b/audio/shorten/files/patch-sum new file mode 100644 index 00000000000..e3b89ab54c9 --- /dev/null +++ b/audio/shorten/files/patch-sum @@ -0,0 +1,5 @@ +$NetBSD: patch-sum,v 1.1.1.1 2001/04/16 22:23:34 zuntum Exp $ + +SHA1 (patch-aa) = eeb637249df8eb5a28018ada92a7e270c8c40ba7 +SHA1 (patch-ab) = ed8ce4a276bf6250600cb6e5559400295d14ed7e +SHA1 (patch-ac) = c82529b4c1824a1be80834d018782b70dfa17f0d diff --git a/audio/shorten/patches/patch-aa b/audio/shorten/patches/patch-aa new file mode 100644 index 00000000000..d2d3aa186ba --- /dev/null +++ b/audio/shorten/patches/patch-aa @@ -0,0 +1,29 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/04/16 22:23:34 zuntum Exp $ + +--- Makefile.orig Tue Oct 10 19:45:29 2000 ++++ Makefile +@@ -2,10 +2,8 @@ + BOBJS = mkbshift.o + COBJS = exit.o array.o Sulawalaw.o + SOBJS = main.o shorten.o fixio.o vario.o poly.o lpc.o hsgetopt.o dupfinfo.o riffwave.o license.o +-CC = cc +-CFLAGS= -O + +-DESTDIR = /usr/local ++DESTDIR = ${PREFIX} + prefix = $(DESTDIR) + exec_prefix = $(prefix)/bin + man_prefix = $(prefix)/man/man$(manext) +@@ -17,9 +15,9 @@ + all: shorten shorten.man + + install: shorten +- mkdir -p $(exec_prefix) $(man_prefix) +- cp shorten $(exec_prefix) +- cp shorten.1 $(man_prefix) ++ ${MKDIR} $(exec_prefix) $(man_prefix) ++ ${BSD_INSTALL_PROGRAM} shorten $(exec_prefix) ++ ${BSD_INSTALL_MAN} shorten.1 $(man_prefix) + + install-debian: shorten + install -s shorten $(DESTDIR)/usr/bin diff --git a/audio/shorten/patches/patch-ab b/audio/shorten/patches/patch-ab new file mode 100644 index 00000000000..840e5a752e1 --- /dev/null +++ b/audio/shorten/patches/patch-ab @@ -0,0 +1,22 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/04/16 22:23:34 zuntum Exp $ + +--- shorten.h.orig Tue Oct 10 10:34:50 2000 ++++ shorten.h Sun Apr 8 21:56:42 2001 +@@ -105,7 +105,7 @@ + #define MAX(a,b) (((a)>(b))?(a):(b)) + #endif + +-#if defined(unix) && !defined(linux) ++#if defined(eunuchs) && !defined(linux) + #define labs abs + #endif + +@@ -143,7 +143,7 @@ + #undef ulong + #define ulong unsigned long + +-#if defined(__STDC__) || defined(__GNUC__) || defined(sgi) || !defined(unix) ++#if defined(__STDC__) || defined(__GNUC__) || defined(sgi) || !defined(eunuchs) + typedef signed char schar; + #define PROTO(ARGS) ARGS + #else diff --git a/audio/shorten/patches/patch-ac b/audio/shorten/patches/patch-ac new file mode 100644 index 00000000000..7811494d7b7 --- /dev/null +++ b/audio/shorten/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1.1.1 2001/04/16 22:23:34 zuntum Exp $ + +--- dupfinfo.c.orig Sun Apr 8 21:58:00 2001 ++++ dupfinfo.c Sun Apr 8 21:58:26 2001 +@@ -35,7 +35,7 @@ + ftime.actime = buf.st_atime; + ftime.modtime = buf.st_mtime; + (void) utime(path1, &ftime); +-#ifdef unix ++#ifdef eunuchs + (void) chown(path1, buf.st_uid, -1); + (void) chown(path1, -1, buf.st_gid); + #endif diff --git a/audio/shorten/pkg/DESCR b/audio/shorten/pkg/DESCR new file mode 100644 index 00000000000..8e1026e0e38 --- /dev/null +++ b/audio/shorten/pkg/DESCR @@ -0,0 +1,2 @@ +Shorten is a lossless compressing tool specialized for Audio files where +it usually performs better than gzip/bzip2. diff --git a/audio/shorten/pkg/PLIST b/audio/shorten/pkg/PLIST new file mode 100644 index 00000000000..760b55b0d01 --- /dev/null +++ b/audio/shorten/pkg/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/16 22:23:34 zuntum Exp $ +bin/shorten +man/man1/shorten.1 +share/doc/shorten/tr156.tex +share/doc/shorten/tr156.ps +@dirrm share/doc/shorten |