aboutsummaryrefslogtreecommitdiff
path: root/misc/xless
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1996-12-28 03:07:51 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1996-12-28 03:07:51 +0000
commit3960a95f76cc7cde062342bfada1edfdbc987938 (patch)
treeb12a772e36398f242d10f09a9005bd99ff9d17b0 /misc/xless
parent69630bf7597809a8123063dbf0e0c8694c212c03 (diff)
downloadports-3960a95f76cc7cde062342bfada1edfdbc987938.tar.gz
ports-3960a95f76cc7cde062342bfada1edfdbc987938.zip
Notes
Diffstat (limited to 'misc/xless')
-rw-r--r--misc/xless/Makefile18
-rw-r--r--misc/xless/distinfo1
-rw-r--r--misc/xless/files/patch-aa12
-rw-r--r--misc/xless/files/patch-ab32
-rw-r--r--misc/xless/pkg-comment1
-rw-r--r--misc/xless/pkg-descr22
-rw-r--r--misc/xless/pkg-plist6
7 files changed, 92 insertions, 0 deletions
diff --git a/misc/xless/Makefile b/misc/xless/Makefile
new file mode 100644
index 000000000000..84493bcbea21
--- /dev/null
+++ b/misc/xless/Makefile
@@ -0,0 +1,18 @@
+# New ports collection makefile for: xless
+# Version required: 1.7
+# Date created: 23 December 1996
+# Whom: Conrad Sabatier <conrads@neosoft.com>
+#
+# $Id: porting.sgml,v 1.2.4.5 1996/06/19 20:28:08 jkh Exp $
+#
+
+DISTNAME= xless-1.7
+CATEGORIES= misc
+MASTER_SITES= ftp://ftp.x.org/contrib/applications/ \
+ ftp://ftp.cs.berkeley.edu/ucb/people/dglo/xless/
+
+MAINTAINER= conrads@neosoft.com
+
+USE_IMAKE= yes
+
+.include <bsd.port.mk>
diff --git a/misc/xless/distinfo b/misc/xless/distinfo
new file mode 100644
index 000000000000..585a1406b8e8
--- /dev/null
+++ b/misc/xless/distinfo
@@ -0,0 +1 @@
+MD5 (xless-1.7.tar.gz) = 8b6322b7f08be533380ca2a32b7f2963
diff --git a/misc/xless/files/patch-aa b/misc/xless/files/patch-aa
new file mode 100644
index 000000000000..a71f4ffc80ee
--- /dev/null
+++ b/misc/xless/files/patch-aa
@@ -0,0 +1,12 @@
+--- Imakefile.orig Thu Jun 2 16:22:14 1994
++++ Imakefile Fri Dec 27 18:52:23 1996
+@@ -5,7 +5,8 @@
+ * -DPRINTCMD=\"/usr/ucb/lpr\" - path to send file to printer
+ * -DTILDE_EXPANSION - perform ~ expansion on filenames
+ */
+- DEFINES = -DHELPFILE=\"${LIBDIR}/xless.help\" -DTILDE_EXPANSION
++ DEFINES = -DHELPFILE=\"${LIBDIR}/xless.help\" -DTILDE_EXPANSION \
++ -DDEFEDITOR=\"/usr/bin/vi\" -DPRINTCMD=\"/usr/bin/lpr\"
+
+
+ SRCS = help.c init.c popup.c util.c callbacks.c window.c main.c \
diff --git a/misc/xless/files/patch-ab b/misc/xless/files/patch-ab
new file mode 100644
index 000000000000..b41554543c29
--- /dev/null
+++ b/misc/xless/files/patch-ab
@@ -0,0 +1,32 @@
+*** ../work/xless-1.7/xless.h Mon Dec 23 15:57:37 1996
+--- xless.h Mon Dec 23 16:11:53 1996
+***************
+*** 38,50 ****
+
+ #define XLESS_MAX_INPUT 256
+
+! /* handle differences between K&R and ANSI C */
+ #if __STDC__
+ #define __P(a) a
+ #else
+ #define __P(a) ()
+ #define const
+ #endif
+
+ /*
+ * The default editor; make sure the file exists.
+--- 38,51 ----
+
+ #define XLESS_MAX_INPUT 256
+
+! /* handle differences between K&R and ANSI C
+ #if __STDC__
+ #define __P(a) a
+ #else
+ #define __P(a) ()
+ #define const
+ #endif
++ */
+
+ /*
+ * The default editor; make sure the file exists.
diff --git a/misc/xless/pkg-comment b/misc/xless/pkg-comment
new file mode 100644
index 000000000000..7836eb974a03
--- /dev/null
+++ b/misc/xless/pkg-comment
@@ -0,0 +1 @@
+An X11 viewer for text files. Useful as an add-on tool for other apps.
diff --git a/misc/xless/pkg-descr b/misc/xless/pkg-descr
new file mode 100644
index 000000000000..23239df65698
--- /dev/null
+++ b/misc/xless/pkg-descr
@@ -0,0 +1,22 @@
+This is a port of xless (version 1.7), a handy text file viewer for X.
+Useful as a viewer tool for other apps (e.g., xfm, the X file manager),
+or as a standalone viewer. Presents a scrollable text window (both
+vertical and horizontal scrolling), with a number of clickable buttons.
+
+From the README file:
+
+FEATURES:
+ Display either the file(s) specified on the command line or input from
+ standard input, supplied by a pipe. File/pipe may be optionally
+ monitored so that the display is continuously updated as new text is
+ added.
+ Display new files in the current window or by creating a new window.
+ Reload or print the displayed file.
+ Search the displayed file using either exact, case-insensitive, or
+ regular expression patterns.
+ Edit the displayed file with your favorite editor (as specified in
+ the VISUAL or EDITOR environment variable)
+
+--
+Conrad Sabatier
+conrads@neosoft.com
diff --git a/misc/xless/pkg-plist b/misc/xless/pkg-plist
new file mode 100644
index 000000000000..72e34d386464
--- /dev/null
+++ b/misc/xless/pkg-plist
@@ -0,0 +1,6 @@
+bin/xless
+lib/X11/xless.help
+lib/X11/app-defaults/XLess
+lib/X11/app-defaults/XLess-color
+man/man1/xless.1.gz
+