# -*- 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 # $Id: Portfile 90390 2012-03-04 02:53:06Z ryandesign@macports.org $ PortSystem 1.0 name sahana2 version 0.6.3 categories www php license LGPL maintainers nomaintainer description Sahana is a web based disaster management system long_description Sahana is an integrated set of pluggable, web based \ disaster management applications that provide solutions to \ large-scale humanitarian problems in the aftermath of a \ disaster. homepage http://sahanafoundation.org/ master_sites macports_distfiles distname sahana-${version} checksums sha1 90096533999256d5f76e38d211cbe256faf5c85e \ rmd160 67641a512b8f1e644f56d7b219c493f0b163abf1 platforms darwin freebsd depends_run port:php5-web port:php5-mysql port:php5-gd port:php5-curl extract.suffix .tgz use_configure no build {} set docpath ${destroot}${prefix}/www/data set worksrcpath ${workpath}/sahana destroot { xinstall -d -m 0755 ${docpath}/sahana eval file copy [glob ${worksrcpath}/*] ${docpath}/sahana file attributes ${docpath}/sahana/www/tmp -permissions 040777 } livecheck.type regex livecheck.url http://sourceforge.net/api/file/index/project-id/127855/rss?path=/Sahana livecheck.regex sahana-(\\d+\\.\\d+\\.\\d+(\\.\\d+)?)