aboutsummaryrefslogtreecommitdiffstats
path: root/x11/gdm/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-01-22 00:16:02 +0800
committermarcus <marcus@FreeBSD.org>2003-01-22 00:16:02 +0800
commitc08523b30ca8d66b933a8cf621603ec6dabd1cdf (patch)
tree7a000943cc6c7e8b15f474ebcfcf4b46c9a7cee5 /x11/gdm/Makefile
parent24871727c0d49b989028af7c5aeebc47715474f0 (diff)
downloadfreebsd-ports-gnome-c08523b30ca8d66b933a8cf621603ec6dabd1cdf.tar.gz
freebsd-ports-gnome-c08523b30ca8d66b933a8cf621603ec6dabd1cdf.tar.zst
freebsd-ports-gnome-c08523b30ca8d66b933a8cf621603ec6dabd1cdf.zip
One more pass at the gdm's. This time, allow the gdm user and group to
be created even if BATCH is defined. Also, set PKG_PREFIX from the port Makefile so we can take care of directory permissions within the pkg-install script for both the port and package.
Diffstat (limited to 'x11/gdm/Makefile')
-rw-r--r--x11/gdm/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile
index 9f18d67aa8fc..d2a282f2c0e5 100644
--- a/x11/gdm/Makefile
+++ b/x11/gdm/Makefile
@@ -49,15 +49,9 @@ post-patch:
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
post-install:
-.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
- @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-.endif
-.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
+.if !defined(PACKAGE_BUILDING)
+ @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.endif
- @${CHMOD} 0750 ${PREFIX}/share/gnome/gdm
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>