php5-gtk version 2.0.0beta for Mac OS X 10.5 Leopard
Sunday the 11th of May, 2008

    php5-gtk  most recent diff


      View the most recent changes for the php5-gtk port at: php5-gtk.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for php5-gtk.
      The raw portfile for php5-gtk 2.0.0beta is located here:
      http://php5-gtk.darwinports.com/dports/x11/php5-gtk/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-gtk
      Google
      Web Darwinports.com



      # $Id: Portfile 28574 2007-09-03 23:10:28Z yves macports.org $

      PortSystem 1.0

      Name: php5-gtk
      Version: 2.0.0beta
      Category: x11 lang php www
      Maintainers: anant kix.in
      Homepage: http://gtk.php.net/
      distname php-gtk-${version}
      Platform: darwin freebsd

      Description: PHP-GTK: Gtk+ bindings for PHP 5.

      Long Description: PHP-GTK is a Gtk+ bindings for the PHP 5 scripting language, allowing you to build rich, cross-platform desktop applications using PHP.

      master_sites http://gtk.php.net/distributions/

      checksums md5 a02568508c2fb13bfc1b20802d8e702b sha1 1d0de61ee4a082aa103875a87e86c62d5c35327b

      depends_lib port:gtk2 port:php5

      configure.args --mandir=${prefix}/share/man --infodir=${prefix}/share/info --with-php-config=${prefix}/bin/php-config --without-libglade

      Variant: extra {
      depends_lib-append port:gtk2-extra
      configure.args-append --with-extra
      }

      Variant: html {
      depends_lib-append port:libgtkhtml3
      configure.args-append --with-html
      }

      Variant: libglade {
      depends_lib-append port:libglade2
      configure.args-delete --without-libglade
      }

      Variant: libsexy {
      depends_lib-append port:libsexy
      configure.args-append --with-libsexy
      }

      Variant: sourceview {
      depends_lib-append port:gtksourceview
      configure.args-append --with-sourceview
      }

      Variant: spell {
      depends_lib-append port:gtkspell2
      configure.args-append --with-spell
      }

      pre-configure {
      cd ${worksrcpath}
      system "./buildconf --with-phpize=${prefix}/bin/phpize"
      }

      post-destroot {
      cd ${worksrcpath}
      xinstall -d ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 README ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 README.KNOWN-ISSUES ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 NEWS ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 AUTHORS ${destroot}${prefix}/share/doc/${name}
      }

      post-install {
      ui_msg "\nIf this is your first install, you might want to enable PHP-GTK in the"
      ui_msg "ini file. Append the line: extension=php_gtk2.so to ${prefix}/etc/php.ini\n"
      }


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

     Where to find more information:

    Darwin Ports



    image test