summaryrefslogtreecommitdiff
path: root/misc/screen/Makefile
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 /misc/screen/Makefile
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.
Diffstat (limited to 'misc/screen/Makefile')
-rw-r--r--misc/screen/Makefile7
1 files changed, 5 insertions, 2 deletions
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 && \