source: trunk/dports/www/mod_ruby/Portfile

Last change on this file was 110863, checked in by jmr@…, 4 years ago

mod_ruby: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 110863 2013-09-08 21:21:26Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    mod_ruby
6version                 1.3.0
7categories              www ruby
8license                 BSD Apache-2
9platforms               darwin
10maintainers             nomaintainer
11description             apache2 module embedding the Ruby interpreter
12long_description        mod_ruby embeds the Ruby interpreter into the Apache web \
13                                        server, allowing Ruby CGI scripts to be executed natively. \
14                                        These scripts will start up much faster than without \
15                                        mod_ruby. You can also extend Apache by mod_ruby. mod_ruby \
16                                        provides Apache API to Ruby.
17
18homepage                http://modruby.net/
19master_sites    ${homepage}archive
20checksums               md5     5aae358c3c9f1bfa2554da9242289ab7 \
21                        sha1    967c4efa1ec3f8b0d9870db8665295ba6e019fff \
22                        rmd160  a87f2a54a0b501e27efffdaab88b5ad4e6abd413
23
24depends_lib             port:ruby \
25                        port:apache2 \
26                        port:apr
27
28configure.cmd   ./configure.rb
29configure.args  --with-apxs=${prefix}/apache2/bin/apxs \
30                                --with-apr-includes=${prefix}/include/apr-1
31
32destroot.violate_mtree yes
33
34post-destroot   {
35        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples
36        xinstall -m 644 -W ${worksrcpath} README.ja README.en ChangeLog COPYING \
37                ${destroot}${prefix}/share/doc/${name}
38        xinstall -m 644 ${worksrcpath}/examples/httpd.conf \
39                ${destroot}${prefix}/share/doc/${name}/examples
40}
Note: See TracBrowser for help on using the repository browser.