Download and Install mediawiki version ${major_version}.0 on Mac OS X
Thursday the 24th of July, 2008

    mediawiki  most recent diff


      View the most recent changes for the mediawiki port at: mediawiki.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for mediawiki.
      The raw portfile for mediawiki ${major_version}.0 is located here:
      http://mediawiki.darwinports.com/dports/www/mediawiki/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/mediawiki
      Google
      Web Darwinports.com



      # $Id: Portfile 35840 2008-04-07 23:03:00Z wsiegrist apple.com $

      PortSystem 1.0

      Name: mediawiki
      set major_version 1.12
      Version: ${major_version}.0
      Category: www php
      Maintainers: wms
      Description: The wiki engine used by Wikipedia
      Long Description: MediaWiki is the collaborative editing software that runs Wikipedia, the free encyclopedia, and other projects. It's designed to handle a large number of users and pages without imposing too rigid a structure or workflow.

      Homepage: http://www.mediawiki.org
      distname mediawiki-${version}
      master_sites http://download.wikimedia.org/mediawiki/${major_version}/
      checksums md5 117a1360f440883a51f0ebca32906ea0 sha1 48bf1877f60c317cbe93c072187dfe9c1aa3b857 rmd160 d4a4bd5b18345623c83aa368f6e5912d87d3589b
      Platform: darwin freebsd

      depends_run port:libiconv port:jpeg port:jasper port:tiff port:lcms port:libpng port:freetype port:libxml2 port:jbigkit port:expat port:fontconfig port:ghostscript port:ImageMagick port:pkgconfig port:aspell

      depends_lib port:php5 port:mysql5

      Variant: php4 description "use php4 instead of php5" {
      depends_lib-append port:php4
      depends_lib-delete port:php5
      }

      Variant: mysql4 description "use mysql4 instead of mysql5" {
      depends_lib-append port:mysql4
      depends_lib-delete port:mysql5
      }

      use_configure no
      build {}

      set docpath ${destroot}${prefix}/www/data

      destroot {
      xinstall -d -m 0755 ${docpath}/mediawiki
      eval file copy [glob ${worksrcpath}/*] ${docpath}/mediawiki
      }

    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/mediawiki
      % sudo port install mediawiki
      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 mediawiki
      ---> Verifying checksum for mediawiki
      ---> Extracting mediawiki
      ---> Configuring mediawiki
      ---> Building mediawiki with target all
      ---> Staging mediawiki into destroot
      ---> Installing mediawiki
    - 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 mediawiki with these commands:
      %  man mediawiki
      % apropos mediawiki
      % which mediawiki
      % locate mediawiki

     Where to find more information:

    Darwin Ports



    image test