# $Id: Portfile,v 1.1 2006/04/30 00:38:30 yves Exp $

PortSystem  1.0
PortGroup   gnustep 1.0

name        gworkspace
version     0.8.2
platforms   darwin
maintainers yves@opendarwin.org

description  GNUstep's Workspace Manager.
long_description \
    GWorkspace is a clone of the NeXT workspace manager \
    with some added features as spatial viewing, \
    real-time auditing of the file-system, \
    an advanced database based search system, etc.

master_sites  http://www.gnustep.it/enrico/gworkspace/
checksums     md5 61640e3bb7df6157b25f38c81ec1940e

worksrcdir    GWorkspace-${version}

array set gnustep.post_flags {
    DBKit "-lgnustep-base"
    FSNode "-lgnustep-base -lgnustep-gui"
    Inspector "-L../FSNode/FSNode.framework/Versions/Current/. \
        -lgnustep-base -lgnustep-gui -lFSNode"
    Operation "-lgnustep-base -lgnustep-gui"
}

use_configure yes

post-destroot {
    xinstall -d ${destroot}${prefix}/GNUstep/Local/Applications
    cd ${worksrcpath}/Apps_wrappers
    system "cp -R *.app ${destroot}${prefix}/GNUstep/Local/Applications"
}
