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

PortSystem 1.0
PortGroup xcode 1.0

name            burn-app
version         2.5.1
categories      sysutils
platforms       macosx
license         GPL-2
maintainers     nomaintainer

description     Burn.app is a burning application for Mac OS X
long_description \
                Burn.app is an open source frontend for Apple's DiscBurning \
                Framework

homepage        http://burn-osx.sourceforge.net/
master_sites    sourceforge:burn-osx
distname        burn[strsed ${version} {g/\\.//}]src
use_zip         yes

checksums       rmd160  d50980ba43d58fd1d930ec6ed992834f19ac545e \
                sha256  90f59e140cb25b2cc7919769d023bf98ae1b678619b6719b37e8aeec466d8e94 \
                size    170724909

worksrcdir      Source.localized
xcode.configuration     Release

variant universal {
    # NB: has problems with 64-bit
    xcode.target "Burn (Universal)"
    configure.universal_archs ppc i386
}

platform i386 {
    if {![variant_isset universal]} {
        xcode.target "Burn (Intel)"
        configure.build_arch i386
    }
}

platform powerpc {
    if {![variant_isset universal]} {
        xcode.target "Burn (PowerPC)"
        configure.build_arch ppc
    }
}

livecheck.type  regex
livecheck.url http://sourceforge.net/projects/burn-osx/files/Burn/
livecheck.regex {/Burn/(\d+(?:\.\d+)+)/}
