aboutsummaryrefslogtreecommitdiffstats
path: root/net/nvnet/Makefile
blob: fce5ce6ef777da274256f3be6979eabdd43ea796 (plain) (blame)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Ports collection makefile for: nvnet
#
# Date created: 1 Oct 2003
# Whom:     Quinton Dolan <q@onthenet.com.au>
#
# $FreeBSD$
#

PORTNAME=   nvnet
PORTVERSION=    1.0.${NVVERSION}
PORTREVISION?=  0
CATEGORIES= net
MASTER_SITES=   http://download.nvidia.com/XFree86/nforce/1.0-${NVVERSION}/:nvidia \
        ftp://download.nvidia.com/XFree86/nforce/1.0-${NVVERSION}/:nvidia \
        http://download1.nvidia.com/XFree86/nforce/1.0-${NVVERSION}/:nvidia \
        ftp://download1.nvidia.com/XFree86/nforce/1.0-${NVVERSION}/:nvidia \
        http://www.onthenet.com.au/~q/nvnet/:nvnet
DISTFILES=  NVIDIA_nforce-1.0-${NVVERSION}${EXTRACT_SUFX}:nvidia \
        nvnet-src-${NVNETVERSION}${EXTRACT_SUFX}:nvnet

MAINTAINER= q@onthenet.com.au
COMMENT=    Driver for NVIDIA MCP Ethernet adapter

NVVERSION=  0261
NVNETVERSION=   20031214

ONLY_FOR_ARCHS= i386
WRKSRC=     ${WRKDIR}/nvnet
MAN4=       nvnet.4

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 480100 || ${OSVERSION} >= 500000 && ${OSVERSION} < 501000
BROKEN=     "Systems prior to FreeBSD 4.9 & 5.1 are not supported"
.endif

.if ${OSVERSION} < 500000
PLIST_SUB+= FREEBSD5="@comment " FREEBSD4=""
.else
PLIST_SUB+= FREEBSD5="" FREEBSD4="@comment "
.endif

pre-fetch:
.if !exists(${SRC_BASE}/sys/Makefile)
    @${ECHO} "*************************************************"; \
    ${ECHO}  "This port requires the kernel source be available"; \
    ${ECHO}  "*************************************************"; \
    exit 1
.endif

port-install:
.if !defined(NOPORTSDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALLMAN} ${WRKSRC}/doc/README ${WRKSRC}/doc/nvidia_pci.c.diff \
        ${DOCSDIR}
.endif
    ${INSTALLMAN} ${WRKSRC}/man/nvnet.4 ${PREFIX}/man/man4
    @${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>
ommitgraph'>* Fix build after USE_NCURSES introductionbapt2011-06-021-2/+2 * - Add USE_NCURSESmiwi2011-05-312-2/+2 * Sync to final (for now) bsd.autotools.mkade2010-12-231-1/+3 * Sync to new bsd.autotools.mkade2010-12-041-1/+1 * Punt autoconf267->autoconf268ade2010-10-161-2/+2 * Autotools update. Read ports/UPDATING 20100915 for details.ade2010-09-161-3/+3 * Bounce PORTREVISION for gettext-related ports. Have fun, ya'll.ade2010-05-311-1/+1 * Switch to use newer GMP version.ale2010-04-191-2/+2 * Fix build on HEADerwin2010-04-191-4/+13 * Fix build for ia64.marcel2009-11-231-0/+23 * -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.mezz2009-08-031-2/+2 * Chase libgmp and bump PORTREVISION.ale2009-05-131-1/+2 * - Use correct pkgconfig files dir.stas2009-03-141-0/+11 * - Update to 1.8.6miwi2009-01-233-7/+7 * Conversion from (now defunct) autoconf-2.61 to autoconf-2.62ade2008-08-201-1/+2 * - Update to 1.85 (share lib version bumped)rafan2008-07-217-30/+53 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1 * - Remove unneeded dependency from gtk12/gtk20 [1]miwi2008-04-201-2/+2 * - Fix build on sparc64gahr2008-03-072-14/+109 * This one is sneaky. Guile depends on gmake which brings in gettext. Guilemarcus2008-03-021-1/+2 * Add a missing dependency on libgmp4.marcus2008-03-011-0/+3 * Update to 1.8.4, and assign maintainership to submitter.marcus2008-03-0118-214/+247 * - Bump PORTREVISION for changes in libltdl15.ahze2007-03-011-1/+1 * Bump PORTREVISION to assure this port is rebuilt with patched libltdl.ahze2007-02-241-1/+1