diff options
author | danfe <danfe@FreeBSD.org> | 2015-11-22 19:40:29 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2015-11-22 19:40:29 +0800 |
commit | 849387797c0bcbe7272e3890b1b0016823c859a7 (patch) | |
tree | c7cb831cdd93231e65dff22f3d443a368b173421 | |
parent | 8df249304d26ecb1abfcdd30b53b296efc711bef (diff) | |
download | freebsd-ports-gnome-849387797c0bcbe7272e3890b1b0016823c859a7.tar.gz freebsd-ports-gnome-849387797c0bcbe7272e3890b1b0016823c859a7.tar.zst freebsd-ports-gnome-849387797c0bcbe7272e3890b1b0016823c859a7.zip |
Make installation of sample files optional (as port examples).
-rw-r--r-- | graphics/appleseed/Makefile | 4 | ||||
-rw-r--r-- | graphics/appleseed/pkg-plist | 32 |
2 files changed, 19 insertions, 17 deletions
diff --git a/graphics/appleseed/Makefile b/graphics/appleseed/Makefile index 22425fb84cc0..bfe565c18d22 100644 --- a/graphics/appleseed/Makefile +++ b/graphics/appleseed/Makefile @@ -40,13 +40,15 @@ PLIST_SUB= APPHOME=${CMAKE_INSTALL_PREFIX} 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 diff --git a/graphics/appleseed/pkg-plist b/graphics/appleseed/pkg-plist index ae958b1bc8f9..aa407435a148 100644 --- a/graphics/appleseed/pkg-plist +++ b/graphics/appleseed/pkg-plist @@ -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 |