# $Id: Portfile 110863 2013-09-08 21:21:26Z jmr@macports.org $ PortSystem 1.0 name mod_ruby version 1.3.0 categories www ruby license BSD Apache-2 platforms darwin maintainers nomaintainer description apache2 module embedding the Ruby interpreter long_description mod_ruby embeds the Ruby interpreter into the Apache web \ server, allowing Ruby CGI scripts to be executed natively. \ These scripts will start up much faster than without \ mod_ruby. You can also extend Apache by mod_ruby. mod_ruby \ provides Apache API to Ruby. homepage http://modruby.net/ master_sites ${homepage}archive checksums md5 5aae358c3c9f1bfa2554da9242289ab7 \ sha1 967c4efa1ec3f8b0d9870db8665295ba6e019fff \ rmd160 a87f2a54a0b501e27efffdaab88b5ad4e6abd413 depends_lib port:ruby \ port:apache2 \ port:apr configure.cmd ./configure.rb configure.args --with-apxs=${prefix}/apache2/bin/apxs \ --with-apr-includes=${prefix}/include/apr-1 destroot.violate_mtree yes post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples xinstall -m 644 -W ${worksrcpath} README.ja README.en ChangeLog COPYING \ ${destroot}${prefix}/share/doc/${name} xinstall -m 644 ${worksrcpath}/examples/httpd.conf \ ${destroot}${prefix}/share/doc/${name}/examples }