Ticket #58173: Portfile

File Portfile, 1.4 KB (added by iEFdev, 4 years ago)
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
3PortSystem          1.0
4PortGroup           github 1.0
5
6github.setup        flok99 sgwi 1.1.8
7
8categories          www mail php
9platforms           darwin freebsd
10supported_archs     noarch
11license             GPL
12maintainers         nomaintainer
13
14description         web-interface to SQLGrey
15long_description    sgwi is a web-interface to SQLGrey (SQLGrey is a greylister for Postfix). \
16                    This web-interface enables you to edit the white- and blacklists as well \
17                    as the current state of the greylist.
18
19homepage            https://www.vanheusden.com/sgwi/
20
21depends_run         port:php5-web \
22                    port:sqlgrey
23
24checksums           rmd160  098ffea0e3ffd8b8537068e605e05230542597b3 \
25                    sha256  82d00878b3e7fa6dc7c95895235260519f3a1e7b60a40e1644f54069d2920310 \
26                    size    9781
27
28use_configure       no
29build               {}
30
31destroot.violate_mtree yes
32
33destroot {
34    set docpath ${prefix}/www/${name}
35    xinstall -m 0755 -d ${destroot}${docpath}/html
36    file copy {*}[glob ${workpath}/${distname}/*] ${destroot}${docpath}/html
37    move ${destroot}${docpath}/html/includes/config.inc.php \
38        ${destroot}${docpath}/html/includes/default-config.inc.php
39}