aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2010-04-30 15:23:32 +0800
committerrene <rene@FreeBSD.org>2010-04-30 15:23:32 +0800
commit70c03c15a9175c05ba13175bdfd9814d6dd66bdf (patch)
tree83b512c111dbe50b47655543329eaf8daba60fd5
parent1f88a26c364c8d9fd66ae6026540f758544d287a (diff)
downloadfreebsd-ports-gnome-70c03c15a9175c05ba13175bdfd9814d6dd66bdf.tar.gz
freebsd-ports-gnome-70c03c15a9175c05ba13175bdfd9814d6dd66bdf.tar.zst
freebsd-ports-gnome-70c03c15a9175c05ba13175bdfd9814d6dd66bdf.zip
Make NVIDIA support selectable with an option [1].
While here, pet portlint. PR: ports/146139 [1] Submitted by: Chris Petrik [chris officialunix.com] Approved by: tabthorpe (mentor)
-rw-r--r--graphics/mesa-demos/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/graphics/mesa-demos/Makefile b/graphics/mesa-demos/Makefile
index e7a3673dcd14..6587873d2fd9 100644
--- a/graphics/mesa-demos/Makefile
+++ b/graphics/mesa-demos/Makefile
@@ -18,23 +18,25 @@ USE_XORG= glproto x11 xext xxf86vm xdamage xfixes dri2proto
DATADIR= ${PREFIX}/share/${PKGNAMEPREFIX}${PORTNAME}
+OPTIONS= NVIDIA_GL "Use NVIDIA's libraries" off
+
do-install:
@for i in demos xdemos; do \
cd ${WRKSRC}/progs/$$i; \
for j in `${MAKE} -V PROGS`; do \
- echo ${INSTALL_PROGRAM} $$j ${PREFIX}/bin; \
+ ${ECHO_CMD} ${INSTALL_PROGRAM} $$j ${PREFIX}/bin; \
${INSTALL_PROGRAM} $$j ${PREFIX}/bin; \
done; \
done
${MKDIR} ${DATADIR}/images ${DATADIR}/data
@cd ${WRKSRC}/progs/images; \
for i in `ls *.rgb*`; do \
- echo ${INSTALL_DATA} $$i ${DATADIR}/images; \
+ ${ECHO_CMD} ${INSTALL_DATA} $$i ${DATADIR}/images; \
${INSTALL_DATA} $$i ${DATADIR}/images; \
done
@cd ${WRKSRC}/progs/demos; \
for i in `ls *.dat`; do \
- echo ${INSTALL_DATA} $$i ${DATADIR}/data; \
+ ${ECHO_CMD} ${INSTALL_DATA} $$i ${DATADIR}/data; \
${INSTALL_DATA} $$i ${DATADIR}/data; \
done