pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/gtar-base Replaced the use of PLIST_SRC with...
details: https://anonhg.NetBSD.org/pkgsrc/rev/691b99d00992
branches: trunk
changeset: 502414:691b99d00992
user: rillig <rillig%pkgsrc.org@localhost>
date: Fri Nov 04 16:39:50 2005 +0000
description:
Replaced the use of PLIST_SRC with PLIST_SUBST. Provided uniform names for
the PLIST conditionals.
diffstat:
archivers/gtar-base/Makefile | 13 ++++++-------
archivers/gtar-base/PLIST | 5 +++--
2 files changed, 9 insertions(+), 9 deletions(-)
diffs (52 lines):
diff -r 36fa39431f62 -r 691b99d00992 archivers/gtar-base/Makefile
--- a/archivers/gtar-base/Makefile Fri Nov 04 16:35:58 2005 +0000
+++ b/archivers/gtar-base/Makefile Fri Nov 04 16:39:50 2005 +0000
@@ -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 @@
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 @@
.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 -r 36fa39431f62 -r 691b99d00992 archivers/gtar-base/PLIST
--- a/archivers/gtar-base/PLIST Fri Nov 04 16:35:58 2005 +0000
+++ b/archivers/gtar-base/PLIST Fri Nov 04 16:39:50 2005 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index