aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1996-11-25 17:47:24 +0800
committertg <tg@FreeBSD.org>1996-11-25 17:47:24 +0800
commitfed06441ecd7262eee31efa0806f018ff4cd1690 (patch)
tree56bc3c4fa2e58f5a321cab3151093a0441a495c6 /misc
parent0f89dc2fb3564aeb355dbde40bb75c80e372180f (diff)
downloadfreebsd-ports-gnome-fed06441ecd7262eee31efa0806f018ff4cd1690.tar.gz
freebsd-ports-gnome-fed06441ecd7262eee31efa0806f018ff4cd1690.tar.zst
freebsd-ports-gnome-fed06441ecd7262eee31efa0806f018ff4cd1690.zip
Import of xtar, a tar file browser.
Closes PR 1526. Submitted by: Andreas Kohout <shanee@rabbit.augusta.de>
Diffstat (limited to 'misc')
-rw-r--r--misc/xtar/Makefile19
-rw-r--r--misc/xtar/distinfo1
-rw-r--r--misc/xtar/files/patch-aa12
-rw-r--r--misc/xtar/files/patch-ab19
-rw-r--r--misc/xtar/files/patch-ac19
-rw-r--r--misc/xtar/files/patch-ad15
-rw-r--r--misc/xtar/pkg-comment1
-rw-r--r--misc/xtar/pkg-descr4
-rw-r--r--misc/xtar/pkg-plist4
9 files changed, 94 insertions, 0 deletions
diff --git a/misc/xtar/Makefile b/misc/xtar/Makefile
new file mode 100644
index 000000000000..b84006c7cdca
--- /dev/null
+++ b/misc/xtar/Makefile
@@ -0,0 +1,19 @@
+# New ports collection makefile for: xtar
+# Version required: 1.4
+# Date created: 31 Jul 1996
+# Whom: shanee@rabbit.augusta.de
+#
+# $Id$
+#
+
+DISTNAME= xtar-1.4
+CATEGORIES= misc x11
+MASTER_SITES= ${MASTER_SITE_XCONTRIB}
+MASTER_SITE_SUBDIR= utilities
+
+MAINTAINER= shanee@rabbit.augusta.de
+
+REQUIRES_MOTIF= yes
+USE_IMAKE= yes
+
+.include <bsd.port.mk>
diff --git a/misc/xtar/distinfo b/misc/xtar/distinfo
new file mode 100644
index 000000000000..3ae7af51c7b4
--- /dev/null
+++ b/misc/xtar/distinfo
@@ -0,0 +1 @@
+MD5 (xtar-1.4.tar.gz) = 22f025636e59f7a0438dc244fb2867d5
diff --git a/misc/xtar/files/patch-aa b/misc/xtar/files/patch-aa
new file mode 100644
index 000000000000..bbefe779d309
--- /dev/null
+++ b/misc/xtar/files/patch-aa
@@ -0,0 +1,12 @@
+*** common/str.c.orig Wed Jul 31 18:04:12 1996
+--- common/str.c Wed Jul 31 18:04:27 1996
+***************
+*** 283,289 ****
+ char *str_error(int errnum)
+ {
+ extern int sys_nerr;
+- extern char *sys_errlist[];
+ static char ebuf[40]; /* 64-bit number + slop */
+
+ if ((unsigned int)errnum < sys_nerr)
+--- 283,288 ----
diff --git a/misc/xtar/files/patch-ab b/misc/xtar/files/patch-ab
new file mode 100644
index 000000000000..7ffceb9efc10
--- /dev/null
+++ b/misc/xtar/files/patch-ab
@@ -0,0 +1,19 @@
+*** xtar.c.orig Wed Jul 31 18:16:22 1996
+--- xtar.c Wed Jul 31 18:15:30 1996
+***************
+*** 1164,1170 ****
+ static int xtar_attributes(TAR_FILE *tf, char *filename)
+ {
+ int retval = 0;
+! struct utimbuf utimbuf;
+
+ /* If the file type is not a directory then try and set the access
+ permissions. We exclude directories because if write permission
+--- 1164,1170 ----
+ static int xtar_attributes(TAR_FILE *tf, char *filename)
+ {
+ int retval = 0;
+! struct utimbuf {char utimbuf;} utimbuf;
+
+ /* If the file type is not a directory then try and set the access
+ permissions. We exclude directories because if write permission
diff --git a/misc/xtar/files/patch-ac b/misc/xtar/files/patch-ac
new file mode 100644
index 000000000000..96fbacd05b6c
--- /dev/null
+++ b/misc/xtar/files/patch-ac
@@ -0,0 +1,19 @@
+*** XTar.tmpl.orig Mon Jul 17 14:04:17 1995
+--- XTar.tmpl Tue Nov 19 17:43:02 1996
+***************
+*** 27,33 ****
+ XMINC = -I/usr/include/Motif1.2
+ XMLIB = -L/usr/lib/Motif1.2 -lXm -lPW
+ #else
+! XMLIB = -lXm
+ #endif
+
+ #ifdef SunArchitecture
+--- 27,33 ----
+ XMINC = -I/usr/include/Motif1.2
+ XMLIB = -L/usr/lib/Motif1.2 -lXm -lPW
+ #else
+! XMLIB = ${MOTIFLIB}
+ #endif
+
+ #ifdef SunArchitecture
diff --git a/misc/xtar/files/patch-ad b/misc/xtar/files/patch-ad
new file mode 100644
index 000000000000..440f9a980072
--- /dev/null
+++ b/misc/xtar/files/patch-ad
@@ -0,0 +1,15 @@
+*** XTar.ad.orig Mon Jul 17 14:00:59 1995
+--- XTar.ad Tue Nov 19 17:46:59 1996
+***************
+*** 1,5 ****
+ !!!! Help document !!!!
+! XTar*helpDoc: /usr/local/lib/X11/xtar/xtar.doc
+
+ !!! Set this to true if you want push buttons !!!
+ XTar*showPB: False
+--- 1,5 ----
+ !!!! Help document !!!!
+! XTar*helpDoc: /usr/X11R6/lib/X11/xtar/xtar.doc
+
+ !!! Set this to true if you want push buttons !!!
+ XTar*showPB: False
diff --git a/misc/xtar/pkg-comment b/misc/xtar/pkg-comment
new file mode 100644
index 000000000000..ea1c02a038c6
--- /dev/null
+++ b/misc/xtar/pkg-comment
@@ -0,0 +1 @@
+View and manipulate contents of a tar file.
diff --git a/misc/xtar/pkg-descr b/misc/xtar/pkg-descr
new file mode 100644
index 000000000000..eddf8beb4758
--- /dev/null
+++ b/misc/xtar/pkg-descr
@@ -0,0 +1,4 @@
+ XTar is a Motif program for viewing and manipulating tar
+ archives (which may be compressed). The contents of the
+ archive are displayed in the main window and various
+ options are available from pulldown and popup menus.
diff --git a/misc/xtar/pkg-plist b/misc/xtar/pkg-plist
new file mode 100644
index 000000000000..81d1d2348b56
--- /dev/null
+++ b/misc/xtar/pkg-plist
@@ -0,0 +1,4 @@
+bin/xtar
+lib/X11/xtar/xtar.doc
+lib/X11/app-defaults/XTar
+man/man1/xtar.1.gz