source: trunk/dports/www/mod_ruby/Portfile @ 87969

Last change on this file since 87969 was 84140, checked in by ryandesign@…, 8 years ago

mod_ruby: indicate that mtree violation is intentional; see http://lists.macosforge.org/pipermail/macports-users/2011-September/025582.html

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