aboutsummaryrefslogtreecommitdiffstats
path: root/x11/nvidia-xconfig/Makefile
blob: 1e9184369ae995ad04b96e3cc5cc1bb5bc08a7d1 (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
# Created by: Alexander Nedotsukov <bland@FreeBSD.org>
# $FreeBSD$

PORTNAME=   nvidia-xconfig
PORTVERSION=    355.11
CATEGORIES= x11

MAINTAINER= bland@FreeBSD.org
COMMENT=    Tool to manipulate X configuration files for the NVidia driver

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

USE_GITHUB= yes
GH_ACCOUNT= NVIDIA

USES=       gmake

MAKE_ENV=   NV_VERBOSE= \
        STRIP_CMD=${TRUE} \
        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>