freebsd-ports/x11/nvidia-settings/Makefile

45 lines
1,005 B
Makefile
Raw Normal View History

# New ports collection makefile for: nvidia-settings
# Date created: 15 Aug 2004
# Whom: Alexander Nedotsukov <bland@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= nvidia-settings
2012-11-04 10:36:43 +01:00
PORTVERSION= 310.14
CATEGORIES= x11
2008-06-19 05:13:19 +02:00
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
2011-05-23 14:05:36 +02:00
LICENSE= GPLv2
2010-10-13 16:07:04 +02:00
USE_BZIP2= yes
USE_GNOME= gtk20
USE_GMAKE= yes
USE_GL= gl
USE_XORG= xv xext
PLIST_FILES= bin/nvidia-settings
2010-10-13 16:07:04 +02:00
MANCOMPRESSED= yes
MAN1= nvidia-settings.1
2010-10-13 16:07:04 +02:00
MAKE_ENV= 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
2010-10-13 16:07:04 +02:00
post-extract: .SILENT
${RM} -f ${WRKSRC}/src/libXNVCtrl/libXNVCtrl.a
2008-06-19 05:13:19 +02:00
2010-10-13 16:07:04 +02:00
post-patch: .SILENT
${REINPLACE_CMD} -e '/^prefix/s/=/?&/' \
2012-10-13 13:23:22 +02:00
-e '/^MANDIR/s|share/||' ${WRKSRC}/utils.mk
.include <bsd.port.mk>