aboutsummaryrefslogtreecommitdiff
path: root/x11/nvidia-settings/Makefile
blob: dac6088797d5e634b16495a2cc25dc6a92cb3c11 (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
# New ports collection makefile for:	sisctrl
# Date created:				15 Aug 2004
# Whom:					Alexander Nedotsukov <bland@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	nvidia-settings
PORTVERSION=	1.0
PORTREVISION=	5
CATEGORIES=	x11
MASTER_SITES=	http://download.nvidia.com/XFree86/nvidia-settings/ \
		${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=     bland

MAINTAINER=	bland@FreeBSD.org
COMMENT=	Display Control Panel for XFree86/X.org NVidia driver

USE_X_PREFIX=	yes
USE_GNOME=	gtk20
USE_GMAKE=	yes

PLIST_FILES=	bin/nvidia-settings
PORTDOCS=	nvidia-settings-user-guide.txt

MAKE_ENV=	ROOT=${PREFIX} \
		CC=${CC} \
		X11R6_LIB_DIR=${X11BASE}/lib \
		X11R6_INC_DIR=${X11BASE}/include

ONLY_FOR_ARCHS=	i386

.if !defined(NOPORTDOCS)
post-install:
	${MKDIR} ${DOCSDIR}
	${INSTALL} ${WRKSRC}/doc/${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>