Portfile

# $Id: Portfile 22028 2007-02-15 04:31:10Z yves@macports.org $

PortSystem 1.0
name gnustep-make
version 1.13.0
revision 1
categories gnustep devel cross
platforms darwin
maintainers yves@macports.org

description GNUstep makefile package
long_description \
The GNUstep makefile package is a simple, powerful and extensible way to \
write makefiles for a GNUstep-based project. It allows the user to \
write a project without having to deal with the complex issues \
associated with configuration, building, installation, and packaging. \
It also allows the user to easily create cross-compiled binaries.

master_sites gnustep:core

checksums md5 1d7a434e751c58c6390055c14ada302b

depends_lib port:gcc41

patchfiles patch-latex.make \
patch-palette.make \
patch-target.make

configure.pre_args --prefix=${prefix}/GNUstep
configure.args \
--with-library-combo=gnu-gnu-gnu CC=gcc-dp-4.1 \
--with-config-file=${prefix}/GNUstep/System/Library/GNUstep.conf

destroot.destdir special_prefix=${destroot}
destroot.keepdirs ${destroot}${prefix}/GNUstep/Local

post-install {
ui_msg "\n\
##########################################################\n\n\
To have a fully working GNUstep make system, please add \n\
'. ${prefix}/GNUstep/System/Library/Makefiles/GNUstep.sh' \n\
to your shell login (in ~/.profile) \n\
You may also want to set up your MANPATH and INFOPATH : \n\
export MANPATH=\$GNUSTEP_LOCAL_ROOT/Library/Documentation/man:\$GNUSTEP_SYSTEM_ROOT/Library/Documentation/man:${prefix}/share/man:/usr/share/man:/usr/X11R6/man \n\
export INFOPATH=\$GNUSTEP_LOCAL_ROOT/Library/Documentation/info:\$GNUSTEP_SYSTEM_ROOT/Library/Documentation/info:${prefix}/share/info:/usr/share/info \n\n\
##########################################################\n"
}

files