# $Id: Portfile 40990 2008-10-20 12:34:10Z afb@macports.org $ PortSystem 1.0 name gnustep-make version 2.0.1 categories gnustep devel cross platforms darwin maintainers nomaintainer dist_subdir ${name}/${version}_1 homepage http://www.gnustep.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 6bed419109959c6664a99d4986f86706 \ sha1 278cb6797dec94707082b9554b490f17abe268ae destroot.violate_mtree yes depends_lib port:gcc42 configure.args CC=gcc-mp-4.2 \ --with-library-combo=gnu-gnu-gnu destroot.args messages=yes default_variants +gnustep_layout # for the curious only, not really supported by MacPorts variant fhs_layout conflicts gnustep_layout { configure.args-append --with-layout=fhs \ --with-config-file=${prefix}/etc/GNUstep.conf post-patch { reinplace "s|=/man|=/share/man|g" \ ${worksrcpath}/FilesystemLayouts/fhs reinplace "s|=/info|=/share/info|g" \ ${worksrcpath}/FilesystemLayouts/fhs } } variant gnustep_layout { configure.pre_args --prefix=${prefix}/GNUstep configure.args-append \ --with-config-file=${prefix}/GNUstep/System/Library/GNUstep.conf destroot.keepdirs ${destroot}${prefix}/GNUstep/Local post-install { ui_msg " ########################################################## To have a fully working GNUstep make system, please add '. ${prefix}/GNUstep/System/Library/Makefiles/GNUstep.sh' to your shell login (in ~/.profile) You may also want to set up your MANPATH : export MANPATH=\$GNUSTEP_LOCAL_ROOT/Library/Documentation/man:\$GNUSTEP_SYSTEM_ROOT/Library/Documentation/man:${prefix}/share/man:/usr/share/man:/usr/X11R6/man ########################################################## " } } platform darwin { post-patch { reinplace "s|/home|/Users|g" \ ${worksrcpath}/FilesystemLayouts/gnustep \ ${worksrcpath}/FilesystemLayouts/fhs } }