Php5-midgard2 version 9.03.0 - How to Download and Install on Mac OS X
Sunday the 22nd of November, 2009

    php5-midgard2  most recent diff


    version 9.03.0

      View the most recent changes for the php5-midgard2 port at: php5-midgard2.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for php5-midgard2.
      The raw portfile for php5-midgard2 9.03.0 is located here:
      http://php5-midgard2.darwinports.com/dports/php/php5-midgard2/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/php5-midgard2


      The php5-midgard2 Portfile 58229 2009-09-24 16:33:33Z ryandesign macports.org $

      PortSystem 1.0

      Name: php5-midgard2
      Version: 9.03.0
      Category: php
      Maintainers: jwa
      Description: A content management system
      Long Description: Midgard is a content management system platform using Apache, PHP and MySQL.
      Platform: darwin
      Homepage: http://www.midgard-project.org/

      Master Sites: http://www.midgard-project.org/midcom-serveattachmentguid-f81d4896349c11deb45bcbc6657b90569056/

      #use_bzip2 yes
      Checksums: md5 885447a4e9eb24c713cfe0fe4d223f34 sha1 4ad83380a4a31c2a4833784a62ac8e03f5747e25 rmd160 9c8d64305f061854c812c506cc445d7917763632

      depends_lib port:midgard2-core path:bin/php:php5

      pre-configure {
      system "cd ${worksrcpath} && phpize"
      }

      configure.args --sysconfdir=${prefix}/etc/midgard/ --with-php-config=${prefix}/bin/php-config

      destroot.destdir INSTALL_ROOT=${destroot}

      post-install {
      ui_msg "======================== IMPORTANT ========================="
      ui_msg "If this is the first time you're installing Midgard, or you have"
      ui_msg "recently upgraded PHP, make sure to check your php.ini to verify"
      ui_msg "that extension_dir at least includes"
      system "php-config --extension-dir"
      ui_msg "================================================================"
      }

      livecheck.type regex
      livecheck.url ${homepage}download/9-3
      livecheck.regex ${name}-(\[1-9\]+.\[0-9\]+.\[0-9\]+).tar.\[bg\]z

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/php5-midgard2
      % sudo port install php5-midgard2
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching php5-midgard2
      ---> Verifying checksum for php5-midgard2
      ---> Extracting php5-midgard2
      ---> Configuring php5-midgard2
      ---> Building php5-midgard2 with target all
      ---> Staging php5-midgard2 into destroot
      ---> Installing php5-midgard2
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using php5-midgard2 with these commands:
      %  man php5-midgard2
      % apropos php5-midgard2
      % which php5-midgard2
      % locate php5-midgard2

     Where to find more information:

    Darwin Ports



    Lightbox this page.