# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit pam DESCRIPTION="nodm is an automatic display manager which automatically starts an X session at system boot" HOMEPAGE="http://www.enricozini.org/sw/nodm/" SRC_URI="http://www.enricozini.org/sw/${PN}/${P}.tar.gz" LICENSE="BSD GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="virtual/pam" RDEPEND="${DEPEND} x11-apps/xinit" src_install() { emake DESTDIR="${D}" install || die "Install failed" dodoc AUTHORS ChangeLog README TODO newinitd "${FILESDIR}/nodm.initd" nodm || die newconfd "${FILESDIR}/nodm.confd" nodm || die pamd_mimic_system nodm auth account password session } pkg_postinst() { elog "If your using media-gfx/splashutils to display framebuffer decorations," elog "then you need to have the following set in '/etc/conf.d/splash'." elog elog "SPLASH_XSERVICE=\"nodm\"" elog elog "If you don't, you will probably end up at tty1 at the end of the boot" elog "process (instead of in an X session)." }