aboutsummaryrefslogtreecommitdiff
path: root/x11/nvidia-settings/Makefile
diff options
context:
space:
mode:
authorAlexander Nedotsukov <bland@FreeBSD.org>2015-09-26 10:24:12 +0000
committerAlexander Nedotsukov <bland@FreeBSD.org>2015-09-26 10:24:12 +0000
commit181612fb152ea40eb42075f4f64b9aee2447e027 (patch)
treea564c89cd3de26d2cec7082ceb3c3e56be9a99a7 /x11/nvidia-settings/Makefile
parent622ee7ccab7eb3a79d12c4a5234ba110e3473b41 (diff)
downloadports-181612fb152ea40eb42075f4f64b9aee2447e027.tar.gz
ports-181612fb152ea40eb42075f4f64b9aee2447e027.zip
Notes
Diffstat (limited to 'x11/nvidia-settings/Makefile')
-rw-r--r--x11/nvidia-settings/Makefile19
1 files changed, 12 insertions, 7 deletions
diff --git a/x11/nvidia-settings/Makefile b/x11/nvidia-settings/Makefile
index acdb51d9a689..62d74774a437 100644
--- a/x11/nvidia-settings/Makefile
+++ b/x11/nvidia-settings/Makefile
@@ -2,11 +2,8 @@
# $FreeBSD$
PORTNAME= nvidia-settings
-PORTVERSION= 340.24
-PORTREVISION= 1
+PORTVERSION= 355.11
CATEGORIES= x11
-MASTER_SITES= ftp://download.nvidia.com/XFree86/nvidia-settings/ \
- ftp://download1.nvidia.com/XFree86/nvidia-settings/
MAINTAINER= bland@FreeBSD.org
COMMENT= Display Control Panel for X NVidia driver
@@ -16,13 +13,18 @@ LICENSE= GPLv2
LIB_DEPENDS= libjansson.so:${PORTSDIR}/devel/jansson \
libvdpau.so:${PORTSDIR}/multimedia/libvdpau
+USE_GITHUB= yes
+GH_ACCOUNT= NVIDIA
+GH_TAGNAME= ${PORTVERSION}
+
USE_GNOME= gtk20
-USES= gmake pkgconfig tar:bzip2
+USES= gmake pkgconfig
USE_GL= gl
-USE_XORG= xv xext
+USE_XORG= xext xv
PLIST_FILES= bin/nvidia-settings \
- man/man1/nvidia-settings.1.gz
+ man/man1/nvidia-settings.1.gz \
+ lib/libnvidia-gtk2.so.${PORTVERSION}
LDFLAGS+= -Wl,--as-needed
MAKE_ENV= NV_USE_BUNDLED_LIBJANSSON=0 \
@@ -37,4 +39,7 @@ post-patch: .SILENT
${REINPLACE_CMD} \
-e '/^MANDIR/s|share/||' ${WRKSRC}/utils.mk
+post-install: .SILENT
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnvidia-gtk2.so.${PORTVERSION}
+
.include <bsd.port.mk>