# -*- 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$

PortSystem          1.0
PortGroup           xcode 1.0

name                Paintbrush
version             2.0.1
maintainers         gmail.com:gordon.child

categories          graphics aqua
license             GPL-3+
description         Cocoa-based image editor
long_description    Paintbrush is a Cocoa-based paint program for Mac OS X, \
                    similar to Microsoft Paint and MacPaint.

homepage            http://paintbrush.sourceforge.net/

master_sites        sourceforge:paintbrush
distname            paintbrush-${version}-source
checksums           md5 1e1d271eeca6a5790e1451ae191338ad \
                    sha1 10485b6b33b72dc81b9954d9265a3a657a177b77 \
                    rmd160 e4fc68079738d3f422634da1def84bf91cb12b3e

extract.mkdir       yes
xcode.project       Paintbrush2.xcodeproj
xcode.configuration Release

pre-fetch {
    if {${os.major} < 9} {
        return -code error "This version of ${name} is only for Mac OS X 10.5 or later."
    }
}