source: trunk/dports/gnustep/gnustep-make/Portfile @ 45044

Last change on this file since 45044 was 45044, checked in by jmr@…, 12 years ago

gnustep-make: update to 2.0.8

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 KB
Line 
1# $Id: Portfile 45044 2009-01-07 13:57:31Z jmr@macports.org $
2
3PortSystem 1.0
4
5name            gnustep-make
6version         2.0.8
7categories      gnustep devel cross
8platforms       darwin
9maintainers     nomaintainer
10
11homepage        http://www.gnustep.org/
12description     GNUstep makefile package
13long_description \
14    The GNUstep makefile package is a simple, powerful and extensible way to \
15    write makefiles for a GNUstep-based project.  It allows the user to \
16    write a project without having to deal with the complex issues \
17    associated with configuration, building, installation, and packaging. \
18    It also allows the user to easily create cross-compiled binaries.
19
20master_sites        gnustep:core
21checksums           md5 13bd26f135cbc38a94dfb220e9ffd460 \
22                    sha1 b84cf87747e7f97470b882279a564726151a2fd8
23
24destroot.violate_mtree yes
25
26universal_variant   no
27depends_run         port:gcc42
28
29configure.args      CC=gcc-mp-4.2 \
30                    --with-library-combo=gnu-gnu-gnu
31
32destroot.args       messages=yes
33
34if {![variant_isset fhs_layout]} {
35    default_variants    +gnustep_layout
36}
37
38# for the curious only, not really supported by MacPorts
39variant fhs_layout conflicts gnustep_layout {
40    configure.args-append   --with-layout=fhs \
41                            --with-config-file=${prefix}/etc/GNUstep.conf
42    post-patch {
43        reinplace "s|=/man|=/share/man|g" \
44            ${worksrcpath}/FilesystemLayouts/fhs
45        reinplace "s|=/info|=/share/info|g" \
46            ${worksrcpath}/FilesystemLayouts/fhs
47    }
48}
49
50variant gnustep_layout conflicts fhs_layout {
51    configure.pre_args      --prefix=${prefix}/GNUstep
52    configure.args-append   \
53        --with-config-file=${prefix}/GNUstep/System/Library/GNUstep.conf
54
55    destroot.keepdirs       ${destroot}${prefix}/GNUstep/Local
56
57    post-install {
58        ui_msg "
59##########################################################
60To have a fully working GNUstep make system, please add
61'. ${prefix}/GNUstep/System/Library/Makefiles/GNUstep.sh'
62to your shell login (in ~/.profile)
63
64You may also want to set up your MANPATH :
65export MANPATH=\$GNUSTEP_LOCAL_ROOT/Library/Documentation/man:\$GNUSTEP_SYSTEM_ROOT/Library/Documentation/man:${prefix}/share/man:/usr/share/man:${x11prefix}/man
66##########################################################
67        "
68    }
69}
70
71platform darwin {
72    post-patch {
73        reinplace "s|/home|/Users|g" \
74            ${worksrcpath}/FilesystemLayouts/gnustep \
75            ${worksrcpath}/FilesystemLayouts/fhs
76    }
77}
Note: See TracBrowser for help on using the repository browser.