source: trunk/dports/www/sgwi/Portfile

Last change on this file was 79638, checked in by pixilla@…, 6 years ago

www/sgwi: New port. Closes #29876

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 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 79638 2011-06-22 02:11:19Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                sgwi
7version             1.1.2
8categories          www mail php
9license             GPL
10maintainers         mathiesen.info:macintosh
11
12description         web-interface to SQLGrey
13long_description    sgwi is a web-interface to SQLGrey (SQLGrey is a greylister for Postfix). \
14                    This web-interface enables you to edit the white- and blacklists as well \
15                    as the current state of the greylist.
16
17homepage            http://www.vanheusden.com/sgwi/
18
19master_sites        ${homepage}
20distname            sqlgreywebinterface-${version}
21extract.suffix      .tgz
22
23platforms           darwin freebsd
24depends_run         port:php5-web \
25                    port:sqlgrey
26
27checksums           sha1    998d1644c29553c88ddb76dabf84baa79a753527 \
28                    rmd160  18ee684ebbc3558696da66ea10187212a97193ca
29
30use_configure       no
31
32build               {}
33supported_archs     noarch
34
35destroot.violate_mtree yes
36
37destroot {
38    set docpath ${prefix}/www/${name}
39    xinstall -m 755 -d ${destroot}${docpath}/html
40    eval file copy [glob ${workpath}/${distname}/*] ${destroot}${docpath}/html
41    move ${destroot}${docpath}/html/includes/config.inc.php \
42        ${destroot}${docpath}/html/includes/default-config.inc.php
43}
Note: See TracBrowser for help on using the repository browser.