summaryrefslogtreecommitdiff
blob: 0128aee6f7287a4337442ce5ea9bf92a4e21538c (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
# 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.8178.ebuild,v 1.1 2006/04/17 10:20:36 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}"

# 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
}