diff options
author | jlam <jlam> | 2008-04-12 22:42:57 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-04-12 22:42:57 +0000 |
commit | 84db467ec7c8386066718011f8d47775d5608811 (patch) | |
tree | fdd67c81079412bf94013749a954125434a9baca /misc/screen | |
parent | 7082f8c2044621c8641f3c82a2da95c2d442048c (diff) | |
download | pkgsrc-84db467ec7c8386066718011f8d47775d5608811.tar.gz |
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'misc/screen')
-rw-r--r-- | misc/screen/Makefile | 7 | ||||
-rw-r--r-- | misc/screen/PLIST | 10 |
2 files changed, 8 insertions, 9 deletions
diff --git a/misc/screen/Makefile b/misc/screen/Makefile index 84d1cdd7b91..941ac141082 100644 --- a/misc/screen/Makefile +++ b/misc/screen/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.75 2008/04/04 21:09:16 tonnerre Exp $ +# $NetBSD: Makefile,v 1.76 2008/04/12 22:43:07 jlam Exp $ DISTNAME= screen-4.0.3 PKGREVISION= 2 @@ -34,12 +34,11 @@ SUBST_SED.paths+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g' SUBST_SED.paths+= -e 's,@EXAMPLES@,${PREFIX}/share/examples/screen,g' SUBST_STAGE.paths= post-patch +PLIST_VARS+= terminfo .if (${OPSYS} == "SunOS") && exists(/usr/5bin/tic) INSTALLATION_DIRS+= share/lib/terminfo -PLIST_SUBST+= SCREEN_TERMINFO= +PLIST.terminfo= yes post-install: screen-terminfo -.else -PLIST_SUBST+= SCREEN_TERMINFO="@comment " .endif .if empty(UNPRIVILEGED:M[Yy][Ee][Ss]) diff --git a/misc/screen/PLIST b/misc/screen/PLIST index d7a6aa9d150..21492a94b64 100644 --- a/misc/screen/PLIST +++ b/misc/screen/PLIST @@ -1,13 +1,13 @@ -@comment $NetBSD: PLIST,v 1.10 2006/04/05 23:06:33 jlam Exp $ +@comment $NetBSD: PLIST,v 1.11 2008/04/12 22:43:07 jlam Exp $ bin/screen bin/${DISTNAME} info/screen.info man/man1/screen.1 share/examples/screen/etcscreenrc share/examples/screen/screenrc -${SCREEN_TERMINFO}share/lib/terminfo/s/screen -${SCREEN_TERMINFO}share/lib/terminfo/s/screen-bce -${SCREEN_TERMINFO}share/lib/terminfo/s/screen-s +${PLIST.terminfo}share/lib/terminfo/s/screen +${PLIST.terminfo}share/lib/terminfo/s/screen-bce +${PLIST.terminfo}share/lib/terminfo/s/screen-s share/screen/utf8encodings/01 share/screen/utf8encodings/02 share/screen/utf8encodings/03 @@ -27,5 +27,5 @@ share/screen/utf8encodings/cd share/screen/utf8encodings/d6 @dirrm share/screen/utf8encodings @dirrm share/screen -${SCREEN_TERMINFO}@unexec ${RMDIR} -p %D/share/lib/terminfo/s 2>/dev/null || ${TRUE} +${PLIST.terminfo}@unexec ${RMDIR} -p %D/share/lib/terminfo/s 2>/dev/null || ${TRUE} @dirrm share/examples/screen |