source: trunk/dports/gnome/gdm/Portfile @ 18473

Last change on this file since 18473 was 18473, checked in by rhwood, 14 years ago

Bug: NONE
Submitted by: rhwood@
Reviewed by:
Approved by:
Obtained from:

Upgrade 2.14.5 -> 2.14.9

  • Property svn:eol-style set to native
File size: 1.9 KB
Line 
1# $Id: Portfile,v 1.8 2006/06/22 23:21:25 rhwood Exp $
2PortSystem 1.0
3name            gdm
4version         2.14.9
5revision        1
6description     The Gnome Display Manager is a re-implementation of the well known xdm program.
7long_description        The Gnome Display Manager is a re-implementation of the well \
8                        known xdm program. It displays a X11-based graphical login screen. \
9                        \
10                        This port includes a StartupItem installed into /Library/StartupItems \
11                        that can be used to run gdm automatically by inserting \
12                        \"DISPLAYSERVER=-X11-\" into /etc/hostconfig.
13maintainers     darwinports@opendarwin.org
14categories      gnome
15platforms       darwin
16homepage        http://www.gnome.org/
17master_sites    gnome:sources/gdm/2.14/
18checksums       md5 7e46bc3b0a5b08e79f1f2f1b869caf40
19depends_lib     bin:gnome-session:gnome-session
20use_bzip2       yes
21#patchfiles     patch_config.h.in
22configure.args  --mandir=${prefix}/share/man --disable-scrollkeeper
23configure.env   CPPFLAGS="-I${prefix}/include -L${prefix}/lib"
24
25post-destroot {
26        # create required directories
27        file mkdir \
28        ${destroot}/${prefix}/var/${name} ${destroot}/Library/StartupItems/GDM
29
30        # install StartupItem
31        set startupitem /Library/StartupItems/GDM
32        file copy ${filespath}/StartupParameters.plist ${filespath}/GDM \
33        ${destroot}${startupitem}
34        reinplace "s|__PREFIX__|${prefix}|g" ${destroot}${startupitem}/GDM
35        file attributes ${destroot}${startupitem}/GDM -permissions a+rx,a-w
36
37        # change user and group from gdm/gdm to unknown/unknown
38        # reinplace "s|User=gdm|User=unknown|" ${destroot}${prefix}/etc/gdm/gdm.conf
39        # reinplace "s|Group=gdm|Group=unknown|" ${destroot}${prefix}/etc/gdm/gdm.conf
40
41        ui_msg ""
42        ui_msg "Insert the following into /etc/hostconfig to run gdm at startup:"
43        ui_msg "DISPLAYSERVER=-X11-"
44        ui_msg  ""
45}
46
47post-activate {
48        system "scrollkeeper-update"
49}
50
51platform darwin 7 {
52        configure.env-append LDFLAGS="-lresolv -L${prefix}/lib"
53}
54
55platform darwin 8 {
56        configure.env-append LDFLAGS="-lresolv -L${prefix}/lib"
57}
Note: See TracBrowser for help on using the repository browser.