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

Last change on this file since 86447 was 86447, checked in by ryandesign@…, 9 years ago

gnustep-make: update to 2.6.1; see #31683

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