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

Last change on this file since 50572 was 50572, checked in by jeremyhu@…, 11 years ago

All ports: Remove reference to $x11prefix

Now that the X11 libs are provided by MacPorts and the +system_x11
compatability variant is gone, there is no need to use the system X11 libs and
headers. Users can still use the system X11 server (or any server for that
matter).

Some ports have received revision bumps becasue they were previously referring
to x11prefix even when the users were not using +system_x11. The revision
bump fixes the reference and forces a rebuild. Other ports have NOT received
revision bumps because they should be identical to what would've been
installed by default (-system_x11) before this patch.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
RevLine 
[20307]1# $Id: Portfile 50572 2009-05-04 19:19:09Z jeremyhu@macports.org $
[17763]2
[26263]3PortSystem 1.0
[40990]4
[26263]5name            gnustep-make
[45044]6version         2.0.8
[26263]7categories      gnustep devel cross
8platforms       darwin
[30229]9maintainers     nomaintainer
[17763]10
[40990]11homepage        http://www.gnustep.org/
[26263]12description     GNUstep makefile package
[17763]13long_description \
14    The GNUstep makefile package is a simple, powerful and extensible way to \
[26263]15    write makefiles for a GNUstep-based project.  It allows the user to \
16    write a project without having to deal with the complex issues \
17    associated with configuration, building, installation, and packaging. \
18    It also allows the user to easily create cross-compiled binaries.
[17763]19
[26263]20master_sites        gnustep:core
[45044]21checksums           md5 13bd26f135cbc38a94dfb220e9ffd460 \
22                    sha1 b84cf87747e7f97470b882279a564726151a2fd8
[17781]23
[32293]24destroot.violate_mtree yes
25
[43915]26universal_variant   no
27depends_run         port:gcc42
[17763]28
[45046]29patchfiles          patch-target.make.diff
30
[26263]31configure.args      CC=gcc-mp-4.2 \
32                    --with-library-combo=gnu-gnu-gnu
[17763]33
[26263]34destroot.args       messages=yes
[17763]35
[44284]36if {![variant_isset fhs_layout]} {
37    default_variants    +gnustep_layout
38}
[17763]39
[26263]40# for the curious only, not really supported by MacPorts
41variant fhs_layout conflicts gnustep_layout {
42    configure.args-append   --with-layout=fhs \
43                            --with-config-file=${prefix}/etc/GNUstep.conf
44    post-patch {
45        reinplace "s|=/man|=/share/man|g" \
46            ${worksrcpath}/FilesystemLayouts/fhs
47        reinplace "s|=/info|=/share/info|g" \
48            ${worksrcpath}/FilesystemLayouts/fhs
49    }
50}
[17763]51
[44284]52variant gnustep_layout conflicts fhs_layout {
[26263]53    configure.pre_args      --prefix=${prefix}/GNUstep
54    configure.args-append   \
55        --with-config-file=${prefix}/GNUstep/System/Library/GNUstep.conf
56
57    destroot.keepdirs       ${destroot}${prefix}/GNUstep/Local
58
59    post-install {
60        ui_msg "
61##########################################################
62To have a fully working GNUstep make system, please add
63'. ${prefix}/GNUstep/System/Library/Makefiles/GNUstep.sh'
64to your shell login (in ~/.profile)
65
66You may also want to set up your MANPATH :
[50572]67export MANPATH=\$GNUSTEP_LOCAL_ROOT/Library/Documentation/man:\$GNUSTEP_SYSTEM_ROOT/Library/Documentation/man:${prefix}/share/man:/usr/share/man
[26263]68##########################################################
69        "
70    }
[17763]71}
[26263]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.