aboutsummaryrefslogtreecommitdiff
path: root/archivers/squsq
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2003-05-12 13:30:46 +0000
committerMax Khon <fjoe@FreeBSD.org>2003-05-12 13:30:46 +0000
commitd0ff81f6dc38ee19b8deb0938ed4746bbf78bb02 (patch)
tree11f1b381bba8a9b38f096d6633e1963570480110 /archivers/squsq
parent7813b13f3b871b2b44a9e96f72a798ba50a87aeb (diff)
downloadports-d0ff81f6dc38ee19b8deb0938ed4746bbf78bb02.tar.gz
ports-d0ff81f6dc38ee19b8deb0938ed4746bbf78bb02.zip
Notes
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