Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

11
misc/most/DESCR Normal file
View File

@@ -0,0 +1,11 @@
most is a pager (like less) that displays, one windowful at a time,
the contents of a file on a terminal. It pauses after each windowful
and prints the following on the window status line: the screen, the
file name, current line number, and the percentage of the file so far
displayed.
In addition to displaying ordinary text files, most can also display
binary files as well as files with arbitrary ascii characters. As an
option, autosensing of binary files can be disabled (via the -k
option), thereby allowing one to browse files encoded in a different
language (Japanese, Korean, Chinese, etc).

27
misc/most/Makefile Normal file
View File

@@ -0,0 +1,27 @@
# $NetBSD: Makefile,v 1.29 2013/02/16 11:23:25 wiz Exp $
DISTNAME= most-5.0.0a
PKGREVISION= 5
CATEGORIES= misc
MASTER_SITES= ftp://space.mit.edu/pub/davis/most/
MAINTAINER= rhwang@bigpanda.com
HOMEPAGE= http://www.jedsoft.org/most/
COMMENT= Pager (like less) which has support for windows and binary files
MAKE_JOBS_SAFE= no
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-x
CONFIGURE_ARGS+= --with-slang=${BUILDLINK_PREFIX.libslang2}
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin"
# prevent duplicate definition of zopen
CFLAGS+= -D_POSIX_C_SOURCE
.endif
.include "../../devel/libslang2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

3
misc/most/PLIST Normal file
View File

@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.1 2001/11/01 01:28:53 zuntum Exp $
bin/most
man/man1/most.1

6
misc/most/distinfo Normal file
View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.5 2008/08/09 21:32:39 bjs Exp $
SHA1 (most-5.0.0a.tar.gz) = 99eedb7169754b9a47c7755ac48949d76531e3b2
RMD160 (most-5.0.0a.tar.gz) = 5b0d1a1c5a883b94a972a5cfc1bd088d6c1cf578
Size (most-5.0.0a.tar.gz) = 155233 bytes
SHA1 (patch-ab) = 7d8a6519856fe05dcc94f745059dc321e5e4d625

View File

@@ -0,0 +1,49 @@
$NetBSD: patch-ab,v 1.2 2008/08/09 21:32:39 bjs Exp $
--- src/Makefile.in.orig 2007-09-09 12:14:17.000000000 -0400
+++ src/Makefile.in
@@ -22,7 +22,7 @@ prefix = @prefix@
exec_prefix = @exec_prefix@
datarootdir = @datarootdir@
BIN_DIR = $(prefix)/bin
-MAN_DIR = $(datarootdir)/man
+MAN_DIR = $(PREFIX)/$(PKGMANDIR)
DOC_DIR = $(datarootdir)/doc/most
SYS_INITFILE = @sysconfdir@/most.conf
MKINSDIR = ../autoconf/mkinsdir.sh
@@ -79,21 +79,21 @@ clean:
distclean: clean
/bin/rm -rf $(OBJDIR) Makefile sysconf.h
installdirs:
- $(MKINSDIR) $(DEST_DOCDIR)
- $(MKINSDIR) $(DEST_MANDIR)/man1
- $(MKINSDIR) $(DEST_BINDIR)
+ #$(MKINSDIR) $(DEST_DOCDIR)
+ $(BSD_INSTALL_MAN_DIR) $(DEST_MANDIR)/man1
+ $(BSD_INSTALL_PROGRAM_DIR) $(DEST_BINDIR)
install: all installdirs
- $(INSTALL) -s $(OBJDIR)/most $(DEST_BINDIR)
- $(INSTALL_DATA) ../most.1 $(DEST_MANDIR)/man1
- @for i in $(DOC_FILES); \
- do \
- i=../$$i; \
- echo $(INSTALL_DATA) $$i $(DEST_DOCDIR); \
- $(INSTALL_DATA) $$i $(DEST_DOCDIR); \
- if [ "$$?" != "0" ]; then \
- exit 1; \
- fi; \
- done
+ $(BSD_INSTALL_PROGRAM) $(OBJDIR)/most $(DEST_BINDIR)
+ $(BSD_INSTALL_MAN) ../most.1 $(DEST_MANDIR)/man1
+ #@for i in $(DOC_FILES); \
+ #do \
+ # i=../$$i; \
+ # echo $(INSTALL_DATA) $$i $(DEST_DOCDIR); \
+ # $(INSTALL_DATA) $$i $(DEST_DOCDIR); \
+ # if [ "$$?" != "0" ]; then \
+ # exit 1; \
+ # fi; \
+ #done
# 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: