Changeset 18705 for trunk/dports
- Timestamp:
- Jul 23, 2006, 5:48:48 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/gnome/gdm/Portfile
r18473 r18705 1 # $Id: Portfile,v 1. 8 2006/06/22 23:21:25rhwood Exp $1 # $Id: Portfile,v 1.9 2006/07/23 17:48:48 rhwood Exp $ 2 2 PortSystem 1.0 3 3 name gdm 4 4 version 2.14.9 5 revision 15 revision 2 6 6 description The Gnome Display Manager is a re-implementation of the well known xdm program. 7 7 long_description The Gnome Display Manager is a re-implementation of the well \ … … 19 19 depends_lib bin:gnome-session:gnome-session 20 20 use_bzip2 yes 21 #patchfiles patch_config.h.in 21 22 22 configure.args --mandir=${prefix}/share/man --disable-scrollkeeper 23 configure.env CPPFLAGS="-I${prefix}/include -L${prefix}/lib" 23 configure.env CPPFLAGS="-I${prefix}/include -L${prefix}/lib" \ 24 LDFLAGS="-lresolv -L${prefix}/lib" 24 25 25 post-destroot { 26 # create required directories 27 file mkdir \ 28 ${destroot}/${prefix}/var/${name} ${destroot}/Library/StartupItems/GDM 26 startupitem.create yes 27 startupitem.init XDG_DATA_DIRS=${prefix}/share 28 startupitem.start ${prefix}/bin/gdm 29 startupitem.stop ${prefix}/sbin/gdm-stop 30 startupitem.restart ${prefix}/sbin/gdm-restart 29 31 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 32 pre-configure { 33 reinplace "s|security/pam|pam/pam|g" ${worksrcpath}/configure 34 reinplace "s|security/pam|pam/pam|g" ${worksrcpath}/daemon/verify-pam.c 35 reinplace "s|security/pam|pam/pam|g" ${worksrcpath}/gui/gdmlogin.c 36 reinplace "s|security/pam|pam/pam|g" ${worksrcpath}/utils/gdmaskpass.c 37 reinplace "s|security/pam|pam/pam|g" ${worksrcpath}/gui/greeter/greeter.c 38 } 36 39 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 "" 40 post-configure { 41 reinplace "s|security/pam|pam/pam|g" ${worksrcpath}/config/Makefile 45 42 } 46 43 … … 48 45 system "scrollkeeper-update" 49 46 } 50 51 platform darwin 7 {52 configure.env-append LDFLAGS="-lresolv -L${prefix}/lib"53 }54 55 platform darwin 8 {56 configure.env-append LDFLAGS="-lresolv -L${prefix}/lib"57 }
Note: See TracChangeset
for help on using the changeset viewer.