aboutsummaryrefslogtreecommitdiffstats
path: root/x11/nvidia-xconfig/Makefile
blob: cd2e3917aec00cef2f30c2bc2cdcc3bf6767b2c7 (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
# New ports collection makefile for:    nvidia-xconfig
# Date created:             10 Dec 2005
# Whom:                 Alexander Nedotsukov <bland@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   nvidia-xconfig
PORTVERSION=    285.05.09
CATEGORIES= x11
MASTER_SITES=   ftp://download.nvidia.com/XFree86/nvidia-xconfig/ \
        ftp://download1.nvidia.com/XFree86/nvidia-xconfig/

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

LICENSE=    GPLv2

USE_BZIP2=  yes
USE_GMAKE=  yes

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

PLIST_FILES=    bin/nvidia-xconfig
MANCOMPRESSED=  yes
MAN1=       nvidia-xconfig.1

post-patch: .SILENT
    ${REINPLACE_CMD} -e '/^prefix/s/=/?&/' \
         -e '/^mandir/s|share/||' ${WRKSRC}/utils.mk

.include <bsd.port.mk>