[Midnightbsd-cvs] mports: Magus.pm: Add the Magus bootstrap lib.

ctriv at midnightbsd.org ctriv at midnightbsd.org
Sat Oct 20 18:33:24 EDT 2007


Log Message:
-----------
Add the Magus bootstrap lib.

Added Files:
-----------
    mports/Tools/lib:
        Magus.pm (r1.1)

-------------- next part --------------
--- /dev/null
+++ Tools/lib/Magus.pm
@@ -0,0 +1,32 @@
+package Magus;
+
+use strict;
+use warnings;
+
+BEGIN {
+  our $Root = '/usr/magus';
+}
+
+
+use Magus::Config;
+use Magus::Port      ();
+use Magus::Lock      ();
+use Magus::Result    ();
+use Magus::SubResult ();
+use Magus::Machine   ();
+use Magus::PortTest  ();
+use Magus::Chroot    ();
+use Magus::Index     ();
+
+use Mport::Globals   ();
+our $Machine;
+
+BEGIN {
+  $Machine = Magus::Machine->retrieve(
+    name => $Magus::Config{'Machine'}
+  );
+}
+
+
+1;
+__END__


More information about the Midnightbsd-cvs mailing list