summaryrefslogtreecommitdiff
path: root/mk/tools/zip.mk
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-01-14 01:52:14 +0000
committerhans <hans@pkgsrc.org>2012-01-14 01:52:14 +0000
commit61a093ec38c3d2105a3f40a7fc8d986f2e9fd920 (patch)
treecfad01f9f954f8b4c19f24892dcbcd4383402db8 /mk/tools/zip.mk
parent3a3fe8e873eb78efc8e81563a2581004ad5d9bc1 (diff)
downloadpkgsrc-61a093ec38c3d2105a3f40a7fc8d986f2e9fd920.tar.gz
Support zip and related utilities as host tools.
Diffstat (limited to 'mk/tools/zip.mk')
-rw-r--r--mk/tools/zip.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/mk/tools/zip.mk b/mk/tools/zip.mk
new file mode 100644
index 00000000000..2cf7be2e367
--- /dev/null
+++ b/mk/tools/zip.mk
@@ -0,0 +1,11 @@
+# $NetBSD: zip.mk,v 1.1 2012/01/14 01:52:14 hans Exp $
+#
+
+# This file needs to be included before replace.mk as it modifies the
+# USE_TOOLS variables that are used by replace.mk.
+#
+.if !empty(USE_TOOLS:Mzip)
+USE_TOOLS+= zipcloak zipnote zipsplit
+.elif !empty(USE_TOOLS:Mzip\:run)
+USE_TOOLS+= zipcloak:run zipnote:run zipsplit:run
+.endif