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

Last change on this file was 84712, checked in by jmr@…, 6 years ago

gnustep-back: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 84712 2011-09-30 09:03:20Z ryandesign@macports.org $
2
3PortSystem  1.0
4PortGroup   gnustep 1.0
5
6name        gnustep-back
7version     0.17.0
8platforms   darwin
9# libs are LGPL, tools are GPL
10license     {LGPL GPL-3+}
11maintainers nomaintainer
12
13description A back-end component for the GNUstep GUI Library.
14long_description \
15    The implementation of the GNUstep GUI Library is designed \
16    in two parts.  The first part is the front-end component \
17    which is independent of platform and display system.  \
18    This front-end is combined with a back-end component \
19    which handles all of the display system dependent \
20    such as specific calls to the X Window System.
21
22depends_lib     port:gnustep-gui \
23                port:libart_lgpl \
24                port:Xft2
25
26checksums           md5     314c753ae922082345cf3a288440fa5a \
27                    sha1    04059fc2da1c767be5a1a8c57915b9e1a7bc3a08 \
28                    rmd160  b17eef44a252785adb955fee911711ce23d04031
29
30use_configure   yes
31configure.args  --enable-graphics=art \
32                --disable-glitz \
33                                                                --disable-glx
34
35post-install {
36        ui_msg "
37                In order to have a working GNUstep environment,
38                copy these lines at the top of your ~/.xinitrc file :"
39        if {[file exists ${prefix}/GNUstep/System/Library/Makefiles/GNUstep.sh]} {
40            ui_msg ". ${prefix}/GNUstep/System/Library/Makefiles/GNUstep.sh"
41        }
42    ui_msg "
43gdnc
44gpbs
45make_services
46
47            For more information on setting the GNUstep environment, see
48            http://gnustep.made-it.com/BuildGuide/#CONFIG.GNUSTEP"
49}
50
51platform macosx {
52    patchfiles-append   patch-ftfont.m \
53                        patch-CairoFaceInfo.h
54}
55
56# works better in quartz-wm
57variant quartzwm {
58    patchfiles-append patch-Source-x11-XGServerWindow.m
59}
60
61# experimental backend
62variant cairo {
63    depends_lib-delete      port:libart_lgpl
64    depends_lib-append      path:lib/pkgconfig/cairo.pc:cairo
65    configure.args-delete   --enable-graphics=art
66    configure.args-append   --enable-graphics=cairo
67}
Note: See TracBrowser for help on using the repository browser.