aboutsummaryrefslogtreecommitdiffstats
path: root/x11/nvidia-settings
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-01-13 23:26:49 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-01-13 23:26:49 +0800
commit4f8d8b28c9627bcb6cb1e4e229b49c8bd0ea3ea1 (patch)
treecfada7cd34457e2e0c291c10fa178e3e5d1dcf9f /x11/nvidia-settings
parent81e60f1e903c0d63356dcb15c5c9e2eb4b6a7628 (diff)
downloadfreebsd-ports-gnome-4f8d8b28c9627bcb6cb1e4e229b49c8bd0ea3ea1.tar.gz
freebsd-ports-gnome-4f8d8b28c9627bcb6cb1e4e229b49c8bd0ea3ea1.tar.zst
freebsd-ports-gnome-4f8d8b28c9627bcb6cb1e4e229b49c8bd0ea3ea1.zip
- Fix path to nvidia-driver's registry profiles
PR: 204627 Submitted by: admin@vladiom.com.ua Approved by: maintainer timeout (bland, 7 weeks)
Diffstat (limited to 'x11/nvidia-settings')
-rw-r--r--x11/nvidia-settings/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11/nvidia-settings/Makefile b/x11/nvidia-settings/Makefile
index 5ae06d7744e5..7e838b6c4d33 100644
--- a/x11/nvidia-settings/Makefile
+++ b/x11/nvidia-settings/Makefile
@@ -3,7 +3,7 @@
PORTNAME= nvidia-settings
PORTVERSION= 355.11
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11
MAINTAINER= bland@FreeBSD.org
@@ -43,6 +43,8 @@ post-patch: .SILENT
${REINPLACE_CMD} -E -e 's,__(PIXMAP|UTILS)_PATH__/,,' \
-e '/^Categories/ s,=.*,= Settings;HardwareSettings;,' \
${WRKSRC}/doc/nvidia-settings.desktop
+ ${REINPLACE_CMD} -e 's|/usr/share/nvidia/|${LOCALBASE}/share/doc/NVIDIA_GLX-1.0/|' \
+ ${WRKSRC}/src/gtk+-2.x/ctkappprofile.c
post-install: .SILENT
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnvidia-gtk2.so.${PORTVERSION}