| 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 75461 2011-01-25 19:40:30Z snc@macports.org $ |
|---|
| 3 | |
|---|
| 4 | PortSystem 1.0 |
|---|
| 5 | |
|---|
| 6 | name sqwi |
|---|
| 7 | version 1.1.2 |
|---|
| 8 | categories www mail php |
|---|
| 9 | license GPL |
|---|
| 10 | maintainers mathiesen.info:macintosh |
|---|
| 11 | |
|---|
| 12 | description web-interface to SQLGrey |
|---|
| 13 | long_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 | |
|---|
| 17 | homepage http://www.vanheusden.com/sgwi/ |
|---|
| 18 | |
|---|
| 19 | master_sites ${homepage} |
|---|
| 20 | distname sqlgreywebinterface-${version} |
|---|
| 21 | extract.suffix .tgz |
|---|
| 22 | |
|---|
| 23 | platforms darwin freebsd |
|---|
| 24 | depends_run port:php5-web \ |
|---|
| 25 | port:sqlgrey |
|---|
| 26 | |
|---|
| 27 | checksums sha1 998d1644c29553c88ddb76dabf84baa79a753527 \ |
|---|
| 28 | rmd160 18ee684ebbc3558696da66ea10187212a97193ca |
|---|
| 29 | |
|---|
| 30 | use_configure no |
|---|
| 31 | |
|---|
| 32 | build {} |
|---|
| 33 | supported_archs noarch |
|---|
| 34 | |
|---|
| 35 | destroot.violate_mtree yes |
|---|
| 36 | |
|---|
| 37 | destroot { |
|---|
| 38 | set docpath ${destroot}${prefix}/www/${name} |
|---|
| 39 | xinstall -m 755 -d ${docpath}/html |
|---|
| 40 | eval file copy [glob ${workpath}/${distname}/*] ${docpath}/html |
|---|
| 41 | } |
|---|