diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-09-23 11:12:46 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-09-23 11:12:46 +0800 |
commit | a8d262d738da87297e131651b868356eeb52a8cb (patch) | |
tree | ef9632d265a8f40fb2f907432ce03a2f49b94cd8 | |
parent | ca219c573b42f5ac36bdcabd94f78fa2cd4c51ed (diff) | |
download | marcuscom-ports-a8d262d738da87297e131651b868356eeb52a8cb.tar marcuscom-ports-a8d262d738da87297e131651b868356eeb52a8cb.tar.gz marcuscom-ports-a8d262d738da87297e131651b868356eeb52a8cb.tar.bz2 marcuscom-ports-a8d262d738da87297e131651b868356eeb52a8cb.tar.lz marcuscom-ports-a8d262d738da87297e131651b868356eeb52a8cb.tar.xz marcuscom-ports-a8d262d738da87297e131651b868356eeb52a8cb.tar.zst marcuscom-ports-a8d262d738da87297e131651b868356eeb52a8cb.zip |
Handle creation of the /var/cache/gdm directory.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13002 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | x11/gdm/Makefile | 3 | ||||
-rw-r--r-- | x11/gdm/pkg-install | 3 | ||||
-rw-r--r-- | x11/gdm/pkg-plist | 2 |
3 files changed, 7 insertions, 1 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile index f77ec9be9..4bc14c5bc 100644 --- a/x11/gdm/Makefile +++ b/x11/gdm/Makefile @@ -3,11 +3,12 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/x11/gdm/Makefile,v 1.155 2009/09/12 01:18:55 marcus Exp $ +# $MCom: ports/x11/gdm/Makefile,v 1.156 2009/09/22 10:42:06 kwm Exp $ # PORTNAME= gdm PORTVERSION= 2.28.0 +PORTREVISION= 1 CATEGORIES= x11 gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 diff --git a/x11/gdm/pkg-install b/x11/gdm/pkg-install index 788a1a610..3af42623e 100644 --- a/x11/gdm/pkg-install +++ b/x11/gdm/pkg-install @@ -47,6 +47,9 @@ POST-INSTALL) ${MKDIR} -p /var/run/gdm ${CHOWN} root:${GROUP} /var/run/gdm ${CHMOD} 1777 /var/run/gdm + ${MKDIR} -p /var/cache/gdm + ${CHMOD} 1755 /var/cache/gdm + ${CHOWN} root:${GROUP} /var/cache/gdm ${CHOWN} root:wheel ${PKG_PREFIX}/share/gdm ${CHMOD} 0755 ${PKG_PREFIX}/share/gdm ${MKDIR} -p ${PKG_PREFIX}/etc/gdm/home diff --git a/x11/gdm/pkg-plist b/x11/gdm/pkg-plist index cfeb025ef..95025aa6c 100644 --- a/x11/gdm/pkg-plist +++ b/x11/gdm/pkg-plist @@ -230,6 +230,8 @@ share/pixmaps/nohost.png @unexec /bin/rm -rf /var/gdm 2>/dev/null || /usr/bin/true @unexec /bin/rm -rf /var/log/gdm 2>/dev/null || /usr/bin/true @unexec /bin/rm -rf /var/run/gdm 2>/dev/null || /usr/bin/true +@unexec rmdir /var/cache/gdm 2>/dev/null || /usr/bin/true +@unexec rmdir /var/cache 2>/dev/null || /usr/bin/true @dirrmtry share/locale/zu/LC_MESSAGES @dirrmtry share/locale/zu @dirrmtry share/locale/zh_HK/LC_MESSAGES |