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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name sahana2 |
---|
7 | version 0.6.2 |
---|
8 | categories www php |
---|
9 | maintainers nomaintainer |
---|
10 | description Sahana is a web based disaster management system |
---|
11 | long_description Sahana is an integrated set of pluggable, web based \ |
---|
12 | disaster management applications that provide solutions to \ |
---|
13 | large-scale humanitarian problems in the aftermath of a \ |
---|
14 | disaster. |
---|
15 | |
---|
16 | homepage http://www.sahana.lk |
---|
17 | master_sites sourceforge:sahana |
---|
18 | distname sahana-${version}-stable |
---|
19 | checksums md5 618c3ef5a44720f5b417b3023a8b814e \ |
---|
20 | sha1 b75571ad68e684b420091578bd0e06ccda25d14d \ |
---|
21 | rmd160 3aa1803405ad0d0414658c51342247d74d8bf9d1 |
---|
22 | |
---|
23 | platforms darwin freebsd |
---|
24 | |
---|
25 | depends_lib port:apache2 port:php5 port:mysql5 |
---|
26 | |
---|
27 | variant apache description "Use Apache 1 instead of Apache 2" { |
---|
28 | depends_lib-append port:apache |
---|
29 | depends_lib-delete port:apache2 |
---|
30 | } |
---|
31 | |
---|
32 | variant mysql4 description "Use MySQL 4" { |
---|
33 | depends_lib-append port:mysql4 |
---|
34 | depends_lib-delete port:mysql5 |
---|
35 | } |
---|
36 | |
---|
37 | use_configure no |
---|
38 | build {} |
---|
39 | |
---|
40 | set docpath ${destroot}${prefix}/www/data |
---|
41 | set worksrcpath ${workpath}/sahana |
---|
42 | |
---|
43 | destroot { |
---|
44 | xinstall -d -m 0755 ${docpath}/sahana |
---|
45 | eval file copy [glob ${worksrcpath}/*] ${docpath}/sahana |
---|
46 | file attributes ${docpath}/sahana/www/tmp -permissions 040777 |
---|
47 | } |
---|
48 | |
---|