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/Makefile | |
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/Makefile')
-rw-r--r-- | misc/screen/Makefile | 12 |
1 files changed, 11 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" |