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

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

gnustep-make: license, installs_libs no

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.8 KB
Line 
1# $Id: Portfile 84709 2011-09-30 09:01:42Z jmr@macports.org $
2
3PortSystem 1.0
4
5name            gnustep-make
6version         2.4.0
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
24checksums           md5     bc2138e6256665e55b00fb0ffac766f1 \
25                    sha1    afda14186394c65b0871dba93f92dc965b2fc724 \
26                    rmd160  6f1dd81039c9935e41eb7988923c3b3c6507e383
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.