2003-12-07 05:34:23 +00:00
|
|
|
# Ports collection makefile for: nvnet
|
|
|
|
# Date created: 1 Oct 2003
|
|
|
|
# Whom: Quinton Dolan <q@onthenet.com.au>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= nvnet
|
2005-04-21 07:38:56 +00:00
|
|
|
PORTVERSION= 1.0.0301
|
2007-10-07 02:56:19 +00:00
|
|
|
PORTREVISION= 1
|
2007-06-29 09:16:42 +00:00
|
|
|
CATEGORIES= net kld
|
2005-04-21 07:38:56 +00:00
|
|
|
MASTER_SITES= http://www.onthenet.com.au/~q/nvnet/
|
|
|
|
DISTFILES= ${PORTNAME}-src-${DISTVERSION}${EXTRACT_SUFX}
|
2003-12-07 05:34:23 +00:00
|
|
|
|
2007-01-13 02:01:29 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-12-07 05:34:23 +00:00
|
|
|
COMMENT= Driver for NVIDIA MCP Ethernet adapter
|
|
|
|
|
2005-04-21 07:38:56 +00:00
|
|
|
DISTVERSION= 20050312
|
2003-12-07 05:34:23 +00:00
|
|
|
|
2004-12-14 15:56:04 +00:00
|
|
|
NO_PACKAGE= Depends on kernel
|
|
|
|
ONLY_FOR_ARCHS= amd64 i386
|
2003-12-07 05:34:23 +00:00
|
|
|
WRKSRC= ${WRKDIR}/nvnet
|
2004-12-14 15:56:04 +00:00
|
|
|
PLIST_SUB= KMODDIR=${KMODDIR}
|
|
|
|
PORTDOCS= README nvidia_pci.c.diff
|
2003-12-07 05:34:23 +00:00
|
|
|
MAN4= nvnet.4
|
2005-04-21 07:38:56 +00:00
|
|
|
MAKE_ENV= OSTYPE=${OPSYS}
|
2003-12-07 05:34:23 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-01-13 02:01:29 +00:00
|
|
|
.if ${OSVERSION} >= 600021
|
|
|
|
IGNORE= nve support already exists in base
|
2006-09-03 00:39:55 +00:00
|
|
|
.endif
|
|
|
|
|
2003-12-07 05:34:23 +00:00
|
|
|
pre-fetch:
|
|
|
|
.if !exists(${SRC_BASE}/sys/Makefile)
|
2005-04-21 07:38:56 +00:00
|
|
|
IGNORE= Kernel source files required
|
2003-12-07 05:34:23 +00:00
|
|
|
.endif
|
|
|
|
|
2004-12-14 15:56:04 +00:00
|
|
|
do-install:
|
2007-10-07 02:56:19 +00:00
|
|
|
${INSTALL_KLD} ${WRKSRC}/module/if_nv.ko ${KMODDIR}
|
2004-12-14 15:56:04 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/nvnet.4 ${PREFIX}/man/man4
|
|
|
|
.if !defined(NOPORTDOCS)
|
2003-12-07 05:34:23 +00:00
|
|
|
${MKDIR} ${DOCSDIR}
|
2004-12-14 15:56:04 +00:00
|
|
|
.for i in ${PORTDOCS}
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
2003-12-07 05:34:23 +00:00
|
|
|
.endif
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|