summaryrefslogtreecommitdiff
path: root/archivers/arc
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1997-10-27 02:18:56 +0000
committerhubertf <hubertf@pkgsrc.org>1997-10-27 02:18:56 +0000
commit8b564b5192b294067cb0130be5d93572a73a8d50 (patch)
treeaa7fd087d6bcf69328ebc37067c429ed69a80a4c /archivers/arc
parent78879a265da1d7043bcd319b2f1b34fb6177b5de (diff)
downloadpkgsrc-8b564b5192b294067cb0130be5d93572a73a8d50.tar.gz
File archivers, ports from FreeBSD
Diffstat (limited to 'archivers/arc')
-rw-r--r--archivers/arc/Makefile20
-rw-r--r--archivers/arc/files/md51
-rw-r--r--archivers/arc/patches/patch-aa94
-rw-r--r--archivers/arc/pkg/COMMENT1
-rw-r--r--archivers/arc/pkg/DESCR1
-rw-r--r--archivers/arc/pkg/PLIST3
6 files changed, 120 insertions, 0 deletions
diff --git a/archivers/arc/Makefile b/archivers/arc/Makefile
new file mode 100644
index 00000000000..7a48d134c43
--- /dev/null
+++ b/archivers/arc/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: arc
+# Version required: 5.21e
+# Date created: 31 Dec 1994
+# Whom: ache
+#
+# $Id: Makefile,v 1.1.1.1 1997/10/27 02:18:56 hubertf Exp $
+#
+
+DISTNAME= arc521e.pl8
+PKGNAME= arc-5.21e
+CATEGORIES= archivers
+MASTER_SITES= ftp://ftp.kiarchive.ru/pub/unix/arcers/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= ache@FreeBSD.ORG
+
+NO_WRKSUBDIR= yes
+MAN1= arc.1
+
+.include <bsd.port.mk>
diff --git a/archivers/arc/files/md5 b/archivers/arc/files/md5
new file mode 100644
index 00000000000..1e4a42c3c6d
--- /dev/null
+++ b/archivers/arc/files/md5
@@ -0,0 +1 @@
+MD5 (arc521e.pl8.tar.Z) = a6eca0eb9d8cfb8d9bb62753c85759cb
diff --git a/archivers/arc/patches/patch-aa b/archivers/arc/patches/patch-aa
new file mode 100644
index 00000000000..5b2f9b52c5c
--- /dev/null
+++ b/archivers/arc/patches/patch-aa
@@ -0,0 +1,94 @@
+*** Makefile.old Wed Apr 15 02:57:58 1992
+--- Makefile Sat Dec 31 20:36:07 1994
+***************
+*** 32,45 ****
+ OPT = -O
+ # For MWC 3.0 on the Atari ST, use:
+ #CFLAGS = -VCOMPAC -VPEEP
+! CFLAGS = $(OPT) $(SYSTEM)
+
+ # GNU's gcc is very nice, if you've got it. Otherwise just cc.
+ #CC = cgcc -mshort
+! CC = cc
+
+ # tmclock is only needed on Unix systems...
+! TMCLOCK = tmclock.o
+
+ # Files needed for System V
+ #SYSVOBJ = getwd.o rename.o scandir.o utimes.o
+--- 32,46 ----
+ OPT = -O
+ # For MWC 3.0 on the Atari ST, use:
+ #CFLAGS = -VCOMPAC -VPEEP
+! #CFLAGS = $(OPT) $(SYSTEM)
+! CFLAGS+=$(SYSTEM)
+
+ # GNU's gcc is very nice, if you've got it. Otherwise just cc.
+ #CC = cgcc -mshort
+! #CC = cc
+
+ # tmclock is only needed on Unix systems...
+! TMCLOCK = #tmclock.o
+
+ # Files needed for System V
+ #SYSVOBJ = getwd.o rename.o scandir.o utimes.o
+***************
+*** 61,66 ****
+--- 62,71 ----
+
+ clean:
+ -rm *.o arc$(PROG) marc$(PROG)
++
++ install:
++ install -cs -o bin -g bin arc marc ${PREFIX}/bin
++ install -c -o bin -g bin arc.1 ${PREFIX}/man/man1
+
+ arc.o: $(SRCDIR)arc.c $(HEADER)
+ $(CC) $(CFLAGS) -c $(SRCDIR)arc.c
+*** arcdos.c.old Wed Apr 15 02:58:21 1992
+--- arcdos.c Sat Dec 31 20:32:25 1994
+***************
+*** 173,186 ****
+--- 173,192 ----
+ struct tm tm;
+ struct timeval tvp[2];
+ int utimes();
++ #if !defined(__FreeSBD__) && !defined(__OpenBSD__)
+ long tmclock();
++ #endif
+ tm.tm_sec = (time & 31) * 2;
+ tm.tm_min = (time >> 5) & 63;
+ tm.tm_hour = (time >> 11);
+ tm.tm_mday = date & 31;
+ tm.tm_mon = ((date >> 5) & 15) - 1;
+ tm.tm_year = (date >> 9) + 80;
++ #if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
+ tvp[0].tv_sec = tmclock(&tm);
++ #else
++ tvp[0].tv_sec = timelocal(&tm);
++ #endif
+ tvp[1].tv_sec = tvp[0].tv_sec;
+ tvp[0].tv_usec = tvp[1].tv_usec = 0;
+ utimes(f, tvp);
+*** marc.c.old Wed Apr 15 02:59:21 1992
+--- marc.c Sat Dec 31 20:40:30 1994
+***************
+*** 35,40 ****
+--- 35,41 ----
+ #endif
+ VOID arcdie();
+ static VOID expandlst(), merge();
++ char *makefnam(); /* filename fixup routine */
+
+ FILE *src; /* source archive */
+ char srcname[STRLEN]; /* source archive name */
+***************
+*** 47,53 ****
+ int nargs; /* number of arguments */
+ char *arg[]; /* pointers to arguments */
+ {
+- char *makefnam(); /* filename fixup routine */
+ char *envfind();
+ #if !_MTS
+ char *arctemp2, *mktemp(); /* temp file stuff */
+--- 48,53 ----
diff --git a/archivers/arc/pkg/COMMENT b/archivers/arc/pkg/COMMENT
new file mode 100644
index 00000000000..dff7fe3aa36
--- /dev/null
+++ b/archivers/arc/pkg/COMMENT
@@ -0,0 +1 @@
+Create & extract files from DOS .ARC files.
diff --git a/archivers/arc/pkg/DESCR b/archivers/arc/pkg/DESCR
new file mode 100644
index 00000000000..004178c9f68
--- /dev/null
+++ b/archivers/arc/pkg/DESCR
@@ -0,0 +1 @@
+See the file work/Arc521.doc for more info .
diff --git a/archivers/arc/pkg/PLIST b/archivers/arc/pkg/PLIST
new file mode 100644
index 00000000000..4565b470211
--- /dev/null
+++ b/archivers/arc/pkg/PLIST
@@ -0,0 +1,3 @@
+bin/arc
+bin/marc
+man/man1/arc.1.gz