aboutsummaryrefslogtreecommitdiff
path: root/x11/nvidia-driver
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2008-10-27 19:54:17 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2008-10-27 19:54:17 +0000
commit9ff25955e25b0393690dfe359c4749079db7d46d (patch)
tree4ae27ec66e22d823938152fe0cfbfed3c1f0cee7 /x11/nvidia-driver
parente4b1fc51c09d612075b974a53b92a0b372689693 (diff)
downloadports-9ff25955e25b0393690dfe359c4749079db7d46d.tar.gz
ports-9ff25955e25b0393690dfe359c4749079db7d46d.zip
Notes
Diffstat (limited to 'x11/nvidia-driver')
-rw-r--r--x11/nvidia-driver/Makefile12
-rw-r--r--x11/nvidia-driver/distinfo3
2 files changed, 13 insertions, 2 deletions
diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile
index 89cd5f1cca1e..f5db68da77c8 100644
--- a/x11/nvidia-driver/Makefile
+++ b/x11/nvidia-driver/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= nvidia-driver
-DISTVERSION?= 173.14.12
+DISTVERSION?= 177.80
PORTREVISION?= 0 # As a reminder it can be overridden
CATEGORIES= x11 kld
MASTER_SITES= ${MASTER_SITE_NVIDIA}
@@ -33,9 +33,17 @@ OPTIONS= FREEBSD_AGP "Use FreeBSD AGP GART driver" off \
# Starting with version 1.0-7667, NVidia has dropped support for numerous
# "legacy" GPUs. Consult NVidia README (the Appendix) to find out whether
# you need to use legacy driver version and install one of corresponding
-# `x11/nvidia-driver-71xx' or `x11/nvidia-driver-96xx' slave ports.
+# `x11/nvidia-driver-71xx', `x11/nvidia-driver-96xx', or `x11/nvidia-driver-173'
+# slave ports.
#
+# XXX Until NVidia starts to name their releases consistently, employ this
+# ugly hack to derive NVVERSION. XXX
+#
+.if ${DISTVERSION:C/[0-9]+//g} == ".." # major.minor.update
NVVERSION= ${DISTVERSION:S/.//g}
+.else # major.minor
+NVVERSION= ${DISTVERSION:S/.//g}00
+.endif
.include <bsd.port.pre.mk>
diff --git a/x11/nvidia-driver/distinfo b/x11/nvidia-driver/distinfo
index af37fc3a7f58..454d43d1ca1e 100644
--- a/x11/nvidia-driver/distinfo
+++ b/x11/nvidia-driver/distinfo
@@ -1,3 +1,6 @@
+MD5 (NVIDIA-FreeBSD-x86-177.80.tar.gz) = 9058785f24eb5bec2e7f885abdc753a8
+SHA256 (NVIDIA-FreeBSD-x86-177.80.tar.gz) = 169f06ff5af4c4b5a0f0fbec6a1d7d7318feb25dce64cdbe63861af92de65437
+SIZE (NVIDIA-FreeBSD-x86-177.80.tar.gz) = 16704786
MD5 (NVIDIA-FreeBSD-x86-173.14.12.tar.gz) = d3a622573ed0e2ef14013c51daa3c326
SHA256 (NVIDIA-FreeBSD-x86-173.14.12.tar.gz) = 0b9849d0f2b09533c384227370c94469a45384adc216a8b716a02bfc9a7340be
SIZE (NVIDIA-FreeBSD-x86-173.14.12.tar.gz) = 15856061