[79008] branches/gsoc11-post-destroot/base/src/port1.0
fotanus at macports.org
fotanus at macports.org
Sun May 29 14:27:54 PDT 2011
Revision: 79008
http://trac.macports.org/changeset/79008
Author: fotanus at macports.org
Date: 2011-05-29 14:27:53 -0700 (Sun, 29 May 2011)
Log Message:
-----------
Added post-destroot phase to macports.
Currently, it does nothing.
Modified Paths:
--------------
branches/gsoc11-post-destroot/base/src/port1.0/Makefile
branches/gsoc11-post-destroot/base/src/port1.0/port.tcl
branches/gsoc11-post-destroot/base/src/port1.0/portinstall.tcl
Added Paths:
-----------
branches/gsoc11-post-destroot/base/src/port1.0/portpostdestroot.tcl
Modified: branches/gsoc11-post-destroot/base/src/port1.0/Makefile
===================================================================
--- branches/gsoc11-post-destroot/base/src/port1.0/Makefile 2011-05-29 19:52:03 UTC (rev 79007)
+++ branches/gsoc11-post-destroot/base/src/port1.0/Makefile 2011-05-29 21:27:53 UTC (rev 79008)
@@ -6,7 +6,8 @@
portlint.tcl portclean.tcl porttest.tcl portactivate.tcl \
portdeactivate.tcl portsubmit.tcl port_autoconf.tcl portstartupitem.tcl \
porttrace.tcl portlivecheck.tcl portdistcheck.tcl portmirror.tcl \
- portload.tcl portunload.tcl portdistfiles.tcl fetch_common.tcl
+ portload.tcl portunload.tcl portdistfiles.tcl fetch_common.tcl \
+ portpostdestroot.tcl
include ../../Mk/macports.subdir.mk
include ../../Mk/macports.autoconf.mk
Modified: branches/gsoc11-post-destroot/base/src/port1.0/port.tcl
===================================================================
--- branches/gsoc11-post-destroot/base/src/port1.0/port.tcl 2011-05-29 19:52:03 UTC (rev 79007)
+++ branches/gsoc11-post-destroot/base/src/port1.0/port.tcl 2011-05-29 21:27:53 UTC (rev 79008)
@@ -42,6 +42,7 @@
package require portconfigure 1.0
package require portbuild 1.0
package require portdestroot 1.0
+package require portpostdestroot 1.0
package require portinstall 1.0
package require portuninstall 1.0
package require portactivate 1.0
Modified: branches/gsoc11-post-destroot/base/src/port1.0/portinstall.tcl
===================================================================
--- branches/gsoc11-post-destroot/base/src/port1.0/portinstall.tcl 2011-05-29 19:52:03 UTC (rev 79007)
+++ branches/gsoc11-post-destroot/base/src/port1.0/portinstall.tcl 2011-05-29 21:27:53 UTC (rev 79008)
@@ -38,7 +38,7 @@
set org.macports.install [target_new org.macports.install portinstall::install_main]
target_provides ${org.macports.install} install
target_runtype ${org.macports.install} always
-target_requires ${org.macports.install} main archivefetch fetch checksum extract patch configure build destroot
+target_requires ${org.macports.install} main archivefetch fetch checksum extract patch configure build destroot postdestroot
target_prerun ${org.macports.install} portinstall::install_start
namespace eval portinstall {
Added: branches/gsoc11-post-destroot/base/src/port1.0/portpostdestroot.tcl
===================================================================
--- branches/gsoc11-post-destroot/base/src/port1.0/portpostdestroot.tcl (rev 0)
+++ branches/gsoc11-post-destroot/base/src/port1.0/portpostdestroot.tcl 2011-05-29 21:27:53 UTC (rev 79008)
@@ -0,0 +1,21 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
+# portpostdestroot.tcl
+
+package provide portpostdestroot 1.0
+package require portutil 1.0
+
+set org.macports.postdestroot [target_new org.macports.postdestroot portpostdestroot::postdestroot_main]
+target_provides ${org.macports.postdestroot} postdestroot
+target_requires ${org.macports.postdestroot} main destroot
+
+namespace eval portpostdestroot {
+}
+
+set_ui_prefix
+
+proc portpostdestroot::postdestroot_main {args} {
+ global UI_PREFIX
+ ui_notice "$UI_PREFIX Executing post-destroot phase"
+ return 0
+}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110529/8a6b7674/attachment.html>
More information about the macports-changes
mailing list