summaryrefslogtreecommitdiff
path: root/archivers/gtar-base/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/gtar-base/Makefile')
-rw-r--r--archivers/gtar-base/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/archivers/gtar-base/Makefile b/archivers/gtar-base/Makefile
index 492471f1f02..2450677ec9e 100644
--- a/archivers/gtar-base/Makefile
+++ b/archivers/gtar-base/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2005/01/09 22:52:13 recht Exp $
+# $NetBSD: Makefile,v 1.40 2005/01/16 04:44:50 tv Exp $
#
DISTNAME= tar-1.15.1
@@ -50,6 +50,11 @@ PLIST_SUBST+= GTAR_LINK=""
PLIST_SUBST+= GTAR_LINK="@comment "
.endif
+# don't include rmt if gtar won't build it
+.if ${OPSYS} != "Interix"
+PLIST_SRC= ${WRKSRC}/.PLIST.rmt ${PKGDIR}/PLIST
+.endif
+
post-install:
${INSTALL_MAN_DIR} ${PREFIX}/man/man1
${INSTALL_DATA} ${FILESDIR}/gtar.1 \
@@ -58,5 +63,8 @@ post-install:
${LN} -sf ${GTAR_PROGRAM_PREFIX}tar ${PREFIX}/bin/gtar
.endif
+${WRKSRC}/.PLIST.rmt:
+ ${ECHO} 'libexec/${GTAR_PROGRAM_PREFIX}rmt' >$@
+
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"