summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2005-12-28 17:53:24 +0000
committerreed <reed@pkgsrc.org>2005-12-28 17:53:24 +0000
commitcc7cd454634a40d63619f0c70e2a34487aa0b46c (patch)
tree455335e536c73d40a88e4e881201ebc8c6fcb4f4
parent12f9d80691f9a8b186bff85a5049f9b1588d1b70 (diff)
downloadpkgsrc-cc7cd454634a40d63619f0c70e2a34487aa0b46c.tar.gz
This will install two screenrc examples (and changes name of one) and
fixes man page to point to them. Update patch-ap for doc/screen.1 so the location of examples files is corrected. Now install both examples. Update PLISTs. Note that the screenrc example is now called screenrc and etcscreenrc is etcscreenrc (makes sense). Mention both examples in MESSAGE. Bump PKGREVISION. This will solve problem for PR #32391. Okayed by maintainer.
-rw-r--r--misc/screen/MESSAGE7
-rw-r--r--misc/screen/Makefile7
-rw-r--r--misc/screen/PLIST3
-rw-r--r--misc/screen/PLIST.SunOS3
-rw-r--r--misc/screen/distinfo4
-rw-r--r--misc/screen/patches/patch-ap21
6 files changed, 30 insertions, 15 deletions
diff --git a/misc/screen/MESSAGE b/misc/screen/MESSAGE
index 669bb0f3c20..596be78e397 100644
--- a/misc/screen/MESSAGE
+++ b/misc/screen/MESSAGE
@@ -1,13 +1,14 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.4 2003/12/01 22:47:02 grant Exp $
+$NetBSD: MESSAGE,v 1.5 2005/12/28 17:53:24 reed Exp $
You may want to create and edit the file:
${PKG_SYSCONFDIR}/screenrc
-to customize screen globally. An example configuration file has been
-installed in:
+to customize screen globally. Example configuration files have been
+installed to:
${PREFIX}/share/examples/screen/screenrc
+ ${PREFIX}/share/examples/screen/etcscreenrc
===========================================================================
diff --git a/misc/screen/Makefile b/misc/screen/Makefile
index 7273eb72760..99d427ce3aa 100644
--- a/misc/screen/Makefile
+++ b/misc/screen/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.62 2005/10/23 23:09:59 rillig Exp $
+# $NetBSD: Makefile,v 1.63 2005/12/28 17:53:24 reed Exp $
DISTNAME= screen-4.0.2
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= misc shells
MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \
${MASTER_SITE_GNU:=screen/}
@@ -17,6 +17,7 @@ NOT_FOR_PLATFORM= Interix-*-* # user auth and username size fixes needed
USE_PKGINSTALL= YES
INFO_FILES= screen.info
PLIST_SUBST+= DISTNAME=${DISTNAME:Q}
+FILES_SUBST+= EXAMPLES=${PREFIX:Q}/share/examples/screen
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-sys-screenrc=${PKG_SYSCONFDIR}/screenrc
@@ -36,6 +37,8 @@ post-patch:
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/screen
${INSTALL_DATA} ${WRKSRC}/etc/etcscreenrc \
+ ${PREFIX}/share/examples/screen/etcscreenrc
+ ${INSTALL_DATA} ${WRKSRC}/etc/screenrc \
${PREFIX}/share/examples/screen/screenrc
.if ${OPSYS} == "SunOS"
cd ${WRKSRC}/terminfo && \
diff --git a/misc/screen/PLIST b/misc/screen/PLIST
index 3e77b310140..00563572a61 100644
--- a/misc/screen/PLIST
+++ b/misc/screen/PLIST
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.7 2004/01/06 16:30:39 wiz Exp $
+@comment $NetBSD: PLIST,v 1.8 2005/12/28 17:53:24 reed Exp $
bin/screen
bin/${DISTNAME}
man/man1/screen.1
@unexec if [ -f %D/bin/screen.old ]; then ${RM} -f %D/bin/screen.old ; fi
+share/examples/screen/etcscreenrc
share/examples/screen/screenrc
share/screen/utf8encodings/01
share/screen/utf8encodings/02
diff --git a/misc/screen/PLIST.SunOS b/misc/screen/PLIST.SunOS
index 6679bbcc13d..d56160c89bc 100644
--- a/misc/screen/PLIST.SunOS
+++ b/misc/screen/PLIST.SunOS
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST.SunOS,v 1.10 2004/01/06 16:30:40 wiz Exp $
+@comment $NetBSD: PLIST.SunOS,v 1.11 2005/12/28 17:53:24 reed Exp $
bin/screen
bin/${DISTNAME}
man/man1/screen.1
@unexec if [ -f %D/bin/screen.old ]; then ${RM} -f %D/bin/screen.old ; fi
+share/examples/screen/etcscreenrc
share/examples/screen/screenrc
share/lib/terminfo/s/screen
share/lib/terminfo/s/screen-bce
diff --git a/misc/screen/distinfo b/misc/screen/distinfo
index 4450eb9a81c..b0d3ba40b04 100644
--- a/misc/screen/distinfo
+++ b/misc/screen/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.26 2005/12/10 23:28:13 rillig Exp $
+$NetBSD: distinfo,v 1.27 2005/12/28 17:53:24 reed Exp $
SHA1 (screen-4.0.2.tar.gz) = 461eb9d5edc211e1480d7b5e94d89c4d9ba3643f
RMD160 (screen-4.0.2.tar.gz) = 42aea3d27ed25104f2a48606ea73234b715e480f
@@ -14,5 +14,5 @@ SHA1 (patch-al) = 6ee93058847f3894a886346676e4a613c0bd134e
SHA1 (patch-am) = 5fdc32f33ebbb5385292919f6cd01bedc30491d9
SHA1 (patch-an) = 79d84b0caaad6044cf81c0fcfc1cd8470c9378d8
SHA1 (patch-ao) = 81b0d64dd5918cd4d6fbc02dff0470a441a200d4
-SHA1 (patch-ap) = e44fa5dd2cadb307f12291ed67ca3f1cc03f8297
+SHA1 (patch-ap) = fd3717b70f3ade08de486e4ffad9cac39c11d3bf
SHA1 (patch-aq) = 997a0ce76086f1dd966868b1fc9ca3bb96b4b4fb
diff --git a/misc/screen/patches/patch-ap b/misc/screen/patches/patch-ap
index 5bcc655b0af..8249f62d2f7 100644
--- a/misc/screen/patches/patch-ap
+++ b/misc/screen/patches/patch-ap
@@ -1,8 +1,8 @@
-$NetBSD: patch-ap,v 1.1 2002/12/23 13:13:05 grant Exp $
+$NetBSD: patch-ap,v 1.2 2005/12/28 17:53:24 reed Exp $
---- doc/screen.1.orig Thu Sep 5 22:08:06 2002
-+++ doc/screen.1
-@@ -576,7 +576,7 @@ Show a listing of all currently attached
+--- doc/screen.1.orig 2003-12-05 05:51:57.000000000 -0800
++++ doc/screen.1 2005-12-27 13:54:30.000000000 -0800
+@@ -581,7 +581,7 @@
.SH CUSTOMIZATION
The \*Qsocket directory\*U defaults either to $HOME/.screen or simply to
@@ -11,7 +11,7 @@ $NetBSD: patch-ap,v 1.1 2002/12/23 13:13:05 grant Exp $
.I screen
is installed setuid-root, then the administrator
should compile
-@@ -589,7 +589,7 @@ in the environment variable $SCREENDIR.
+@@ -594,7 +594,7 @@
When
.I screen
is invoked, it executes initialization commands from the files
@@ -20,7 +20,16 @@ $NetBSD: patch-ap,v 1.1 2002/12/23 13:13:05 grant Exp $
\*Q.screenrc\*U in the user's home directory. These are the \*Qprogrammer's
defaults\*U that can be overridden in the following ways: for the
global screenrc file
-@@ -4298,14 +4298,14 @@ Examples in the
+@@ -624,7 +624,7 @@
+ protected from variable substitution.
+ .PP
+ Two configuration files are shipped as examples with your screen distribution:
+-\*Qetc/screenrc\*U and \*Qetc/etcscreenrc\*U. They contain a number of
++\*Q@EXAMPLES@/screenrc\*U and \*Q@EXAMPLES@/etcscreenrc\*U. They contain a number of
+ useful examples for various commands.
+ .PP
+ Customization can also be done 'on-line'. To enter the command mode type
+@@ -4416,14 +4416,14 @@
.I screen
distribution package for private and global initialization files.
.IP $SYSSCREENRC