blob: be48e91be66ac1141e110be7ac65fc839d5fc394 (
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
|
# Created by: Alexander Nedotsukov <bland@FreeBSD.org>
# $FreeBSD$
PORTNAME= nvidia-settings
PORTVERSION= 340.24
PORTREVISION= 1
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
LICENSE= GPLv2
LIB_DEPENDS= libjansson.so:${PORTSDIR}/devel/jansson \
libvdpau.so:${PORTSDIR}/multimedia/libvdpau
USE_GNOME= gtk20
USES= gmake pkgconfig tar:bzip2
USE_GL= gl
USE_XORG= xv xext
PLIST_FILES= bin/nvidia-settings \
man/man1/nvidia-settings.1.gz
MAKE_ENV= NV_USE_BUNDLED_LIBJANSSON=0 \
NV_VERBOSE= \
STRIP_CMD=${TRUE} \
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALL_MAN="${INSTALL_MAN}" \
prefix=${PREFIX} \
X_CFLAGS=-I${LOCALBASE}/include \
X_LDFLAGS=-L${LOCALBASE}/lib
post-extract: .SILENT
${RM} -f ${WRKSRC}/src/libXNVCtrl/libXNVCtrl.a
post-patch: .SILENT
${REINPLACE_CMD} -e '/^prefix/s/=/?&/' \
-e '/^MANDIR/s|share/||' ${WRKSRC}/utils.mk
.include <bsd.port.mk>
|