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

Last change on this file since 38289 was 35060, checked in by jmr@…, 13 years ago

gnustep-make: new checksums due to stealth update. (New tar.gz file but same contents.)
The dist_subdir should also have been changed; done in r39577.

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