Pennmush version 1.8.3p9 - How to Download and Install on Mac OS X
Sunday the 21st of March, 2010

    pennmush  most recent diff


    version 1.8.3p9

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


      The pennmush Portfile 51102 2009-05-18 02:44:02Z ryandesign macports.org $

      PortSystem 1.0
      Name: pennmush
      Version: 1.8.3p9
      set branch [join [lrange [split ${version} .] 0 1] .]
      Category: games
      Maintainers: nomaintainer
      Description: The PennMUSH mud server
      Long Description: There are a number of flavors of MUSH server freely available to those who want to run their own MUSHes: TinyMUSH 3.0, TinyMUSH 2.2, TinyMUX 1.6, and PennMUSH 1.7.x. TinyMUSH uses a disk-based database, while PennMUSH keeps its database in the computer's memory (TinyMUX can do either). This makes PennMUSH suitable for computers which have plenty of memory or little disk space. From a user standpoint they offer many similar features and a very similar command parser.

      Platform: darwin

      Homepage: http://www.pennmush.org/
      Master Sites: http://download.pennmush.org/Source/ http://download.pennmush.org/Source/oldsrc/${branch}/

      Checksums: md5 88dc8ec2c07171831d9d0959549d82e3 sha1 a06f18221a40ed847bba7e30935c38937309fabe rmd160 de5777b8b2c592fecc23ade2c5cceccfee17086b

      depends_lib port:openssl port:pcre path:bin/perl:perl5 port:gettext

      Patch Files: patch-game_txt_Makefile

      configure.args --without-mysql --without-postgresql --without-sqlite3 --with-perl=${prefix}/bin/perl --with-ssl=${prefix} --with-pcre=${prefix}
      post-configure {
      copy ${worksrcpath}/options.h.dist ${worksrcpath}/options.h
      }

      post-build {
      system "cd ${worksrcpath}/game/txt && make clean all"
      }

      set pennmush_install_dir ${prefix}/libexec/${name}

      # Do our own install since the Makefiles aren't quite up to snuff for
      # full autoconf use yet...
      destroot {
      global pennmush_install_dir
      xinstall -m 755 -d ${destroot}${pennmush_install_dir}
      eval copy [glob ${worksrcpath}/game/*] ${destroot}${pennmush_install_dir}
      xinstall -m 755 ${worksrcpath}/src/netmud ${destroot}${pennmush_install_dir}/netmush
      xinstall -m 755 ${worksrcpath}/src/info_slave ${destroot}${pennmush_install_dir}
      xinstall -m 755 ${worksrcpath}/utils/ln-dir.sh ${destroot}${pennmush_install_dir}
      reinplace "s|GAMEDIR=|GAMEDIR=${pennmush_install_dir}|g" ${destroot}${pennmush_install_dir}/restart
      delete ${destroot}${pennmush_install_dir}/mush.cnf
      }

      post-activate {
      global pennmush_install_dir
      if {![file exists ${pennmush_install_dir}/mush.cnf]} {
      copy ${pennmush_install_dir}/mushcnf.dst ${pennmush_install_dir}/mush.cnf
      }
      }

      Variant: mysql5 description {Use MySQL for database} {
      depends_lib-append path:bin/mysql_config5:mysql5
      configure.args-delete --without-mysql
      configure.args-append --with-mysql=${prefix}/bin/mysql_config5
      }

      Variant: postgresql83 description {Use PostGreSQL for database} {
      depends_lib-append port:postgresql83
      configure.args-delete --without-postgresql
      configure.args-append --with-postgresql=${prefix}/lib/postgresql83/bin/pg_config
      }

      Variant: sqlite3 description {Use SQLite3 for database} {
      depends_lib-append port:sqlite3
      configure.args-delete --without-sqlite3
      configure.args-append --with-sqlite3=${prefix}
      }


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

     Where to find more information:

    Darwin Ports



    Lightbox this page.