diff options
author | hubertf <hubertf> | 1997-10-11 21:53:59 +0000 |
---|---|---|
committer | hubertf <hubertf> | 1997-10-11 21:53:59 +0000 |
commit | f5ee8e2561694e498edddcfba4a7f15ea35e3c17 (patch) | |
tree | cd1e0be6347cb17aeb9201b0ecc45b0286c98b53 /x11/xless | |
parent | ef17a602de1210761f4ecdc6eea0e872eae46423 (diff) | |
download | pkgsrc-f5ee8e2561694e498edddcfba4a7f15ea35e3c17.tar.gz |
Import as of 09/25/97
Diffstat (limited to 'x11/xless')
-rw-r--r-- | x11/xless/Makefile | 19 | ||||
-rw-r--r-- | x11/xless/files/md5 | 1 | ||||
-rw-r--r-- | x11/xless/patches/patch-aa | 12 | ||||
-rw-r--r-- | x11/xless/patches/patch-ab | 32 | ||||
-rw-r--r-- | x11/xless/pkg/COMMENT | 1 | ||||
-rw-r--r-- | x11/xless/pkg/DESCR | 22 | ||||
-rw-r--r-- | x11/xless/pkg/PLIST | 6 |
7 files changed, 93 insertions, 0 deletions
diff --git a/x11/xless/Makefile b/x11/xless/Makefile new file mode 100644 index 00000000000..c071b02ee16 --- /dev/null +++ b/x11/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/x11/xless/files/md5 b/x11/xless/files/md5 new file mode 100644 index 00000000000..585a1406b8e --- /dev/null +++ b/x11/xless/files/md5 @@ -0,0 +1 @@ +MD5 (xless-1.7.tar.gz) = 8b6322b7f08be533380ca2a32b7f2963 diff --git a/x11/xless/patches/patch-aa b/x11/xless/patches/patch-aa new file mode 100644 index 00000000000..a71f4ffc80e --- /dev/null +++ b/x11/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/x11/xless/patches/patch-ab b/x11/xless/patches/patch-ab new file mode 100644 index 00000000000..b41554543c2 --- /dev/null +++ b/x11/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/x11/xless/pkg/COMMENT b/x11/xless/pkg/COMMENT new file mode 100644 index 00000000000..7836eb974a0 --- /dev/null +++ b/x11/xless/pkg/COMMENT @@ -0,0 +1 @@ +An X11 viewer for text files. Useful as an add-on tool for other apps. diff --git a/x11/xless/pkg/DESCR b/x11/xless/pkg/DESCR new file mode 100644 index 00000000000..23239df6569 --- /dev/null +++ b/x11/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/x11/xless/pkg/PLIST b/x11/xless/pkg/PLIST new file mode 100644 index 00000000000..72e34d38646 --- /dev/null +++ b/x11/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 + |