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

Last change on this file since 54009 was 53602, checked in by and.damore@…, 11 years ago

GNUstep core (make, base, gui, back) updated, remember to install freetype --without-old-mac-fonts and aspell +nonls (default on macosx platform)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1# $Id: Portfile 53602 2009-07-09 16:14:40Z and.damore@macports.org $
2
3PortSystem 1.0
4
5name            gnustep-make
6version         2.2.0
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     3d2d06d3313432fc82e6b09c49fb7f8a \
22                    sha1    35654bab0a6576084e486e062e7e42603026509d \
23                    rmd160  6c020432fbce9f018b01d85935e5235b874fd88e
24
25destroot.violate_mtree yes
26
27universal_variant   no
28depends_run         port:gcc42
29
30configure.args      CC=gcc-mp-4.2 \
31                    --with-library-combo=gnu-gnu-gnu \
32                    --with-objc-lib-flag=-lobjc-gnu
33
34destroot.args       messages=yes
35
36if {![variant_isset fhs_layout]} {
37    default_variants    +gnustep_layout
38}
39
40# for the curious only, not really supported by MacPorts
41variant fhs_layout conflicts gnustep_layout {
42    configure.args-append   --with-layout=fhs \
43                            --with-config-file=${prefix}/etc/GNUstep.conf
44    post-patch {
45        reinplace "s|=/man|=/share/man|g" \
46            ${worksrcpath}/FilesystemLayouts/fhs
47        reinplace "s|=/info|=/share/info|g" \
48            ${worksrcpath}/FilesystemLayouts/fhs
49    }
50}
51
52variant gnustep_layout conflicts fhs_layout {
53    configure.pre_args      --prefix=${prefix}/GNUstep
54    configure.args-append   \
55        --with-config-file=${prefix}/GNUstep/System/Library/GNUstep.conf
56
57    destroot.keepdirs       ${destroot}${prefix}/GNUstep/Local
58
59    post-install {
60        ui_msg "
61##########################################################
62To have a fully working GNUstep make system, please add
63'. ${prefix}/GNUstep/System/Library/Makefiles/GNUstep.sh'
64to your shell login (in ~/.profile)
65
66You may also want to set up your MANPATH :
67export MANPATH=\$GNUSTEP_LOCAL_ROOT/Library/Documentation/man:\$GNUSTEP_SYSTEM_ROOT/Library/Documentation/man:${prefix}/share/man:/usr/share/man
68##########################################################
69        "
70    }
71}
72
73platform darwin {
74    post-patch {
75        reinplace "s|/home|/Users|g" \
76            ${worksrcpath}/FilesystemLayouts/gnustep \
77            ${worksrcpath}/FilesystemLayouts/fhs
78    }
79}
Note: See TracBrowser for help on using the repository browser.