summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalum Selkirk <cselkirk@gentoo.org>2002-08-01 22:09:40 +0000
committerCalum Selkirk <cselkirk@gentoo.org>2002-08-01 22:09:40 +0000
commite47771593a2ac7cddf2f972c7b6b1e158e1d7e3b (patch)
tree4175acf535f9d5738def39e94c78092641078c66 /sys-apps
parenttemporary fix for ppc and sparc (diff)
downloadgentoo-2-e47771593a2ac7cddf2f972c7b6b1e158e1d7e3b.tar.gz
gentoo-2-e47771593a2ac7cddf2f972c7b6b1e158e1d7e3b.tar.bz2
gentoo-2-e47771593a2ac7cddf2f972c7b6b1e158e1d7e3b.zip
Changed src_install to only install X related apps and manpages if we have USE="X"
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/pmud/ChangeLog7
-rw-r--r--sys-apps/pmud/pmud-0.10.1-r2.ebuild21
2 files changed, 18 insertions, 10 deletions
diff --git a/sys-apps/pmud/ChangeLog b/sys-apps/pmud/ChangeLog
index a3aae87c25d9..4d09f83aefa2 100644
--- a/sys-apps/pmud/ChangeLog
+++ b/sys-apps/pmud/ChangeLog
@@ -1,9 +1,14 @@
# ChangeLog for sys-apps/pmud
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Id: ChangeLog,v 1.7 2002/07/23 11:56:53 cselkirk Exp $
+# $Id: ChangeLog,v 1.8 2002/08/01 22:09:40 cselkirk Exp $
*pmud-0.10.1-r2.ebuild (14 July 2002)
+ 1 Aug 2002; Calum Selkirk <cselkirk@gentoo.org> pmud-0.10.1-r2.ebuild :
+
+ Changed src_install to only install X related apps and manpages if we
+ have USE="X"
+
23 Jul 2002; Calum Selkirk <cselkirk@gentoo.org> files/pmud.start
Also redirected stder & stdout to /dev/null on stop().
diff --git a/sys-apps/pmud/pmud-0.10.1-r2.ebuild b/sys-apps/pmud/pmud-0.10.1-r2.ebuild
index 05660f4631e3..20976cf841a6 100644
--- a/sys-apps/pmud/pmud-0.10.1-r2.ebuild
+++ b/sys-apps/pmud/pmud-0.10.1-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Id: pmud-0.10.1-r2.ebuild,v 1.6 2002/07/20 18:52:35 gerk Exp $
+# $Id: pmud-0.10.1-r2.ebuild,v 1.7 2002/08/01 22:09:40 cselkirk Exp $
S=${WORKDIR}/${P}
@@ -28,18 +28,21 @@ src_compile() {
}
src_install () {
- doman pmud.8 snooze.8 fblevel.8 batmon.8 xmouse.8
+ doman pmud.8 snooze.8 fblevel.8
exeinto /sbin
- doexe pmud wakebay snooze fblevel
- exeinto /usr/bin
- doexe Batmon
- exeinto /usr/X11R6/bin
- doexe xmouse
+ doexe pmud wakebay snooze fblevel
exeinto /etc/power
- doexe ${FILESDIR}/pwrctl{,-local}
-
+ doexe ${FILESDIR}/pwrctl{,-local}
exeinto /etc/init.d
newexe ${FILESDIR}/pmud.start pmud
insinto /etc
doins ${FILESDIR}/power.conf
+ use X && ( \
+ doman batmon.8 xmouse.8
+ exeinto /usr/bin
+ doexe Batmon
+ exeinto /usr/X11R6/bin
+ doexe xmouse )
+
+
}