Skip to content
Browse files

Introduce the ${destroot} can of worms to DarwinPorts.

git-svn-id: d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Kevin Van Vechten
Kevin Van Vechten committed Nov 12, 2002
1 parent f778a4c commit a3ce2a222a5f27a3e38cd2348a3b7a166bebd0df
Showing with 5 additions and 2 deletions.
  1. +4 −2 src/port1.0/portinstall.tcl
  2. +1 −0 src/port1.0/portmain.tcl
@@ -47,9 +47,11 @@ default install
set UI_PREFIX "---> "

proc install_start {args} {
global UI_PREFIX portname
global UI_PREFIX portname destroot

ui_msg "$UI_PREFIX Installing $portname with target ${}"
ui_msg "$UI_PREFIX Installing ${portname} into ${destroot} with target ${}"

file mkdir ${destroot}

proc install_main {args} {
@@ -53,6 +53,7 @@ default distpath {[file join $portdbpath distfiles]}
default workdir work
default workpath {[file join $portpath $workdir]}
default prefix /opt/local
default destroot {${workpath}/destroot}
default filedir files
default revision 0
default distname {${portname}-${portversion}}

0 comments on commit a3ce2a2

Please sign in to comment.
You can’t perform that action at this time.