aboutsummaryrefslogtreecommitdiff
path: root/x11/nvidia-settings/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/nvidia-settings/Makefile')
-rw-r--r--x11/nvidia-settings/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/x11/nvidia-settings/Makefile b/x11/nvidia-settings/Makefile
index cd22df6daec2..dac6088797d5 100644
--- a/x11/nvidia-settings/Makefile
+++ b/x11/nvidia-settings/Makefile
@@ -7,7 +7,7 @@
PORTNAME= nvidia-settings
PORTVERSION= 1.0
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= x11
MASTER_SITES= http://download.nvidia.com/XFree86/nvidia-settings/ \
${MASTER_SITE_LOCAL}
@@ -21,9 +21,19 @@ USE_GNOME= gtk20
USE_GMAKE= yes
PLIST_FILES= bin/nvidia-settings
+PORTDOCS= nvidia-settings-user-guide.txt
-MAKE_ENV= ROOT=${PREFIX}
+MAKE_ENV= ROOT=${PREFIX} \
+ CC=${CC} \
+ X11R6_LIB_DIR=${X11BASE}/lib \
+ X11R6_INC_DIR=${X11BASE}/include
ONLY_FOR_ARCHS= i386
+.if !defined(NOPORTDOCS)
+post-install:
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL} ${WRKSRC}/doc/${PORTDOCS} ${DOCSDIR}
+.endif
+
.include <bsd.port.mk>