# Copyright (c) 1999-2001 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2. # Maintainer: Marcin Jessa DESCRIPTION="wdm is a modification of XFree86's xdm package for graphically handling authentication and system login." HOMEPAGE="http://www.tcscs.com/wdm/" SRC_URI="http://www.tcscs.com/wdm/wdm/${P}.tar.gz" S=${WORKDIR}/${P} LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" DEPEND="x11-libs/libPropList x11-wm/WindowMaker sys-devel/automake sys-devel/autoconf x11-base/xfree" #DEPEND="${RDEPEND} # =x11-base/xfree" src_unpack() { unpack "${A}" cd ${WORKDIR} } src_compile() { export X11BASE=/usr/X11R6/ ./configure \ --host=${CHOST} \ --enable-pam \ --prefix=/usr \ --with-logdir=/var/log \ --with-runlockdir=/var/run \ --with-gfx-libs=${X11BASE}/lib \ --with-gfx-incs=/usr/include/WINGs \ --with-defsystempath=/bin:/usr/bin:/sbin:/usr/sbin:${X11BASE}/bin \ --with-defuserpath=/bin:/usr/bin:/sbin:/usr/sbin:${X11BASE}/bin:${LOCALBASE}/bin \ --with-Logo=GnuLinux-logo.jpg \ --with-logdir=/var/log \ --with-wmlist=wmaker:afterstep:blackbox:ctwm:enlightenment:fvwm:fvwm2:fvwm95:olvwm:qvwm:tvtwm emake || die "./configure failed" unset X11BASE } src_install () { make DESTDIR=${D} install || die "Installation Failed - email yazzy@yazzy.org with error log" } pkg_postinst() { echo ">>> Updating Scrollkeeper database..." scrollkeeper-update >/dev/null 2>&1 echo echo "***********************************************************************" echo "* To make WDM start at boot, edit /etc/rc.conf (or /etc/conf.d/basic) *" echo "* and then execute 'rc-update add wdm default'. *" echo "* *" echo "***********************************************************************" echo } pkg_postrm() { echo ">>> Updating Scrollkeeper database..." scrollkeeper-update >/dev/null 2>&1 echo echo "**********************************************" echo "* To remove GDM from startup please execute *" echo "* 'rc-update del xdm default' *" echo "**********************************************" echo }