summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-06-03 04:52:13 +0000
committerWill Andrews <will@FreeBSD.org>2000-06-03 04:52:13 +0000
commitadb85fb929de0a72a742652dfa9e340ab73e44d9 (patch)
tree376a67ff35b3b2b017f70e14acea5cff9ceec761 /archivers
parentAdd unlzx, an utility which can extract LZX archives from Amiga systems. (diff)
Add ppunpack, a utility to decompress Amiga PowerPacker files.
Obtained from: NetBSD
Notes
Notes: svn path=/head/; revision=29138
Diffstat (limited to 'archivers')
-rw-r--r--archivers/Makefile1
-rw-r--r--archivers/ppunpack/Makefile27
-rw-r--r--archivers/ppunpack/distinfo3
-rw-r--r--archivers/ppunpack/files/patch-aa14
-rw-r--r--archivers/ppunpack/pkg-comment1
-rw-r--r--archivers/ppunpack/pkg-descr10
-rw-r--r--archivers/ppunpack/pkg-plist1
7 files changed, 57 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile
index 6018101eacd7..ce829b6a5853 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -21,6 +21,7 @@
SUBDIR += nulib
SUBDIR += p5-Compress-Zlib
SUBDIR += pkzip
+ SUBDIR += ppunpack
SUBDIR += rar
SUBDIR += unace
SUBDIR += unarj
diff --git a/archivers/ppunpack/Makefile b/archivers/ppunpack/Makefile
new file mode 100644
index 000000000000..c03b037ba7ac
--- /dev/null
+++ b/archivers/ppunpack/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: ppunpack
+# Date created: Sat 3 June 2000
+# Whom: will
+#
+# $FreeBSD$
+#
+
+PORTNAME= ppunpack
+PORTVERSION= 1.0
+CATEGORIES= archivers
+MASTER_SITES= ftp://de.aminet.net/pub/aminet/misc/unix/ \
+ ftp://us.aminet.net/pub/aminet/misc/unix/
+DISTNAME= ppsmall-${PORTVERSION}
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= will@FreeBSD.org
+
+RESTRICTED= "No commercial redistribution"
+NO_CDROM= ${RESTRICTED}
+WRKSRC= ${WRKDIR}/PPUnpack
+MAKE_FLAGS= CC="${CC}" COPTS="${CFLAGS}"
+ALL_TARGET= ppunpack
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ppunpack ${PREFIX}/bin/
+
+.include <bsd.port.mk>
diff --git a/archivers/ppunpack/distinfo b/archivers/ppunpack/distinfo
new file mode 100644
index 000000000000..0afee02b92f7
--- /dev/null
+++ b/archivers/ppunpack/distinfo
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/05/23 02:01:25 tv Exp $
+
+MD5 (ppsmall-1.0.tar.Z) = 012c6685c386fbac129d54eb561d7ea8
diff --git a/archivers/ppunpack/files/patch-aa b/archivers/ppunpack/files/patch-aa
new file mode 100644
index 000000000000..358db5625743
--- /dev/null
+++ b/archivers/ppunpack/files/patch-aa
@@ -0,0 +1,14 @@
+--- depack.h.orig Sat May 22 21:55:32 1999
++++ depack.h Sat May 22 21:56:18 1999
+@@ -4,8 +4,10 @@
+ * see accompanying file README for distribution information
+ */
+
++#include <sys/types.h>
++
+ typedef unsigned char ubyte;
+-typedef unsigned long ulong;
++#define ulong uint
+
+ extern ulong depackedlen(ubyte *packed, ulong plen);
+ extern void ppdepack(ubyte *packed, ubyte *depacked, ulong plen, ulong unplen);
diff --git a/archivers/ppunpack/pkg-comment b/archivers/ppunpack/pkg-comment
new file mode 100644
index 000000000000..7c6df540bcf3
--- /dev/null
+++ b/archivers/ppunpack/pkg-comment
@@ -0,0 +1 @@
+Decompresses Amiga PowerPacker files
diff --git a/archivers/ppunpack/pkg-descr b/archivers/ppunpack/pkg-descr
new file mode 100644
index 000000000000..660a7a9d91f1
--- /dev/null
+++ b/archivers/ppunpack/pkg-descr
@@ -0,0 +1,10 @@
+THIS SOURCE-CODE CAN BE USED FOR NON COMMERCIAL PURPOSES ONLY,
+IN PPDECRUNCH OR TRACKER.
+
+PLEASE CONTACT Nico Francois (nico.francois@scala.com) FOR ANY
+OTHER USES.
+
+ppunpack only unpacks PowerPacker data files. It is only intended
+as an help for people who have to process Amiga-related files
+on other machines, and don't want to download PowerPacked files to
+an Amiga, uncompress the file, and upload it to the other machine.
diff --git a/archivers/ppunpack/pkg-plist b/archivers/ppunpack/pkg-plist
new file mode 100644
index 000000000000..f29febd4826c
--- /dev/null
+++ b/archivers/ppunpack/pkg-plist
@@ -0,0 +1 @@
+bin/ppunpack