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

PortSystem  1.0
PortGroup   gnustep 1.0

name        gnustep
version     1.12.0
platforms   darwin
maintainers yves@opendarwin.org

description  GNUstep meta port
long_description \
    ${description} \
    Also provides a user-friendly environment config script

fetch {}
checksum {}
build {}
destroot {
    xinstall -d ${destroot}${prefix}/GNUstep/Local/Tools
    xinstall -m 755 ${filespath}/config-gnustep-user.sh \
        ${destroot}${prefix}/GNUstep/Local/Tools
    reinplace "s|@PREFIX@|${prefix}|g" \
        ${destroot}${prefix}/GNUstep/Local/Tools/config-gnustep-user.sh
}
post-install {
    ui_msg "\n\n\
        Every user will be surely glad to run the 'config-gnustep-user.sh' script \n\
        to set up  a nice GNUstep environment. \n"
}

depends_lib \
    port:ArtResources \
    port:GWorkspace

variant devel {
    depends_lib-append \
        port:Gorm \
        port:ProjectCenter
}
