diff options
author | hubertf <hubertf@pkgsrc.org> | 1997-10-11 21:53:59 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 1997-10-11 21:53:59 +0000 |
commit | 240eed442d1f97f7d7dd9430673499ef25dd1f36 (patch) | |
tree | cd1e0be6347cb17aeb9201b0ecc45b0286c98b53 /misc/xless | |
parent | 652e2956ee0721786181dcf43d7559a17c9b93f9 (diff) | |
download | pkgsrc-240eed442d1f97f7d7dd9430673499ef25dd1f36.tar.gz |
Import as of 09/25/97
Diffstat (limited to 'misc/xless')
-rw-r--r-- | misc/xless/Makefile | 19 | ||||
-rw-r--r-- | misc/xless/files/md5 | 1 | ||||
-rw-r--r-- | misc/xless/patches/patch-aa | 12 | ||||
-rw-r--r-- | misc/xless/patches/patch-ab | 32 | ||||
-rw-r--r-- | misc/xless/pkg/COMMENT | 1 | ||||
-rw-r--r-- | misc/xless/pkg/DESCR | 22 | ||||
-rw-r--r-- | misc/xless/pkg/PLIST | 6 |
7 files changed, 93 insertions, 0 deletions
diff --git a/misc/xless/Makefile b/misc/xless/Makefile new file mode 100644 index 00000000000..c071b02ee16 --- /dev/null +++ b/misc/xless/Makefile @@ -0,0 +1,19 @@ +# New ports collection makefile for: xless +# Version required: 1.7 +# Date created: 23 December 1996 +# Whom: Conrad Sabatier <conrads@neosoft.com> +# +# $Id: Makefile,v 1.1.1.1 1997/10/11 21:55:10 hubertf Exp $ +# + +DISTNAME= xless-1.7 +CATEGORIES= misc +MASTER_SITES= ${MASTER_SITE_XCONTRIB} \ + ftp://ftp.cs.berkeley.edu/ucb/people/dglo/xless/ +MASTER_SITE_SUBDIR= applications + +MAINTAINER= conrads@neosoft.com + +USE_IMAKE= yes + +.include <bsd.port.mk> diff --git a/misc/xless/files/md5 b/misc/xless/files/md5 new file mode 100644 index 00000000000..585a1406b8e --- /dev/null +++ b/misc/xless/files/md5 @@ -0,0 +1 @@ +MD5 (xless-1.7.tar.gz) = 8b6322b7f08be533380ca2a32b7f2963 diff --git a/misc/xless/patches/patch-aa b/misc/xless/patches/patch-aa new file mode 100644 index 00000000000..a71f4ffc80e --- /dev/null +++ b/misc/xless/patches/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/patches/patch-ab b/misc/xless/patches/patch-ab new file mode 100644 index 00000000000..b41554543c2 --- /dev/null +++ b/misc/xless/patches/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 00000000000..7836eb974a0 --- /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 00000000000..23239df6569 --- /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 00000000000..72e34d38646 --- /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 + |