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

Last change on this file was 108870, checked in by jeremyhu@…, 4 years ago

multiple: Remove compiler dependency block that is not needed with base 2.2 (#32542).

If anyone is still on an older base, the workaround is trivial (install the missing compiler).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1# $Id: Portfile 108870 2013-08-04 06:18:37Z 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
30compiler.blacklist  gcc-4.0
31
32configure.args      CC=${configure.cc} \
33                    --with-library-combo=gnu-gnu-gnu \
34                    --with-objc-lib-flag=-lobjc-gnu
35
36destroot.args       messages=yes
37
38if {![variant_isset fhs_layout]} {
39    default_variants    +gnustep_layout
40}
41
42# for the curious only, not really supported by MacPorts
43variant fhs_layout conflicts gnustep_layout description {Use FHS layout (unsupported)} {
44    configure.args-append   --with-layout=fhs \
45                            --with-config-file=${prefix}/etc/GNUstep.conf
46    post-patch {
47        reinplace "s|=/man|=/share/man|g" \
48            ${worksrcpath}/FilesystemLayouts/fhs
49        reinplace "s|=/info|=/share/info|g" \
50            ${worksrcpath}/FilesystemLayouts/fhs
51    }
52}
53
54variant gnustep_layout conflicts fhs_layout description {Use standard GNUstep layout} {
55    configure.pre_args      --prefix=${prefix}/GNUstep
56    configure.args-append   \
57        --with-config-file=${prefix}/GNUstep/System/Library/GNUstep.conf
58
59    destroot.keepdirs       ${destroot}${prefix}/GNUstep/Local
60
61        notes "\
62##########################################################
63To have a fully working GNUstep make system, please add
64'. ${prefix}/GNUstep/share/GNUstep/Makefiles/GNUstep.sh'
65to your shell login (in ~/.profile)
66
67You may also want to set up your MANPATH :
68export MANPATH=\$GNUSTEP_LOCAL_ROOT/Library/Documentation/man:\$GNUSTEP_SYSTEM_ROOT/Library/Documentation/man:${prefix}/share/man:/usr/share/man
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.