aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/squsq
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2003-05-12 21:30:46 +0800
committerfjoe <fjoe@FreeBSD.org>2003-05-12 21:30:46 +0800
commit4690cbb3cf8938f6fbb8ed320008805d62777eb4 (patch)
treeed65a9c181f21e45534d4e028cafcac3d05c1623 /archivers/squsq
parent1b1877b595ef1833084f6d75160b0e1b54fbaa74 (diff)
downloadfreebsd-ports-gnome-4690cbb3cf8938f6fbb8ed320008805d62777eb4.tar.gz
freebsd-ports-gnome-4690cbb3cf8938f6fbb8ed320008805d62777eb4.tar.zst
freebsd-ports-gnome-4690cbb3cf8938f6fbb8ed320008805d62777eb4.zip
New port: squsq
Compressor/decompressor for CP/M "Squeeze" compressed files. Submitted by: Alexey Dokuchaev Obtained from: NetBSD
Diffstat (limited to 'archivers/squsq')
-rw-r--r--archivers/squsq/Makefile24
-rw-r--r--archivers/squsq/distinfo1
-rw-r--r--archivers/squsq/files/Makefile11
-rw-r--r--archivers/squsq/files/patch-aa20
-rw-r--r--archivers/squsq/pkg-descr2
-rw-r--r--archivers/squsq/pkg-plist2
6 files changed, 60 insertions, 0 deletions
diff --git a/archivers/squsq/Makefile b/archivers/squsq/Makefile
new file mode 100644
index 000000000000..429a0ffbb850
--- /dev/null
+++ b/archivers/squsq/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: squsq
+# Date created: 09 May 2003
+# Whom: Alexey Dokuchaev <danfe@regency.nsu.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= squsq
+PORTVERSION= 3.3
+CATEGORIES= archivers
+MASTER_SITES= ${MASTER_SITES_NETBSD} \
+ http://freebsd.nsu.ru/distfiles/
+DISTNAME= t20-squsq-3.3
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Compressor/decompressor for CP/M "Squeeze" compressed files
+
+WRKSRC= ${WRKDIR}/t20-squsq
+MAKEFILE= ${FILESDIR}/Makefile
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/sq ${WRKSRC}/usq ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/archivers/squsq/distinfo b/archivers/squsq/distinfo
new file mode 100644
index 000000000000..b67bcd335b1b
--- /dev/null
+++ b/archivers/squsq/distinfo
@@ -0,0 +1 @@
+MD5 (t20-squsq-3.3.tar.gz) = 93a82c7fd5b1f283913f54147565b21c
diff --git a/archivers/squsq/files/Makefile b/archivers/squsq/files/Makefile
new file mode 100644
index 000000000000..d68d213ea716
--- /dev/null
+++ b/archivers/squsq/files/Makefile
@@ -0,0 +1,11 @@
+#
+# $FreeBSD$
+#
+
+all: sq usq
+
+sq: sq.o tr1.o tr2.o sqio.o
+ ${CC} -o $@ $>
+
+usq: usq.o utr.o
+ ${CC} -o $@ $>
diff --git a/archivers/squsq/files/patch-aa b/archivers/squsq/files/patch-aa
new file mode 100644
index 000000000000..496a192ae68f
--- /dev/null
+++ b/archivers/squsq/files/patch-aa
@@ -0,0 +1,20 @@
+--- usq.c.orig Sun Jan 17 01:54:04 1988
++++ usq.c Sun Jan 17 01:54:05 1988
+@@ -215,7 +215,7 @@
+ goto closein;
+ }
+
+-#ifdef C70 | TOPS20
++#if defined(C70) || defined(TOPS20)
+ filecrc = getx16(inbuff);
+ #else
+ filecrc = getw16(inbuff);
+@@ -239,7 +239,7 @@
+ printf("%s -> %s: ", infile, outfile);
+ #endif
+
+-#ifdef C70 | TOPS20
++#if defined(C70) || defined(TOPS20)
+ numnodes = getx16(inbuff);
+ #else
+ numnodes = getw16(inbuff);
diff --git a/archivers/squsq/pkg-descr b/archivers/squsq/pkg-descr
new file mode 100644
index 000000000000..280aa108531f
--- /dev/null
+++ b/archivers/squsq/pkg-descr
@@ -0,0 +1,2 @@
+This package includes sq and usq, archivers for the CP/M "Squeeze" format
+compressed files. This is also found on some older MS-DOS files.
diff --git a/archivers/squsq/pkg-plist b/archivers/squsq/pkg-plist
new file mode 100644
index 000000000000..7b7ff9dd6770
--- /dev/null
+++ b/archivers/squsq/pkg-plist
@@ -0,0 +1,2 @@
+bin/sq
+bin/usq