diff options
author | jlam <jlam@pkgsrc.org> | 2008-04-12 22:42:57 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-04-12 22:42:57 +0000 |
commit | 841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a (patch) | |
tree | fdd67c81079412bf94013749a954125434a9baca /archivers/gtar-base | |
parent | 6874584eae20f517f70816571f6d4ac696db16b3 (diff) | |
download | pkgsrc-841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a.tar.gz |
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'archivers/gtar-base')
-rw-r--r-- | archivers/gtar-base/Makefile | 11 | ||||
-rw-r--r-- | archivers/gtar-base/PLIST | 6 |
2 files changed, 7 insertions, 10 deletions
diff --git a/archivers/gtar-base/Makefile b/archivers/gtar-base/Makefile index 3048c179211..7dff607c5bb 100644 --- a/archivers/gtar-base/Makefile +++ b/archivers/gtar-base/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.61 2008/04/02 22:03:07 tonnerre Exp $ +# $NetBSD: Makefile,v 1.62 2008/04/12 22:42:57 jlam Exp $ DISTNAME= tar-1.15.1 PKGNAME= gtar-base-1.15.1 @@ -43,20 +43,17 @@ CONFIGURE_ENV+= gt_cv_func_gnugettext2_libintl=yes PLIST_SUBST+= GTAR_PROGRAM_PREFIX=${GTAR_PROGRAM_PREFIX:Q} BUILD_DEFS+= GNU_PROGRAM_PREFIX BUILD_DEFS+= GTAR_PROGRAM_PREFIX +PLIST_VARS+= gtar rmt TEST_TARGET= check .if ${GTAR_PROGRAM_PREFIX} != "g" -PLIST_SUBST+= IF_BIN_GTAR="" -.else -PLIST_SUBST+= IF_BIN_GTAR="@comment " +PLIST.gtar= yes .endif # don't include rmt if gtar won't build it .if ${OPSYS} != "Interix" -PLIST_SUBST+= IF_LIBEXEC_RMT="" -.else -PLIST_SUBST+= IF_LIBEXEC_RMT="@comment " +PLIST.rmt= yes .endif post-install: diff --git a/archivers/gtar-base/PLIST b/archivers/gtar-base/PLIST index c067fc13672..8283733b3b7 100644 --- a/archivers/gtar-base/PLIST +++ b/archivers/gtar-base/PLIST @@ -1,7 +1,7 @@ -@comment $NetBSD: PLIST,v 1.11 2006/04/17 07:07:11 jlam Exp $ +@comment $NetBSD: PLIST,v 1.12 2008/04/12 22:42:57 jlam Exp $ bin/${GTAR_PROGRAM_PREFIX}tar -${IF_BIN_GTAR}bin/gtar -${IF_LIBEXEC_RMT}libexec/${GTAR_PROGRAM_PREFIX}rmt +${PLIST.gtar}bin/gtar +${PLIST.rmt}libexec/${GTAR_PROGRAM_PREFIX}rmt man/man1/${GTAR_PROGRAM_PREFIX}tar.1 share/locale/cs/LC_MESSAGES/tar.mo share/locale/da/LC_MESSAGES/tar.mo |