add most port; From: William Yodlowsky <unix@resentment.org>

--
most is a paging program that displays, one windowful at a
time,  the  contents  of  a file on a terminal.  It pauses
after each windowful and prints on the window status  line
the  screen  the  file  name, current line number, and the
percentage of the file so far displayed.

Unlike other paging programs, most is capable of  display-
ing  an arbitrary number of windows as long as each window
occupies at least two screen lines.  Each window may  con-
tain the same file or a different file.  In addition, each
window has its own mode.  For example, one window may dis-
play  a  file  with its lines wrapped while another may be
truncating the lines...
This commit is contained in:
brad 2000-09-22 22:05:35 +00:00
parent 38a6809eec
commit 8b1c6bd28e
6 changed files with 86 additions and 0 deletions

22
misc/most/Makefile Normal file
View File

@ -0,0 +1,22 @@
# $OpenBSD: Makefile,v 1.1.1.1 2000/09/22 22:05:35 brad Exp $
DISTNAME= most-4.9.0
CATEGORIES= misc
NEED_VERSION= 1.330
MASTER_SITES= ftp://space.mit.edu/pub/davis/most/ \
http://www.resentment.org/~unix/
LIB_DEPENDS= slang.14::devel/libslang
MAINTAINER= unix@resentment.org
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
FAKE_FLAGS= DESTDIR="${WRKINST}" DOC_DIR='$$(prefix)/share/doc/most'
CONFIGURE_STYLE= gnu
.include <bsd.port.mk>

3
misc/most/files/md5 Normal file
View File

@ -0,0 +1,3 @@
MD5 (most-4.9.0.tar.gz) = e2b80cda82f022100282e06918606c85
RMD160 (most-4.9.0.tar.gz) = ac1ca8540851dde71f603846a6b68b7c274ff34a
SHA1 (most-4.9.0.tar.gz) = 7f8d02c6573ea58b00a9f85b06efa89bdc386dd2

View File

@ -0,0 +1,37 @@
--- src/Makefile.in.orig Mon May 17 01:27:07 1999
+++ src/Makefile.in Fri Sep 22 17:42:00 2000
@@ -39,12 +39,15 @@
#----------------------------------------------------------------------------
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
+
+DESTDIR =
+
prefix = @prefix@
BIN_DIR = $(prefix)/bin
MAN_DIR = $(prefix)/man/man1
DOC_DIR = $(prefix)/doc/most
-SYS_INITFILE = $(prefix)/etc/most.conf
+SYS_INITFILE = @sysconfdir@/most.conf
DOC_FILES = ../most.doc ../README ../most-fun.txt \
../lesskeys.rc ../default.rc ../changes.txt
@@ -85,12 +88,12 @@
distclean: clean
/bin/rm -rf $(OBJDIR) Makefile sysconf.h
install: all $(BIN_DIR)
- $(INSTALL) -s $(OBJDIR)/most $(BIN_DIR)
- $(INSTALL_DATA) ../most.1 $(MAN_DIR)
- $(INSTALL) -d $(DOC_DIR) -m 755
- $(INSTALL_DATA) $(DOC_FILES) $(DOC_DIR)
+ $(INSTALL) -s $(OBJDIR)/most $(DESTDIR)$(BIN_DIR)
+ $(INSTALL_DATA) ../most.1 $(DESTDIR)$(MAN_DIR)
+ $(INSTALL) -d -m 755 $(DESTDIR)$(DOC_DIR)
+ $(INSTALL_DATA) $(DOC_FILES) $(DESTDIR)$(DOC_DIR)
$(BIN_DIR):
- - ../mkinsdir.sh $(BIN_DIR)
+ - ../mkinsdir.sh $(DESTDIR)$(BIN_DIR)
# The symlinks target is for my own private use. It simply creates the object
# directory as a symbolic link to a local disk instead of an NFS mounted one.
symlinks:

1
misc/most/pkg/COMMENT Normal file
View File

@ -0,0 +1 @@
browse or page through a text file

13
misc/most/pkg/DESCR Normal file
View File

@ -0,0 +1,13 @@
most is a paging program that displays, one windowful at a
time, the contents of a file on a terminal. It pauses
after each windowful and prints on the window status line
the screen the file name, current line number, and the
percentage of the file so far displayed.
Unlike other paging programs, most is capable of display-
ing an arbitrary number of windows as long as each window
occupies at least two screen lines. Each window may con-
tain the same file or a different file. In addition, each
window has its own mode. For example, one window may dis-
play a file with its lines wrapped while another may be
truncating the lines...

10
misc/most/pkg/PLIST Normal file
View File

@ -0,0 +1,10 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2000/09/22 22:05:35 brad Exp $
bin/most
man/man1/most.1
share/doc/most/README
share/doc/most/changes.txt
share/doc/most/default.rc
share/doc/most/lesskeys.rc
share/doc/most/most-fun.txt
share/doc/most/most.doc
@dirrm share/doc/most