Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Nov 2015 11:40:29 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r402227 - head/graphics/appleseed
Message-ID:  <201511221140.tAMBeTjG092694@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Sun Nov 22 11:40:29 2015
New Revision: 402227
URL: https://svnweb.freebsd.org/changeset/ports/402227

Log:
  Make installation of sample files optional (as port examples).

Modified:
  head/graphics/appleseed/Makefile
  head/graphics/appleseed/pkg-plist

Modified: head/graphics/appleseed/Makefile
==============================================================================
--- head/graphics/appleseed/Makefile	Sun Nov 22 11:33:58 2015	(r402226)
+++ head/graphics/appleseed/Makefile	Sun Nov 22 11:40:29 2015	(r402227)
@@ -40,13 +40,15 @@ PLIST_SUB=	APPHOME=${CMAKE_INSTALL_PREFI
 SUB_FILES=	pkg-message
 SUB_LIST:=	${PLIST_SUB}
 
-OPTIONS_DEFINE=	OSL DISNEY
+OPTIONS_DEFINE=	EXAMPLES OSL DISNEY
 OPTIONS_DEFAULT=	OSL DISNEY
 OPTIONS_SUB=	yes
 
 OSL_DESC=	Open Shading Language support
 DISNEY_DESC=	Disney material support
 
+EXAMPLES_CMAKE_OFF=	-DWITH_SAMPLES:BOOL=OFF
+
 OSL_CMAKE_ON=	-DWITH_OSL:BOOL=ON
 OSL_LIB_DEPENDS=	liboslexec.so:${PORTSDIR}/graphics/openshadinglanguage
 

Modified: head/graphics/appleseed/pkg-plist
==============================================================================
--- head/graphics/appleseed/pkg-plist	Sun Nov 22 11:33:58 2015	(r402226)
+++ head/graphics/appleseed/pkg-plist	Sun Nov 22 11:40:29 2015	(r402227)
@@ -24,22 +24,22 @@ docs/seexpr/Se_voronoi_5.png
 docs/seexpr/userdoc.html
 lib/libappleseed.shared.so
 lib/libappleseed.so
-samples/cpp/basic/CMakeLists.txt
-samples/cpp/basic/basic.cpp
-samples/cpp/basic/data/scene.obj
-samples/cpp/basic/output/preserve.txt
-samples/cpp/basic/reference output/scene.obj
-samples/cpp/basic/reference output/test.appleseed
-samples/cpp/basic/reference output/test.png
-samples/cpp/heightfield/CMakeLists.txt
-samples/cpp/heightfield/data/cube.obj
-samples/cpp/heightfield/data/heightfield.png
-samples/cpp/heightfield/data/smoothcube.obj
-samples/cpp/heightfield/heightfield.cpp
-samples/cpp/heightfield/output/preserve.txt
-samples/python/basic/basic.py
-samples/python/basic/data/scene.obj
-samples/python/basic/output/preserve.txt
+%%PORTEXAMPLES%%samples/cpp/basic/CMakeLists.txt
+%%PORTEXAMPLES%%samples/cpp/basic/basic.cpp
+%%PORTEXAMPLES%%samples/cpp/basic/data/scene.obj
+%%PORTEXAMPLES%%samples/cpp/basic/output/preserve.txt
+%%PORTEXAMPLES%%samples/cpp/basic/reference output/scene.obj
+%%PORTEXAMPLES%%samples/cpp/basic/reference output/test.appleseed
+%%PORTEXAMPLES%%samples/cpp/basic/reference output/test.png
+%%PORTEXAMPLES%%samples/cpp/heightfield/CMakeLists.txt
+%%PORTEXAMPLES%%samples/cpp/heightfield/data/cube.obj
+%%PORTEXAMPLES%%samples/cpp/heightfield/data/heightfield.png
+%%PORTEXAMPLES%%samples/cpp/heightfield/data/smoothcube.obj
+%%PORTEXAMPLES%%samples/cpp/heightfield/heightfield.cpp
+%%PORTEXAMPLES%%samples/cpp/heightfield/output/preserve.txt
+%%PORTEXAMPLES%%samples/python/basic/basic.py
+%%PORTEXAMPLES%%samples/python/basic/data/scene.obj
+%%PORTEXAMPLES%%samples/python/basic/output/preserve.txt
 schemas/project.xsd
 schemas/settings.xsd
 seexpr/clouds/blue_clouds.se



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511221140.tAMBeTjG092694>