summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2007-09-20 19:55:12 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2007-09-20 19:55:12 +0000
commit5bb295ff8d7394931da0af0008225629c6fd5b9d (patch)
treeefec856f9d48c0b19e771a2d56c8af3ac0aceffb /x11-drivers/nvidia-drivers/nvidia-drivers-100.14.19.ebuild
parentBump to 2.18.2 (diff)
downloadgentoo-2-5bb295ff8d7394931da0af0008225629c6fd5b9d.tar.gz
gentoo-2-5bb295ff8d7394931da0af0008225629c6fd5b9d.tar.bz2
gentoo-2-5bb295ff8d7394931da0af0008225629c6fd5b9d.zip
Removing older ebuilds where newer ebuilds in the same class have the same KEYWORDS or better, moving nvidia-2 to nvidia, since nothing uses the old file anymore, simplified sed by changing ${PACKAGE} to PACKAGE, and changed a newins to doins, since we were not renaming anything.
(Portage version: 2.1.3.7)
Diffstat (limited to 'x11-drivers/nvidia-drivers/nvidia-drivers-100.14.19.ebuild')
-rw-r--r--x11-drivers/nvidia-drivers/nvidia-drivers-100.14.19.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/x11-drivers/nvidia-drivers/nvidia-drivers-100.14.19.ebuild b/x11-drivers/nvidia-drivers/nvidia-drivers-100.14.19.ebuild
index eb25758526ed..de2c5272909b 100644
--- a/x11-drivers/nvidia-drivers/nvidia-drivers-100.14.19.ebuild
+++ b/x11-drivers/nvidia-drivers/nvidia-drivers-100.14.19.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-100.14.19.ebuild,v 1.1 2007/09/18 23:50:03 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-drivers/nvidia-drivers/nvidia-drivers-100.14.19.ebuild,v 1.2 2007/09/20 19:55:12 wolf31o2 Exp $
inherit eutils multilib versionator linux-mod flag-o-matic nvidia-driver
@@ -227,11 +227,12 @@ src_install() {
fi
# Add the aliases
- [ -f "${FILESDIR}/nvidia-2" ] || die "nvidia-2 missing in FILESDIR"
- sed -e 's:\${PACKAGE}:'${PF}':g' \
- -e 's:VIDEOGID:'${VIDEOGROUP}':' "${FILESDIR}"/nvidia-2 > "${WORKDIR}"/nvidia
+ [ -f "${FILESDIR}/nvidia" ] || die "nvidia missing in FILESDIR"
+ sed -e 's:PACKAGE:'${PF}':g' \
+ -e 's:VIDEOGID:'${VIDEOGROUP}':' "${FILESDIR}"/nvidia > \
+ "${WORKDIR}"/nvidia
insinto /etc/modules.d
- newins "${WORKDIR}"/nvidia nvidia || die
+ doins "${WORKDIR}"/nvidia || die
else
insinto /boot/modules
doins "${WORKDIR}/${X86_FBSD_NV_PACKAGE}/src/nvidia.kld" || die