1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-10 02:45:11 +00:00

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

This commit is contained in:
Alexey Dokuchaev 2015-11-22 11:40:29 +00:00
parent da6a8a3291
commit eba4f3e9a4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=402227
2 changed files with 19 additions and 17 deletions

View File

@ -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

View File

@ -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