diff options
author | tron <tron@pkgsrc.org> | 2001-03-02 14:56:15 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2001-03-02 14:56:15 +0000 |
commit | f83a1b70bb4b51f811bb576ab228562a4c984890 (patch) | |
tree | 5cd99dfb2cb875036f6d23cd36b40f3fbfd43bc0 /misc/screen | |
parent | c92023b7a30a9fe5711d1dd571cf6628e03b0028 (diff) | |
download | pkgsrc-f83a1b70bb4b51f811bb576ab228562a4c984890.tar.gz |
Install "screen" terminfo files under SunOS so that you get the desired
terminal type if you set "TERMINFO" to "${PREFIX}/share/lib/terminfo".
Diffstat (limited to 'misc/screen')
-rw-r--r-- | misc/screen/Makefile | 12 | ||||
-rw-r--r-- | misc/screen/pkg/PLIST.SunOS | 12 |
2 files changed, 23 insertions, 1 deletions
diff --git a/misc/screen/Makefile b/misc/screen/Makefile index 011f5229bbe..d06cfed86ec 100644 --- a/misc/screen/Makefile +++ b/misc/screen/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2001/02/25 04:18:03 hubertf Exp $ +# $NetBSD: Makefile,v 1.26 2001/03/02 14:56:15 tron Exp $ # FreeBSD Id: Makefile,v 1.17 1997/06/16 06:39:51 max Exp # @@ -15,8 +15,18 @@ GNU_CONFIGURE= yes INFO_FILES= screen.info PLIST_SUBST= DISTNAME=${DISTNAME} +.include "../../mk/bsd.prefs.mk" +.if (${OPSYS} == SunOS) +PLIST_SRC= ${PKGDIR}/PLIST.SunOS +.endif + post-install: @${INSTALL_DATA_DIR} ${PREFIX}/share/examples/screen ${INSTALL_DATA} ${WRKSRC}/etc/etcscreenrc ${PREFIX}/share/examples/screen/screenrc +.if (${OPSYS} == SunOS) + cd ${WRKSRC}/terminfo && \ + ${SETENV} TERMINFO=${PREFIX}/share/lib/terminfo \ + /usr/5bin/tic screeninfo.src +.endif .include "../../mk/bsd.pkg.mk" diff --git a/misc/screen/pkg/PLIST.SunOS b/misc/screen/pkg/PLIST.SunOS new file mode 100644 index 00000000000..9855141ef14 --- /dev/null +++ b/misc/screen/pkg/PLIST.SunOS @@ -0,0 +1,12 @@ +@comment $NetBSD: PLIST.SunOS,v 1.1 2001/03/02 14:56:16 tron Exp $ +bin/screen +bin/${DISTNAME} +man/man1/screen.1 +@unexec install-info --delete %D/info/screen.info %D/info/dir +info/screen.info +@exec install-info %D/info/screen.info %D/info/dir +@unexec if [ -f %D/bin/screen.old ]; then rm -f %D/bin/screen.old ; fi +share/examples/screen/screenrc +@dirrm share/examples/screen +share/lib/terminfo/s/screen +share/lib/terminfo/s/screen-w |