diff options
author | hans <hans@pkgsrc.org> | 2012-01-14 01:52:14 +0000 |
---|---|---|
committer | hans <hans@pkgsrc.org> | 2012-01-14 01:52:14 +0000 |
commit | 61a093ec38c3d2105a3f40a7fc8d986f2e9fd920 (patch) | |
tree | cfad01f9f954f8b4c19f24892dcbcd4383402db8 /mk/tools/replace.mk | |
parent | 3a3fe8e873eb78efc8e81563a2581004ad5d9bc1 (diff) | |
download | pkgsrc-61a093ec38c3d2105a3f40a7fc8d986f2e9fd920.tar.gz |
Support zip and related utilities as host tools.
Diffstat (limited to 'mk/tools/replace.mk')
-rw-r--r-- | mk/tools/replace.mk | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/mk/tools/replace.mk b/mk/tools/replace.mk index 89b0e7997c1..c6c2923ab09 100644 --- a/mk/tools/replace.mk +++ b/mk/tools/replace.mk @@ -1,4 +1,4 @@ -# $NetBSD: replace.mk,v 1.238 2012/01/12 15:55:01 hans Exp $ +# $NetBSD: replace.mk,v 1.239 2012/01/14 01:52:14 hans Exp $ # # Copyright (c) 2005 The NetBSD Foundation, Inc. # All rights reserved. @@ -867,6 +867,19 @@ TOOLS_VALUE_GNU.yacc= ${TOOLS_CMDLINE.yacc} . endif .endif +.for _t_ in zip zipcloak zipnote zipsplit +. if !defined(TOOLS_IGNORE.${_t_}) && !empty(_USE_TOOLS:M${_t_}) +. if !empty(PKGPATH:Marchivers/zip) +MAKEFLAGS+= TOOLS_IGNORE.${_t_}= +. elif !empty(_TOOLS_USE_PKGSRC.${_t_}:M[yY][eE][sS]) +TOOLS_DEPENDS.${_t_}?= zip-[0-9]*:../../archivers/zip +TOOLS_CREATE+= ${_t_} +TOOLS_FIND_PREFIX+= TOOLS_PREFIX.${_t_}=zip +TOOLS_PATH.${_t_}= ${TOOLS_PREFIX.${_t_}}/bin/${_t_} +. endif +. endif +.endfor + ###################################################################### # These tools are all supplied by the lang/perl5 package if there is |