diff options
author | wiz <wiz@pkgsrc.org> | 2014-12-30 15:13:19 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2014-12-30 15:13:19 +0000 |
commit | c847f599fae4c8f3ee0a5d8469a7564bab932fc0 (patch) | |
tree | 72a940b4201682de30eda8c9b0e307555f4681b7 /mk/wrapper/gen-transform.sh | |
parent | 48b9f0ffaecb6a61d5a3d0b56da4a0e13bf291c3 (diff) | |
download | pkgsrc-c847f599fae4c8f3ee0a5d8469a7564bab932fc0.tar.gz |
Remove pkg_views support, second part: infrastructure.
Diffstat (limited to 'mk/wrapper/gen-transform.sh')
-rw-r--r-- | mk/wrapper/gen-transform.sh | 33 |
1 files changed, 1 insertions, 32 deletions
diff --git a/mk/wrapper/gen-transform.sh b/mk/wrapper/gen-transform.sh index a89892d4834..58eabd869af 100644 --- a/mk/wrapper/gen-transform.sh +++ b/mk/wrapper/gen-transform.sh @@ -1,6 +1,6 @@ #! @WRAPPER_SHELL@ # -# $NetBSD: gen-transform.sh,v 1.9 2014/09/02 14:23:00 jperkin Exp $ +# $NetBSD: gen-transform.sh,v 1.10 2014/12/30 15:13:20 wiz Exp $ # # Copyright (c) 2004 The NetBSD Foundation, Inc. # All rights reserved. @@ -72,16 +72,6 @@ gen() case $_cmd in ############################################################### - # depot:src:dst - # Change "src/<dir>/*" into "dst/*", and the same in -I and - # -L options. - ############################################################### - depot) - gen $_action "opt-depot:$1:$2" - gen $_action "opt-depot:-I$1:-I$2" - gen $_action "opt-depot:-L$1:-L$2" - ;; - ############################################################### # I:src:dst # Change "src" into "dst" and "src/*" into "dst/*" in -I # options for transform, and back for untransform. @@ -221,27 +211,6 @@ gen() ;; esac ;; - ############################################################### - # opt-depot:src:dst - # Change "src/<dir>/*" into "dst/*". - ############################################################### - opt-depot) - case $_action in - transform) - $debug_log $wrapperlog " (gen-transform) $_cmd: $@" - $echo "s|^$1/[^/$_sep]*\(/[^$_sep]*[$_sep]\)|$2\1|g" - $echo "s|^$1/[^/$_sep]*\(/[^$_sep]*\)$|$2\1|g" - ;; - untransform) - $debug_log $wrapperlog " (gen-transform) $_cmd: $@" - $echo "s|\([$_sep]\)$1/[^/$_sep]*\(/[^$_sep]*[$_sep]\)|\1$2\2|g" - $echo "s|\([$_sep]\)$1/[^/$_sep]*\(/[^$_sep]*[$_sep]\)|\1$2\2|g" - $echo "s|\([$_sep]\)$1/[^/$_sep]*\(/[^$_sep]*\)$|\1$2\2|g" - $echo "s|^$1/[^/$_sep]*\(/[^$_sep]*[$_sep]\)|$2\1|g" - $echo "s|^$1/[^/$_sep]*\(/[^$_sep]*\)$|$2\1|g" - ;; - esac - ;; ############################################################## # opt-sub:src:dst # Change "src/*" into "dst/*". |