diff options
author | rillig <rillig@pkgsrc.org> | 2005-11-04 16:39:50 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-11-04 16:39:50 +0000 |
commit | 83dca2888708a13ce7d44b86b85b94fab1e811e0 (patch) | |
tree | bebc9b4886e219ea98dbd1fee7a70bbf94d61f39 /archivers/gtar-base | |
parent | c3d9f97a835a71966e43b563b6381e5596aed845 (diff) | |
download | pkgsrc-83dca2888708a13ce7d44b86b85b94fab1e811e0.tar.gz |
Replaced the use of PLIST_SRC with PLIST_SUBST. Provided uniform names for
the PLIST conditionals.
Diffstat (limited to 'archivers/gtar-base')
-rw-r--r-- | archivers/gtar-base/Makefile | 13 | ||||
-rw-r--r-- | archivers/gtar-base/PLIST | 5 |
2 files changed, 9 insertions, 9 deletions
diff --git a/archivers/gtar-base/Makefile b/archivers/gtar-base/Makefile index ea5f7b3f7be..6e7b4cd4630 100644 --- a/archivers/gtar-base/Makefile +++ b/archivers/gtar-base/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.44 2005/10/23 18:05:06 rillig Exp $ +# $NetBSD: Makefile,v 1.45 2005/11/04 16:39:50 rillig Exp $ # DISTNAME= tar-1.15.1 @@ -43,14 +43,16 @@ BUILD_DEFS+= GTAR_PROGRAM_PREFIX TEST_TARGET= check .if ${GTAR_PROGRAM_PREFIX} != "g" -PLIST_SUBST+= GTAR_LINK="" +PLIST_SUBST+= IF_BIN_GTAR="" .else -PLIST_SUBST+= GTAR_LINK="@comment " +PLIST_SUBST+= IF_BIN_GTAR="@comment " .endif # don't include rmt if gtar won't build it .if ${OPSYS} != "Interix" -PLIST_SRC= ${WRKSRC}/.PLIST.rmt ${PKGDIR}/PLIST +PLIST_SUBST+= IF_LIBEXEC_RMT="" +.else +PLIST_SUBST+= IF_LIBEXEC_RMT="@comment " .endif post-install: @@ -60,9 +62,6 @@ post-install: .if ${GTAR_PROGRAM_PREFIX} != "g" ${LN} -sf ${GTAR_PROGRAM_PREFIX}tar ${PREFIX}/bin/"gtar" .endif -.if ${OPSYS} != "Interix" - ${ECHO} 'libexec/${GTAR_PROGRAM_PREFIX}rmt' >${WRKSRC}/.PLIST.rmt -.endif .include "../../devel/gettext-lib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/archivers/gtar-base/PLIST b/archivers/gtar-base/PLIST index c6cf2c60191..924a3a18e17 100644 --- a/archivers/gtar-base/PLIST +++ b/archivers/gtar-base/PLIST @@ -1,6 +1,7 @@ -@comment $NetBSD: PLIST,v 1.9 2005/01/16 04:44:50 tv Exp $ +@comment $NetBSD: PLIST,v 1.10 2005/11/04 16:39:50 rillig Exp $ bin/${GTAR_PROGRAM_PREFIX}tar -${GTAR_LINK}bin/gtar +${IF_BIN_GTAR}bin/gtar +${IF_LIBEXEC_RMT}libexec/${GTAR_PROGRAM_PREFIX}rmt man/man1/${GTAR_PROGRAM_PREFIX}tar.1 ${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/tar.mo ${PKGLOCALEDIR}/locale/da/LC_MESSAGES/tar.mo |