summaryrefslogtreecommitdiffstats
path: root/x11/gdm2
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2004-04-20 17:06:12 +0000
committermarcus <marcus@FreeBSD.org>2004-04-20 17:06:12 +0000
commite1ba768a4e91be596d790498aadb84e47f79cd67 (patch)
tree25cb79f292e5c7f77f79be16ef0ae17e99c0967a /x11/gdm2
parent3d9edc69c3f6da2780a6eb5c6bb24ba3f99ec941 (diff)
downloadFreeBSD-ports-e1ba768a4e91be596d790498aadb84e47f79cd67.zip
FreeBSD-ports-e1ba768a4e91be596d790498aadb84e47f79cd67.tar.gz
Create the ${PREFIX}/etc/dm/Sessions directory.
Diffstat (limited to 'x11/gdm2')
-rw-r--r--x11/gdm2/Makefile2
-rw-r--r--x11/gdm2/pkg-install3
2 files changed, 4 insertions, 1 deletions
diff --git a/x11/gdm2/Makefile b/x11/gdm2/Makefile
index c3aa39d..940ec1a 100644
--- a/x11/gdm2/Makefile
+++ b/x11/gdm2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gdm2
PORTVERSION= 2.6.0.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.6
diff --git a/x11/gdm2/pkg-install b/x11/gdm2/pkg-install
index 0697267..135a928 100644
--- a/x11/gdm2/pkg-install
+++ b/x11/gdm2/pkg-install
@@ -9,6 +9,7 @@ POST-INSTALL)
PW=/usr/sbin/pw
CHMOD=/bin/chmod
CHOWN=/usr/sbin/chown
+ MKDIR=/bin/mkdir
if ${PW} group show "${GROUP}" 2>/dev/null; then
echo "You already have a group \"${GROUP}\", so I will use it."
@@ -35,6 +36,8 @@ POST-INSTALL)
fi
${CHOWN} -R root:${GROUP} ${PKG_PREFIX}/share/gnome/gdm
${CHMOD} 1770 ${PKG_PREFIX}/share/gnome/gdm
+
+ ${MKDIR} -p ${PKG_PREFIX}/etc/dm/Sessions
exit 0
;;
esac
OpenPOWER on IntegriCloud