# $Id$

PortSystem  1.0
PortGroup   gnustep 1.0

name        system-preferences
version     1.0.1
revision    1
platforms   darwin
license     GPL-2+
maintainers nomaintainer
homepage    http://www.gnustep.it/enrico/system-preferences/

description  GNUstep's System Preferences.
long_description \
    System Preferences is a clone of the \
    Mac OS X System Preferences application \
    based on a GNUstep implementation of the \
    PreferencePanes framework.

depends_lib-append  port:PreferencePanes

master_sites    ${homepage}
checksums       md5 e7524b27588b1705d4b6cc1fcdd21f1f
distname        systempreferences-${version}

patchfiles      patch-installation-domain

build {
    system "cd ${worksrcpath} && export ${build.env} &&
        gnumake messages=yes [set_gnustep_make] -C SystemPreferences &&
        gnumake messages=yes [set_gnustep_make] -C Modules"
}

destroot {
    system "cd ${worksrcpath} && export ${destroot.env} &&
        gnumake install ${destroot.destdir} messages=yes [set_gnustep_make] \
            -C SystemPreferences &&
        gnumake install ${destroot.destdir} messages=yes [set_gnustep_make] -C Modules"
}