PortSystem              1.0
PortGroup               xcode 1.0

name                    AppHack
version                 1.1
categories              aqua devel
license                 GPL-2+
supported_archs         i386 ppc
maintainers             nomaintainer

description             Program for hacking application bundles.

long_description        AppHack is a developer and theming tool to alter, \
                        replace or extract the property lists or icons of Mac \
                        OS X application bundle packages.

homepage                http://www.sveinbjorn.org/apphack
master_sites            http://www.sveinbjorn.org/files/software/apphack/

distname                ${name}.src
dist_subdir             ${name}/${version}
worksrcdir              ${name}
use_zip                 yes

checksums               md5     e621db13de5dfe5946c3020ab73ff533 \
                        sha1    9de25df706a7e6f09aec23917df79e2094c4b9f6 \
                        rmd160  d9a892aa6922457ee2a989c8eaacb7ce1f2d88f0

if {${os.major} >= 12} {
    patchfiles-append   IconFamily.m.patch
}

livecheck.regex         "AppHack(\[0-9.\]+).src${extract.suffix}"
