mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
4c97fac781
hacks to install kernel loadable modules correctly on amd64 platforms with the new INSTALL_KLD command. All PORTREVISIONS have been bumped to show when the new version of installing became available.
51 lines
1.1 KiB
Makefile
51 lines
1.1 KiB
Makefile
# Ports collection makefile for: nvnet
|
|
# Date created: 1 Oct 2003
|
|
# Whom: Quinton Dolan <q@onthenet.com.au>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= nvnet
|
|
PORTVERSION= 1.0.0301
|
|
PORTREVISION= 1
|
|
CATEGORIES= net kld
|
|
MASTER_SITES= http://www.onthenet.com.au/~q/nvnet/
|
|
DISTFILES= ${PORTNAME}-src-${DISTVERSION}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Driver for NVIDIA MCP Ethernet adapter
|
|
|
|
DISTVERSION= 20050312
|
|
|
|
NO_PACKAGE= Depends on kernel
|
|
ONLY_FOR_ARCHS= amd64 i386
|
|
WRKSRC= ${WRKDIR}/nvnet
|
|
PLIST_SUB= KMODDIR=${KMODDIR}
|
|
PORTDOCS= README nvidia_pci.c.diff
|
|
MAN4= nvnet.4
|
|
MAKE_ENV= OSTYPE=${OPSYS}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 600021
|
|
IGNORE= nve support already exists in base
|
|
.endif
|
|
|
|
pre-fetch:
|
|
.if !exists(${SRC_BASE}/sys/Makefile)
|
|
IGNORE= Kernel source files required
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_KLD} ${WRKSRC}/module/if_nv.ko ${KMODDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/man/nvnet.4 ${PREFIX}/man/man4
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
.for i in ${PORTDOCS}
|
|
${INSTALL_MAN} ${WRKSRC}/doc/${i} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|