summaryrefslogtreecommitdiff
path: root/sysutils/nvnet/Makefile
blob: 60d8a0246b135be464292d0998aeb6e39cd93d39 (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
38
39
40
41
42
43
44
# $NetBSD: Makefile,v 1.6 2007/02/22 19:27:12 wiz Exp $
#

PKGNAME=		nvnet-20050620nb1
DISTNAME=		nvnet-netbsd-src-20050620.tgz
DISTNAME+=		NFORCE-Linux-x86-1.0-0310-pkg1.run
CATEGORIES=		sysutils
MASTER_SITES+=		http://www.morgart.com/NetBSD/nVidia/nvnet/
MASTER_SITES+=		http://download.nvidia.com/XFree86/nforce/1.0-0310/

EXTRACT_SUFX=

MAINTAINER=		manu@NetBSD.org
HOMEPAGE=		http://www.morgart.com/NetBSD/nVidia/nvnet/
COMMENT=		Driver for nVidia ethernet

BROKEN_IN=		pkgsrc-2006Q1 pkgsrc-2006Q4

LICENSE=		nvidia-license

RESTRICTED=		nVidia Licensed Software: http://www.nvidia.com/object/nv_swlicense.html
NO_SRC_ON_CDROM=	${RESTRICTED}
NO_BIN_ON_CDROM=	${RESTRICTED}
NO_SRC_ON_FTP=		${RESTRICTED}
NO_BIN_ON_FTP=		${RESTRICTED}


WRKSRC=		${WRKDIR}/nvnet

ONLY_FOR_PLATFORM=	NetBSD-*-i386

INSTALLATION_DIRS=	lkm ${PKGMANDIR}/man4

MESSAGE_SUBST+=  PREFIX=${PREFIX:Q}

do-extract:
	${TAR} -xzf ${DISTDIR}/nvnet-netbsd-src-20050620.tgz -C ${WRKDIR}
	cd ${WRKDIR} && ${SH} ${DISTDIR}/NFORCE-Linux-x86-1.0-0310-pkg1.run -x

do-install:
	${INSTALL} -c -m 755 ${WRKSRC}/module/nv.o ${PREFIX}/lkm/nv.o
	${INSTALL_MAN} ${WRKSRC}/man/nv.4 ${PREFIX}/${PKGMANDIR}/man4/nv.4

.include "../../mk/bsd.pkg.mk"