1 # Created by: Alexander Nedotsukov <bland@FreeBSD.org>
4 PORTNAME= nvidia-settings
9 MAINTAINER= bland@FreeBSD.org
10 COMMENT= Display Control Panel for X NVidia driver
14 LIB_DEPENDS= libjansson.so:${PORTSDIR}/devel/jansson \
15 libvdpau.so:${PORTSDIR}/multimedia/libvdpau
25 PLIST_FILES= bin/nvidia-settings \
26 man/man1/nvidia-settings.1.gz \
27 lib/libnvidia-gtk2.so.${PORTVERSION}
30 MAKE_ENV= NV_USE_BUNDLED_LIBJANSSON=0 \
33 INSTALL_BIN_ARGS="${INSTALL_PROGRAM:Ninstall}" \
34 INSTALL_DOC_ARGS="${INSTALL_MAN:Ninstall}" \
35 X_CFLAGS=-I${LOCALBASE}/include \
36 X_LDFLAGS=-L${LOCALBASE}/lib
40 -e '/^MANDIR/s|share/||' ${WRKSRC}/utils.mk
43 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnvidia-gtk2.so.${PORTVERSION}
45 .include <bsd.port.mk>