From cc7cd454634a40d63619f0c70e2a34487aa0b46c Mon Sep 17 00:00:00 2001 From: reed Date: Wed, 28 Dec 2005 17:53:24 +0000 Subject: 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. --- misc/screen/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'misc/screen/Makefile') 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 && \ -- cgit v1.2.3