summaryrefslogtreecommitdiff
path: root/sysutils/nvnet/Makefile
blob: 588e213194aa3ee8bf39d0367f1e676e2922601c (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
# $NetBSD: Makefile,v 1.11 2012/10/23 19:51:15 asau 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=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.morgart.com/NetBSD/nVidia/nvnet/
COMMENT=		Driver for nVidia ethernet
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 ${DESTDIR}${PREFIX}/lkm/nv.o
	${INSTALL_MAN} ${WRKSRC}/man/nv.4 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man4/nv.4

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