1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/x11/nvidia-settings/Makefile
Baptiste Daroussin 923d6901b4 Support stage
2014-03-24 22:23:30 +00:00

39 lines
912 B
Makefile

# Created by: 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_GNOME= gtk20
USES= gmake pkgconfig tar:bzip2
USE_GL= gl
USE_XORG= xv xext
PLIST_FILES= bin/nvidia-settings \
man/man1/nvidia-settings.1.gz
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>