diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-07-28 04:33:23 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2008-07-28 04:33:23 +0800 |
commit | fb00351ebfe806a3c5155f56b8b9ae492104bd3a (patch) | |
tree | eef63b334d6f883f2d042080177ca09a77021467 /x11/gdm/Makefile | |
parent | d12daa6236579c43a212b032f4a994ff19f1e5fb (diff) | |
download | marcuscom-ports-fb00351ebfe806a3c5155f56b8b9ae492104bd3a.tar marcuscom-ports-fb00351ebfe806a3c5155f56b8b9ae492104bd3a.tar.gz marcuscom-ports-fb00351ebfe806a3c5155f56b8b9ae492104bd3a.tar.bz2 marcuscom-ports-fb00351ebfe806a3c5155f56b8b9ae492104bd3a.tar.lz marcuscom-ports-fb00351ebfe806a3c5155f56b8b9ae492104bd3a.tar.xz marcuscom-ports-fb00351ebfe806a3c5155f56b8b9ae492104bd3a.tar.zst marcuscom-ports-fb00351ebfe806a3c5155f56b8b9ae492104bd3a.zip |
Sync with the FreeBSD ports tree.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@11192 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gdm/Makefile')
-rw-r--r-- | x11/gdm/Makefile | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile index 263c51284..b54bba059 100644 --- a/x11/gdm/Makefile +++ b/x11/gdm/Makefile @@ -3,12 +3,12 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/x11/gdm/Makefile,v 1.124 2008/06/09 05:34:29 marcus Exp $ +# $MCom: ports/x11/gdm/Makefile,v 1.125 2008/07/26 02:40:42 marcus Exp $ # PORTNAME= gdm PORTVERSION= 2.22.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= x11 gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} @@ -39,19 +39,23 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" \ GTKDOC="false" +SUB_FILES+= gdm.pam + GDMDIR?= ${PREFIX}/etc/gdm PKGMESSAGE= ${WRKDIR}/pkg-message GNOME_LOCALSTATEDIR= /var -OPTIONS= IPV6 "Enable IPv6 support" on +OPTIONS= IPV6 "Enable IPv6 support" on \ + KEYRING "Enable GnomeKeyring/PAM integration" on .include <bsd.port.pre.mk> -.if exists(/usr/include/security/pam_misc.h) -PLIST_SUB+= PAM_MISC="" +.if defined(WITHOUT_KEYRING) +SUB_LIST+= PAM_KEYRING=\# .else -PLIST_SUB+= PAM_MISC="@comment " +RUN_DEPENDS+= ${LOCALBASE}/lib/pam_gnome_keyring.so:${PORTSDIR}/security/gnome-keyring +SUB_LIST+= PAM_KEYRING= .endif .if !defined(WITHOUT_IPV6) @@ -81,6 +85,7 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/data/gdm.conf-custom \ ${PREFIX}/etc/gdm/custom.conf.default ${MKDIR} ${PREFIX}/share/xsessions + ${INSTALL_DATA} ${WRKDIR}/gdm.pam ${PREFIX}/etc/pam.d/gdm @${MKDIR} ${PREFIX}/etc/gdm/Sessions @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' < ${PKGDIR}/pkg-message \ | /usr/bin/fmt 75 79 > ${PKGMESSAGE} |