1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/x11/nvidia-settings/Makefile
John Marino 4c27ce9bdf x11/nvidia-settings: restore stripping of program during install
PR:		193078
Submitted by:	Jan Beich
Approved by:	maintainer timeout (3 months)
2014-11-25 18:06:51 +00:00

41 lines
998 B
Makefile

# Created by: Alexander Nedotsukov <bland@FreeBSD.org>
# $FreeBSD$
PORTNAME= nvidia-settings
PORTVERSION= 340.24
PORTREVISION= 1
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
LIB_DEPENDS= libjansson.so:${PORTSDIR}/devel/jansson \
libvdpau.so:${PORTSDIR}/multimedia/libvdpau
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
LDFLAGS+= -Wl,--as-needed
MAKE_ENV= NV_USE_BUNDLED_LIBJANSSON=0 \
NV_VERBOSE= \
STRIP_CMD=${TRUE} \
INSTALL_BIN_ARGS="${INSTALL_PROGRAM:Ninstall}" \
INSTALL_DOC_ARGS="${INSTALL_MAN:Ninstall}" \
X_CFLAGS=-I${LOCALBASE}/include \
X_LDFLAGS=-L${LOCALBASE}/lib
post-patch: .SILENT
${REINPLACE_CMD} \
-e '/^MANDIR/s|share/||' ${WRKSRC}/utils.mk
.include <bsd.port.mk>