aboutsummaryrefslogtreecommitdiff
path: root/x11/gdm2/Makefile
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-01-14 17:37:30 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-01-14 17:37:30 +0000
commit73ec2c0dfd1fc09ea67bd8720089bdcef85ce080 (patch)
tree8a859d3b1086f59bf2e30df44913d698ee00f3d6 /x11/gdm2/Makefile
parent91d95687b855110562d4b4696dc86c3c1d06f273 (diff)
When installing package automagically create required user/group if they don't
exist. This should make it possible to do unattented installation of pre-built gdm package and gnome meta-package. Bump PORTREVISION. Submitted by: Joe Marcus Clarke <marcus@marcuscom.com>
Notes
Notes: svn path=/head/; revision=53062
Diffstat (limited to 'x11/gdm2/Makefile')
-rw-r--r--x11/gdm2/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/x11/gdm2/Makefile b/x11/gdm2/Makefile
index de0302d84e28..c1d840f7bce4 100644
--- a/x11/gdm2/Makefile
+++ b/x11/gdm2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gdm
PORTVERSION= 2.2.5.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/gdm
@@ -36,12 +36,10 @@ pre-patch:
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+post-install:
.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
-pre-install:
- @${SH} ${PKGREQ} ${PKGNAME} INSTALL
+ @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.endif
-
-post-install:
@${INSTALL_SCRIPT} ${WRKSRC}/config/gnomerc ${PREFIX}/etc/gdm
@${CHOWN} -R 91:91 ${PREFIX}/share/gnome/gdm ${PREFIX}/etc/gdm
@${CAT} ${PKGMESSAGE}