/[gentoo-x86]/x11-apps/xinit/xinit-1.0.3-r3.ebuild
Gentoo

Contents of /x11-apps/xinit/xinit-1.0.3-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Tue Oct 9 08:43:43 2007 UTC (12 years ago) by dberkholz
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +1 -1 lines
FILE REMOVED
Drop old ebuilds.
(Portage version: 2.1.3.12)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-apps/xinit/xinit-1.0.3-r3.ebuild,v 1.9 2007/07/02 14:04:53 armin76 Exp $
4
5 # Must be before x-modular eclass is inherited
6 # This is enabled due to modified Makefile.am from the patches
7 SNAPSHOT="yes"
8
9 inherit x-modular pam
10
11 DESCRIPTION="X Window System initializer"
12
13 LICENSE="${LICENSE} GPL-2"
14 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh ~sparc x86 ~x86-fbsd"
15 IUSE="minimal"
16
17 RDEPEND="x11-apps/xauth
18 x11-libs/libX11"
19 DEPEND="${RDEPEND}"
20 PDEPEND="!minimal? ( x11-wm/twm
21 x11-apps/xclock
22 x11-apps/xrdb
23 x11-apps/xsm
24 x11-terms/xterm )"
25
26 PATCHES="${FILESDIR}/nolisten-tcp-and-black-background.patch
27 ${FILESDIR}/gentoo-startx-customization-0.99.4.patch"
28
29 src_unpack() {
30 x-modular_unpack_source
31 x-modular_patch_source
32
33 sed -i -e "s:^XINITDIR.*:XINITDIR = \$(sysconfdir)/X11/xinit:g" ${S}/Makefile.am
34
35 x-modular_reconf_source
36 }
37
38 src_install() {
39 x-modular_src_install
40 exeinto /etc/X11
41 doexe ${FILESDIR}/chooser.sh ${FILESDIR}/startDM.sh
42 exeinto /etc/X11/Sessions
43 doexe ${FILESDIR}/Xsession
44 exeinto /etc/X11/xinit
45 doexe ${FILESDIR}/xinitrc
46 newinitd ${FILESDIR}/xdm.initd xdm
47 newconfd ${FILESDIR}/xdm.confd xdm
48 newpamd ${FILESDIR}/xserver.pamd xserver
49
50 # Remove the XSTATICVT option as it's pointless on FreeBSD
51 # at this time.
52 if use x86-fbsd ; then
53 sed -i -e '1, /^$/ d' "${D}"/etc/conf.d/xdm || die
54 fi
55 }

  ViewVC Help
Powered by ViewVC 1.1.20