PortSystem  1.0
PortGroup   gnustep 1.0

name        gnustep
epoch       200707
version     0.18.1
platforms   darwin
license     BSD
maintainers nomaintainer

description  GNUstep meta port
long_description \
    This is the GNUstep Desktop and Applications suite. \
    Also provides a user-friendly environment configuration script.

distfiles
use_configure no
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-append \
    port:ArtResources \
    port:GMastermind \
    port:GMines \
    port:GNUMail \
    port:PRICE \
    port:TalkSoup \
    port:yap-app \
    port:gworkspace \
    port:windowmaker

variant dev_tools {
    depends_lib-append \
        port:ProjectManager \
        port:Renaissance
}
