# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 61357 2009-12-09 18:32:59Z billitch@macports.org $

PortSystem      1.0

name            planner
version         0.14.4
revision        0
categories      gnome
maintainers     billitch
description     Project management application for GNOME 2
long_description \
    Planner is a tool for planning, scheduling and tracking \
    projects for the GNOME Desktop. Planner is an open source \
    project aiming at being a better alternative than the \
    available proprietary tools. \
    Planner is part of GNOME Office, a productivity suite \
    composed of entirely free software, integrated with the \
    GNOME Desktop.
homepage        http://live.gnome.org/Planner
platforms       darwin
master_sites    gnome:sources/planner/0.14/
checksums       md5     8fcbd1b55dd037662f7710a28a96bb92 \
                sha1    43ba90bd18fcd271c0da31e66d2fa1294831cf28 \
                rmd160  61fae3ac84e703d360b1cba97410a89da876a293

distname        planner-${version}
use_bzip2       yes

depends_build   port:pkgconfig \
                port:shared-mime-info
depends_lib     port:gtk2 \
                port:gconf \
                port:libgnomeui \
                port:libgnomeprintui \
                port:rarian \
                port:libxslt \
                port:p5-xml-parser \
                port:evolution-data-server

configure.args  --disable-python \
                --disable-dotnet \
                --disable-update-mimedb \
                --enable-eds \
                --mandir=${prefix}/share/man

variant debug description {Enable debug} {
                configure.cflags-delete -O2
                configure.cflags-append -O0 -g
}

post-activate {
    system "update-mime-database ${prefix}/share/mime"
}
