aboutsummaryrefslogtreecommitdiffstats
path: root/x11/gdm2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gdm2/Makefile')
-rw-r--r--x11/gdm2/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/x11/gdm2/Makefile b/x11/gdm2/Makefile
index 932bcabba2c2..b6ee39f88381 100644
--- a/x11/gdm2/Makefile
+++ b/x11/gdm2/Makefile
@@ -62,6 +62,12 @@ post-install:
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.endif
@${INSTALL_SCRIPT} ${WRKSRC}/gdm.sh.sample ${PREFIX}/etc/rc.d
+.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
+ @${CHOWN} -R gdm:gdm ${PREFIX}/share/gnome/gdm ${PREFIX}/etc/gdm
+.else
+ @${CHOWN} -R 92:92 ${PREFIX}/share/gnome/gdm ${PREFIX}/etc/gdm
+.endif
+ @${CHMOD} 0750 ${PREFIX}/share/gnome/gdm
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>