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

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

delint (#16895)

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