Import screen 3.7.4 with the ability to deal with an already-installed screenrc.
This commit is contained in:
parent
51885ce24e
commit
413e482f42
32
misc/screen/Makefile
Normal file
32
misc/screen/Makefile
Normal file
@ -0,0 +1,32 @@
|
||||
# New ports collection makefile for: screen
|
||||
# Version required: 3.7.4
|
||||
# Date created: 17 November 1997
|
||||
# Whom: gene
|
||||
#
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 1997/11/18 02:42:11 gene Exp $
|
||||
# Id: Makefile,v 1.18 1997/09/15 20:09:01 ache Exp $
|
||||
#
|
||||
|
||||
DISTNAME= screen-3.7.4
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \
|
||||
${MASTER_SITE_GNU}
|
||||
|
||||
MAINTAINER= gene@OpenBSD.ORG
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
MAN1= screen.1
|
||||
|
||||
post-install:
|
||||
@if [ ! -f ${PREFIX}/info/dir ]; then \
|
||||
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
|
||||
fi
|
||||
@install-info ${PREFIX}/info/screen.info ${PREFIX}/info/dir
|
||||
@if [ -f ${PREFIX}/etc/screenrc ]; then \
|
||||
@echo "Copying ${PREFIX}/etc/screenrc to ${PREFIX}/etc/screenrc.old.";\
|
||||
${CP} ${PREFIX}/etc/screenrc ${PREFIX}/etc/screenrc.old; \
|
||||
fi
|
||||
@echo "Installing ${PREFIX}/etc/screenrc."
|
||||
${CP} ${WRKSRC}/etc/etcscreenrc ${PREFIX}/etc/screenrc
|
||||
|
||||
.include <bsd.port.mk>
|
1
misc/screen/files/md5
Normal file
1
misc/screen/files/md5
Normal file
@ -0,0 +1 @@
|
||||
MD5 (screen-3.7.4.tar.gz) = c5ab40b068968075e41e25607dfce543
|
29
misc/screen/patches/patch-aa
Normal file
29
misc/screen/patches/patch-aa
Normal file
@ -0,0 +1,29 @@
|
||||
*** Makefile.in.bak Mon Jan 16 17:59:20 1995
|
||||
--- Makefile.in Wed Jan 18 04:13:40 1995
|
||||
***************
|
||||
*** 20,26 ****
|
||||
ETCSCREENRC = `sed < config.h -n -e '/define ETCSCREENRC/s/^.*"\([^"]*\)"/\1/p'`
|
||||
|
||||
CC = @CC@
|
||||
- CFLAGS = -O
|
||||
LDFLAGS =
|
||||
LIBS = @LIBS@
|
||||
|
||||
--- 20,25 ----
|
||||
***************
|
||||
*** 79,85 ****
|
||||
|
||||
install: install_bin
|
||||
cd doc ; $(MAKE) install
|
||||
! -tic ${srcdir}/terminfo/screeninfo.src
|
||||
# Better do this by hand. E.g. under RCS...
|
||||
# cat ${srcdir}/terminfo/screencap >> /etc/termcap
|
||||
@echo "termcap entry (${srcdir}/terminfo/screencap) should be installed manually."
|
||||
--- 78,84 ----
|
||||
|
||||
install: install_bin
|
||||
cd doc ; $(MAKE) install
|
||||
! # -tic ${srcdir}/terminfo/screeninfo.src
|
||||
# Better do this by hand. E.g. under RCS...
|
||||
# cat ${srcdir}/terminfo/screencap >> /etc/termcap
|
||||
@echo "termcap entry (${srcdir}/terminfo/screencap) should be installed manually."
|
32
misc/screen/patches/patch-ab
Normal file
32
misc/screen/patches/patch-ab
Normal file
@ -0,0 +1,32 @@
|
||||
*** doc/Makefile.in.orig Tue Jun 24 01:05:43 1997
|
||||
--- doc/Makefile.in Mon Sep 15 23:56:34 1997
|
||||
***************
|
||||
*** 20,26 ****
|
||||
$(TEXI2DVI) $(srcdir)/screen.texinfo
|
||||
|
||||
info screen.info: screen.texinfo
|
||||
! $(MAKEINFO) $(srcdir)/screen.texinfo -o screen.info
|
||||
|
||||
install: installdirs
|
||||
$(INSTALL_DATA) $(srcdir)/screen.1 $(mandir)/man1/screen.1
|
||||
--- 20,27 ----
|
||||
$(TEXI2DVI) $(srcdir)/screen.texinfo
|
||||
|
||||
info screen.info: screen.texinfo
|
||||
! rm -f ./screen.info*
|
||||
! $(MAKEINFO) --no-split $(srcdir)/screen.texinfo -o screen.info
|
||||
|
||||
install: installdirs
|
||||
$(INSTALL_DATA) $(srcdir)/screen.1 $(mandir)/man1/screen.1
|
||||
***************
|
||||
*** 28,36 ****
|
||||
-if test -f screen.info; then d=.; else d=$(srcdir); fi; \
|
||||
if test -f $$d/screen.info; then \
|
||||
for f in $$d/screen.info*; do $(INSTALL_DATA) $$f $(infodir);done; \
|
||||
- if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
|
||||
- install-info --info-dir=$(infodir) $$d/screen.info; \
|
||||
- else true; fi; \
|
||||
fi
|
||||
|
||||
uninstall:
|
||||
--- 29,34 ----
|
12
misc/screen/patches/patch-ac
Normal file
12
misc/screen/patches/patch-ac
Normal file
@ -0,0 +1,12 @@
|
||||
--- doc/screen.texinfo.orig Tue Nov 21 03:03:15 1995
|
||||
+++ doc/screen.texinfo Mon Jun 16 15:16:36 1997
|
||||
@@ -2,6 +2,9 @@
|
||||
@c %**start of header
|
||||
@setfilename screen.info
|
||||
@settitle Screen User's Manual
|
||||
+@direntry
|
||||
+* Screen: (screen). Full-screen window manager.
|
||||
+@end direntry
|
||||
@finalout
|
||||
@setchapternewpage odd
|
||||
@c %**end of header
|
16
misc/screen/patches/patch-ad
Normal file
16
misc/screen/patches/patch-ad
Normal file
@ -0,0 +1,16 @@
|
||||
*** process.c.orig Sat Sep 27 17:55:26 1997
|
||||
--- process.c Sat Sep 27 17:57:12 1997
|
||||
***************
|
||||
*** 3031,3036 ****
|
||||
--- 3031,3041 ----
|
||||
{
|
||||
struct win **pp, *p;
|
||||
|
||||
+ #if defined(__OpenBSD__)
|
||||
+ /* First try killing off the window's process group... */
|
||||
+ killpg(wi->w_pid, SIGKILL);
|
||||
+ #endif
|
||||
+
|
||||
display = wi->w_display;
|
||||
if (display)
|
||||
{
|
1
misc/screen/pkg/COMMENT
Normal file
1
misc/screen/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
A multi-screen window manager.
|
7
misc/screen/pkg/DESCR
Normal file
7
misc/screen/pkg/DESCR
Normal file
@ -0,0 +1,7 @@
|
||||
Screen is a full-screen window manager that multiplexes a physical terminal
|
||||
between several processes (typically interactive shells).
|
||||
Each virtual terminal provides the functions of a DEC VT100 terminal and, in
|
||||
addition, several control functions from the ANSI X3.64 (ISO 6429) and ISO
|
||||
2022 standards (e.g. insert/delete line and support for multiple character
|
||||
sets). There is a scrollback history buffer for each virtual terminal and a
|
||||
copy-and-paste mechanism that allows moving text regions between windows.
|
7
misc/screen/pkg/PLIST
Normal file
7
misc/screen/pkg/PLIST
Normal file
@ -0,0 +1,7 @@
|
||||
bin/screen
|
||||
bin/screen-3.7.4
|
||||
man/man1/screen.1.gz
|
||||
@unexec install-info --delete %D/info/screen.info %D/info/dir
|
||||
info/screen.info
|
||||
@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
|
||||
@exec install-info %D/info/screen.info %D/info/dir
|
Loading…
Reference in New Issue
Block a user