Lines 6-13
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= nvidia-driver |
8 |
PORTNAME= nvidia-driver |
9 |
DISTVERSION?= 256.53 |
9 |
DISTVERSION?= 270.41.06 |
10 |
PORTREVISION?= 1 # As a reminder it can be overridden |
10 |
PORTREVISION?= 0 # As a reminder it can be overridden |
11 |
CATEGORIES= x11 kld |
11 |
CATEGORIES= x11 kld |
12 |
MASTER_SITES= ${MASTER_SITE_NVIDIA} |
12 |
MASTER_SITES= ${MASTER_SITE_NVIDIA} |
13 |
# MASTER_SITE_SUBDIR has to be set later because it depends on NVVERSION |
13 |
# MASTER_SITE_SUBDIR has to be set later because it depends on NVVERSION |
Lines 22-28
Link Here
|
22 |
LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept |
22 |
LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept |
23 |
|
23 |
|
24 |
ARCH_SUFX= ${ARCH:S/i386//:S/amd/_/} |
24 |
ARCH_SUFX= ${ARCH:S/i386//:S/amd/_/} |
25 |
NO_PACKAGE= should be recompiled for a particular FreeBSD kernel |
25 |
USE_XORG= xorg-server |
26 |
USE_GL= gl |
26 |
USE_GL= gl |
27 |
USE_LDCONFIG= yes |
27 |
USE_LDCONFIG= yes |
28 |
SUB_FILES= pkg-message |
28 |
SUB_FILES= pkg-message |
Lines 65-74
Link Here
|
65 |
XSERVVERSION!= ${PKG_INFO} -qO x11-servers/xorg-server 2>/dev/null || true |
65 |
XSERVVERSION!= ${PKG_INFO} -qO x11-servers/xorg-server 2>/dev/null || true |
66 |
LIBGLVERSION!= ${PKG_INFO} -qO graphics/libGL 2>/dev/null || true |
66 |
LIBGLVERSION!= ${PKG_INFO} -qO graphics/libGL 2>/dev/null || true |
67 |
|
67 |
|
68 |
.if empty(XSERVVERSION) |
|
|
69 |
IGNORE= needs an X server implementation installed |
70 |
.endif |
71 |
|
72 |
PLIST_SUB+= XSERVVERSION=${XSERVVERSION} LIBGLVERSION=${LIBGLVERSION} \ |
68 |
PLIST_SUB+= XSERVVERSION=${XSERVVERSION} LIBGLVERSION=${LIBGLVERSION} \ |
73 |
LINUXBASE=${LINUXBASE} SHLIB_VERSION=${PORTVERSION} \ |
69 |
LINUXBASE=${LINUXBASE} SHLIB_VERSION=${PORTVERSION} \ |
74 |
MODULESDIR=${MODULESDIR} |
70 |
MODULESDIR=${MODULESDIR} |
Lines 141-146
Link Here
|
141 |
pre-su-install: |
137 |
pre-su-install: |
142 |
# XXX This port silently assumes PREFIX == LOCALBASE XXX |
138 |
# XXX This port silently assumes PREFIX == LOCALBASE XXX |
143 |
@${MKDIR} ${PREFIX}/${MODULESDIR}/drivers |
139 |
@${MKDIR} ${PREFIX}/${MODULESDIR}/drivers |
|
|
140 |
@${MKDIR} ${PREFIX}/${MODULESDIR}/extensions |
144 |
|
141 |
|
145 |
post-install: .SILENT |
142 |
post-install: .SILENT |
146 |
# pkg-plist is already overbloated, so use these hacks instead of PLIST_SUB's |
143 |
# pkg-plist is already overbloated, so use these hacks instead of PLIST_SUB's |