aboutsummaryrefslogtreecommitdiff
path: root/x11/nvidia-xconfig/Makefile
blob: 0a11df05597a15134c17b59ce00655f4bdf7d4c8 (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
PORTNAME=	nvidia-xconfig
PORTVERSION=	470.86
CATEGORIES=	x11

MAINTAINER=	x11@FreeBSD.org
COMMENT=	Tool to manipulate X configuration files for the NVidia driver
WWW=		https://www.nvidia.com/object/unix.html

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		gmake
USE_GITHUB=	yes
GH_ACCOUNT=	NVIDIA

MAKE_ENV=	NV_VERBOSE=1 \
		INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
		INSTALL_MAN="${INSTALL_MAN}" \
		prefix=${PREFIX}

PLIST_FILES=	bin/nvidia-xconfig \
		man/man1/nvidia-xconfig.1.gz

post-patch:	.SILENT
	${REINPLACE_CMD} -e '/^MANDIR/s|share/||' \
		${WRKSRC}/utils.mk

.include <bsd.port.mk>