# -*- 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                    BWToolkit
version                 1.2.5
revision                1
maintainers             nomaintainer
categories              devel aqua
license                 BSD
description             UI elements for Interface Builder
long_description        \
    BWToolkit is an Interface Builder plugin that contains commonly used \
    UI elements and other objects designed to simplify development for the Mac.

homepage                http://www.brandonwalkin.com/bwtoolkit/
fetch.type              hg
hg.url                  https://bitbucket.org/bwalkin/bwtoolkit
hg.tag                  590c12e68e7a

xcode.destroot.type     framework

if {${os.platform} eq "darwin" && (${os.major} < 9 || ${os.major} > 10)} {
    pre-fetch {
        ui_error "${name} ${version} requires OS X 10.5 or 10.6 only; it does not work on earlier or later versions of OS X."
        return -code error "incompatible OS X version"
    }
}