aboutsummaryrefslogtreecommitdiffstats
path: root/net/nvnet/Makefile
blob: dc99c352607c841122291bb24fcbb6cb7a53c378 (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
61
62
63
64
65
66
67
68
# 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

NVNETVERSION=   20040813

NO_PACKAGE= Depends on kernel
ONLY_FOR_ARCHS= amd64 i386
MD5_FILE=   ${MASTERDIR}/distinfo.${ARCH}
WRKSRC=     ${WRKDIR}/nvnet
MODULES_WITH_WORLD=
PLIST_SUB=  KMODDIR=${KMODDIR}
PORTDOCS=   README nvidia_pci.c.diff
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 ${ARCH} == "i386"
NVVERSION=  0274
.elif ${ARCH} == "amd64"
NVVERSION=  0275
.else
NVVERSION=  0
.endif

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

do-install:
    ${INSTALL_SCRIPT} ${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>
orge Pérez Pérez2013-06-052-0/+21404 * Updated Slovenian translationMatej Urbančič2013-06-041-868/+859 * Updated Spanish translationDaniel Mustieles2013-06-031-284/+278 * Updated Norwegian bokmål translationKjartan Maraas2013-06-031-283/+247 * Remove deleted fileKjartan Maraas2013-06-031-1/+0 * Updated Galician translationsFran Diéguez2013-06-021-942/+938 * l10n: Update Japanese translationJiro Matsuzawa2013-05-311-3/+3 * Updated Odia Translation.ManojKumar Giri2013-05-301-1177/+801 * Updated Norwegian bokmål translationKjartan Maraas2013-05-281-227/+177 * Updated Spanish translationDaniel Mustieles2013-05-271-40/+36 * Tamil Translation UpdatedShantha kumar2013-05-271-1869/+2378 * Updated Spanish translationDaniel Mustieles2013-05-241-752/+745 * Updated gujarati fileSweta Kothari2013-05-241-1697/+1405 * Updated Czech translationMarek Černocký2013-05-241-142/+28 * Updated Czech translationMarek Černocký2013-05-231-1842/+1970 * Assamese translation updatedNilamdyuti Goswami2013-05-231-584/+489 * Updated Polish translationPiotr Drąg2013-05-221-1399/+1320 * Updated Norwegian bokmål translationKjartan Maraas2013-05-201-181/+71 * Updated POTFILES.inVadim Rutkovsky2013-05-201-3/+4 * Updated Russian translationYuri Myasoedov2013-05-181-1664/+1686 * Updated Norwegian bokmål translationKjartan Maraas2013-05-161-1986/+2109 * Updated Odia Translation.ManojKumar Giri2013-05-161-5/+6 * Updated Odia Translation.ManojKumar Giri2013-05-161-113/+103 * Assamese translation updatedNilamdyuti Goswami2013-05-151-78/+78 * Assamese translation updatedNilamdyuti Goswami2013-05-151-1004/+1021 * Assamese translation updatedNilamdyuti Goswami2013-05-141-196/+276 * Assamese translation updatedNilamdyuti Goswami2013-05-141-1902/+1930 * Updated Slovenian translationMatej Urbančič2013-05-061-20/+29 * Updated Slovenian translationMatej Urbančič2013-05-051-1465/+1606 * Updated Spanish translationDaniel Mustieles2013-05-041-285/+269 * Merge [mark-all-read] plugin into core codeMilan Crha2013-05-041-2/+0 * l10n: Update Japanese translationOKANO Takayoshi2013-05-021-371/+369 * Missed a few evolution-settings.desktop.in references.Matthew Barnes2013-04-291-1/+0 * Updated POTFILES.inPiotr Drąg2013-04-291-1/+0 * Updated Spanish translationDaniel Mustieles2013-04-251-1874/+2024 * Updated Galician translationsFran Diéguez2013-04-241-1806/+1954 * Updated Greek translationDimitris Spingos2013-04-241-1907/+2050 * Updated Malayalam TranslationAnish A2013-04-241-867/+875 * [l10n] Updated Catalan (Valencian) translationCarles Ferrando2013-04-201-5312/+5608 * [l10n] Update Catalan translationGil Forcada2013-04-201-5093/+5221 * Update POTFILES.in.Matthew Barnes2013-04-171-1/+0 * Improve consistency in Hungarian translationGabor Kelemen2013-04-131-2/+2 * Updated Basque languageInaki Larranaga Murgoitio2013-04-021-11913/+13381 * Updated Russian translationYuri Myasoedov2013-04-011-3049/+3940 * Updated for MalayalamAni Peter2013-03-261-5556/+6748 * l10n: Update Japanese translationOKANO Takayoshi2013-03-261-6896/+5699 * Updated kn translationsShankar Prasad2013-03-251-194/+203 * Fix translations of keywords in .desktop filesPiotr Drąg2013-03-251-1/+1 * Updated Odia Language along with FUEL implementationManojKumar Giri2013-03-221-5924/+5493 * Tamil translations updatedShantha kumar2013-03-221-145/+85 * Tamil translations updatedShantha kumar2013-03-221-173/+172 * Tamil Translations UpdatedShantha kumar2013-03-221-1813/+1470 * Updated Odia Language along with FUEL implementationManojKumar Giri2013-03-22