source: trunk/dports/www/mod_chroot/Portfile

Last change on this file was 101098, checked in by ryandesign@…, 5 years ago

miwi has retired (#37127)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 101098 2013-01-04 11:20:13Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                mod_chroot
7version             0.5
8categories          www security
9platforms           darwin
10maintainers         nomaintainer
11
12description         module for running apache2 in a secure chroot environment
13
14long_description    mod_chroot makes running apache2 in a secure chroot \
15                    environment easy. You don't need to create a special \
16                    directory hierarchy containing /dev, /lib, /etc...
17
18homepage            http://core.segfault.pl/~hobbit/mod_chroot
19master_sites        ${homepage}/dist/ \
20                    freebsd
21
22checksums           sha1    42935c37fb163ff519651ddd0b0fd6982a978015 \
23                    rmd160  baba1cac0f05953dac5ab7f483bbc49417eaf8ff
24
25depends_lib         path:apache2/bin/apxs:apache2
26
27use_configure       no
28
29build.cmd           ${prefix}/apache2/bin/apxs
30build.args          -c mod_chroot.c
31build.target
32
33destroot {
34    set mdir ${destroot}${prefix}/apache2/modules/
35    xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name} ${mdir}
36    xinstall -m 644 ${worksrcpath}/.libs/mod_chroot.so ${mdir}
37    xinstall -m 644 -W ${worksrcpath} \
38        CAVEATS \
39        ChangeLog \
40        INSTALL \
41        LICENSE \
42        README \
43        README.Apache20 \
44        ${destroot}${prefix}/share/doc/${name}
45}
46
47destroot.violate_mtree yes
Note: See TracBrowser for help on using the repository browser.