blob: 4a3e5692a4f647df46a4e2e632e812582218e5b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/nvidia-freebsd/nvidia-freebsd-1.0.8756.ebuild,v 1.1 2006/04/30 07:11:12 flameeyes Exp $
inherit eutils multilib versionator
NV_V="${PV/1.0./1.0-}"
X86_FBSD_NV_PACKAGE="NVIDIA-FreeBSD-x86-${NV_V}"
DESCRIPTION="NVIDIA X11 driver and GLX libraries"
HOMEPAGE="http://www.nvidia.com/"
SRC_URI="http://download.nvidia.com/freebsd/${NV_V}/${X86_FBSD_NV_PACKAGE}.tar.gz"
LICENSE="NVIDIA"
SLOT="0"
KEYWORDS="-* ~x86-fbsd"
RESTRICT="strip"
IUSE=""
RDEPEND=""
S="${WORKDIR}/${X86_FBSD_NV_PACKAGE}"
QA_TEXTRELS="/boot/modules/nvidia.ko /boot/modules/nvidia.kld"
# On BSD userland it wants real make command
MAKE="make"
src_install() {
insinto /boot/modules
doins ${S}/src/nvidia.kld
exeinto /boot/modules
doexe ${S}/src/nvidia.ko
}
|