Opened 18 years ago

Closed 15 years ago

Last modified 15 years ago

#8453 closed submission (fixed)

NEW: SAHANA Disaster Management System

Reported by: janaka@… Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: nerdling (Jeremy Lavergne), markd@…, janaka@…
Port: sahana2

Description (last modified by nerdling (Jeremy Lavergne))

# $Id$
PortSystem 1.0

name            sahana2
version         0.2.0-beta-1
categories      www php
maintainers     janaka@opensource.lk
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://www.sahana.lk
master_sites        sourceforge:sahana
distname        sahana2-${version}
checksums       md5 08ded67d106351b2d55ff362e0791c15
platforms       darwin freebsd

depends_lib port:apache2 port:php5 port:mysql5

variant apache {
    depends_lib-append  port:apache
    depends_lib-delete  port:apache2
}

variant php4 {
    depends_lib-append      port:php4
    depends_lib-delete  port:php5
}

variant mysql3 conflicts mysql4 postgresql7 postgresql8 {
    depends_lib-append  port:mysql
}

variant mysql4 conflicts mysql3 postgresql7 postgresql8 {
    depends_lib-append  port:mysql4
    depends_lib-delete  port:mysql5
}

variant postgresql7 conflicts mysql3 mysql4 postgresql8 {
    depends_lib-append  port:postgresql7
    depends_lib-delete  port:mysql5
}

variant postgresql8 conflicts mysql3 mysql4 postgresql7 {
    depends_lib-append  port:postgresql8
    depends_lib-delete  port:mysql5
}

use_configure   no
build           {}

set docpath ${destroot}${prefix}/www/data
set worksrcpath ${workpath}/sahana-phase2

destroot {
    xinstall -d -m 0755 ${docpath}/sahana-phase2
    eval file copy [glob ${worksrcpath}/*] ${docpath}/sahana-phase2
    file attributes ${docpath}/sahana-phase2/www/tmp -permissions 040777
}

Attachments (3)

Portfile (1.6 KB) - added by janaka@… 18 years ago.
Sahana2 Portfile
Portfile.2 (2.2 KB) - added by nerdling (Jeremy Lavergne) 15 years ago.
updated to 0.4.0, fixed lint nitpicks
Portfile.3 (1.6 KB) - added by nerdling (Jeremy Lavergne) 15 years ago.
final, working copy. removed variants that don't meet documented requirements for install

Download all attachments as: .zip

Change History (17)

Changed 18 years ago by janaka@…

Attachment: Portfile added

Sahana2 Portfile

comment:1 Changed 18 years ago by markd@…

Cc: markd@… added

Sorry this has been so long. I see 0.4 is out. Would you like to update the portfile before it is committed?

comment:2 Changed 18 years ago by markd@…

Type: defectenhancement

comment:3 Changed 17 years ago by roederja

Cc: janaka@… added

comment:4 Changed 17 years ago by nox@…

Cc: markd@… added; markd@… removed
Milestone: Port Submissions
Priority: ExpectedNormal
Summary: SAHANA Disaster Management System port submissionNEW: SAHANA Disaster Management System
Version: 1.2

Changed 15 years ago by nerdling (Jeremy Lavergne)

Attachment: Portfile.2 added

updated to 0.4.0, fixed lint nitpicks

comment:5 Changed 15 years ago by nerdling (Jeremy Lavergne)

Cc: snc@… added
Description: modified (diff)

Gentlemen, do we have a maintainer timeout?

comment:6 Changed 15 years ago by nerdling (Jeremy Lavergne)

Port: sahana2 added
Version: 1.7.0

comment:7 Changed 15 years ago by nerdling (Jeremy Lavergne)

Description: modified (diff)

comment:8 Changed 15 years ago by nerdling (Jeremy Lavergne)

Description: modified (diff)

comment:9 in reply to:  5 ; Changed 15 years ago by markd@…

Replying to snc@…:

Gentlemen, do we have a maintainer timeout?

Definitely. But I see that 0.6.2 is out now. Isn't 0.4 out of date?

comment:10 Changed 15 years ago by nerdling (Jeremy Lavergne)

Going from the homepage it would seem that 0.4.0 is the newest stable release.

comment:11 in reply to:  9 Changed 15 years ago by nerdling (Jeremy Lavergne)

Owner: changed from macports-tickets@… to snc@…
Status: newassigned

Replying to markd@…:

But I see that 0.6.2 is out now. Isn't 0.4 out of date?

I see it now as well. I'll update that portfile for 0.6.2 and give it a test. I'll commit if it works.

Changed 15 years ago by nerdling (Jeremy Lavergne)

Attachment: Portfile.3 added

final, working copy. removed variants that don't meet documented requirements for install

comment:12 Changed 15 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: assignedclosed

Committed as r46362.

comment:13 Changed 15 years ago by jmroot (Joshua Root)

Type: enhancementsubmission

comment:14 Changed 15 years ago by (none)

Milestone: Port Submissions

Milestone Port Submissions deleted

Note: See TracTickets for help on using tickets.