Changeset 10440


Ignore:
Timestamp:
Jan 16, 2005, 5:54:05 PM (15 years ago)
Author:
olegb
Message:

adding startupitem for gdm
changing maintainer to danchr@

Location:
trunk/dports/gnome/gdm
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/gnome/gdm/Portfile

    r9802 r10440  
    1 # $Id: Portfile,v 1.2 2004/12/16 18:02:44 olegb Exp $
     1# $Id: Portfile,v 1.3 2005/01/16 17:54:04 olegb Exp $
    22PortSystem 1.0
    33name            gdm
    44version         2.6.0.6
    55description     The Gnome Display Manager is a re-implementation of the well known xdm program.
    6 long_description        ${description}
    7 maintainers     olegb@opendarwin.org
     6long_description        The Gnome Display Manager is a re-implementation of the well \
     7                        known xdm program. It displays a X11-based graphical login screen. \
     8                        \
     9                        This port includes a StartupItem installed into /Library/StartupItems \
     10                        that can be used to run gdm automatically by inserting \
     11                        \"DISPLAYSERVER=-X11-\" into /etc/hostconfig.
     12maintainers     danchr@opendarwin.org
    813categories      gnome
    914platforms       darwin
     
    1722configure.env   CPPFLAGS="-I${prefix}/include -L${prefix}/lib"
    1823
     24post-destroot {
     25        # create required directories
     26        file mkdir \
     27        ${destroot}/${prefix}/var/${name} ${destroot}/Library/StartupItems/GDM
     28
     29        # install StartupItem
     30        set startupitem /Library/StartupItems/GDM
     31        file copy ${filespath}/StartupParameters.plist ${filespath}/GDM \
     32        ${destroot}${startupitem}
     33        reinplace "s|__PREFIX__|${prefix}|g" ${destroot}${startupitem}/GDM
     34        file attributes ${destroot}${startupitem}/GDM -permissions a+rx,a-w
     35
     36        # change user and group from gdm/gdm to unknown/unknown
     37        reinplace "s|User=gdm|User=unknown|" ${destroot}${prefix}/etc/gdm/gdm.conf
     38        reinplace "s|Group=gdm|Group=unknown|" ${destroot}${prefix}/etc/gdm/gdm.conf
     39
     40        ui_msg ""
     41        ui_msg "Insert the following into /etc/hostconfig to run gdm at startup:"
     42        ui_msg "DISPLAYSERVER=-X11-"
     43        ui_msg  ""
     44}
     45
    1946platform darwin 7 {
    20                 configure.env-append LDFLAGS="-lresolv -L${prefix}/lib"
     47        configure.env-append LDFLAGS="-lresolv -L${prefix}/lib"
    2148}
Note: See TracChangeset for help on using the changeset viewer.