freebsd-ports/x11/nvidia-settings/Makefile
Alexander Nedotsukov 5b1ca30149 Update to 310.14
Feature safe: yes
2012-11-04 09:36:43 +00:00

44 lines
1,005 B
Makefile

# New ports collection makefile for: nvidia-settings
# Date created: 15 Aug 2004
# Whom: Alexander Nedotsukov <bland@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= nvidia-settings
PORTVERSION= 310.14
CATEGORIES= x11
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
LICENSE= GPLv2
USE_BZIP2= yes
USE_GNOME= gtk20
USE_GMAKE= yes
USE_GL= gl
USE_XORG= xv xext
PLIST_FILES= bin/nvidia-settings
MANCOMPRESSED= yes
MAN1= nvidia-settings.1
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
post-extract: .SILENT
${RM} -f ${WRKSRC}/src/libXNVCtrl/libXNVCtrl.a
post-patch: .SILENT
${REINPLACE_CMD} -e '/^prefix/s/=/?&/' \
-e '/^MANDIR/s|share/||' ${WRKSRC}/utils.mk
.include <bsd.port.mk>