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

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

gnustep-make: change dist_subdir so those who had the old distfile pre r35060 don't get a checksum error now

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