# $Id: Portfile 79746 2011-06-24 20:32:58Z ryandesign@macports.org $

PortSystem 1.0
PortGroup xcode 1.0

name			Lingon
version			2.1.1
categories		aqua sysutils
maintainers		bfulgham uwe-arzt.de:mail
homepage		http://lingon.sourceforge.net/
description		Graphical interface for creating launchd configurations

long_description	Lingon is a graphical interface for creating launchd configuration \
			files and controlling them through launchctl.
			
master_sites		sourceforge:lingon
checksums		md5 ddd342d070c117314117209296cceb75 \
				sha1 70ae697e1340e343c97bdab879e66d14c50f945d

use_zip			yes
distname		${name}Source-${version}

pre-fetch {
    if {${os.major} < 9} {
        return -code error "${name} ${version} only builds on Mac OS X >= Leopard (10.5.x). Sorry."
    }
}

worksrcdir		${name}Source
xcode.target		Lingon
xcode.configuration	Release
