View | Details | Raw Unified | Return to bug 167061
Collapse All | Expand All

(-)blender/Makefile (-4 / +49 lines)
Lines 6-11 Link Here
6
6
7
PORTNAME=	blender
7
PORTNAME=	blender
8
PORTVERSION=	2.62
8
PORTVERSION=	2.62
9
PORTREVISION=	1
9
CATEGORIES=	graphics games
10
CATEGORIES=	graphics games
10
MASTER_SITES=	http://download.blender.org/source/ \
11
MASTER_SITES=	http://download.blender.org/source/ \
11
		http://mirror.cs.umn.edu/blender.org/source/ \
12
		http://mirror.cs.umn.edu/blender.org/source/ \
Lines 27-35 Link Here
27
MAKE_JOBS_SAFE=	yes
28
MAKE_JOBS_SAFE=	yes
28
29
29
CMAKE_OUTSOURCE=	yes
30
CMAKE_OUTSOURCE=	yes
30
CMAKE_ARGS+=	-DWITH_BUILTIN_GLEW:BOOL=OFF -DWITH_PYTHON_INSTALL:BOOL=OFF \
31
CMAKE_ARGS+=	-DWITH_BUILTIN_GLEW:BOOL=OFF -DWITH_PYTHON_INSTALL:BOOL=OFF
31
		-DWITH_LIBMV:BOOL=OFF -DWITH_CYCLES:BOOL=OFF \
32
		-DWITH_CARVE:BOOL=OFF
33
32
34
SUB_FILES=	blender blenderplayer
33
SUB_FILES=	blender blenderplayer
35
MAN1=		blender.1
34
MAN1=		blender.1
Lines 40-55 Link Here
40
		ru sr sr@latin sv zh_CN zh_TW
39
		ru sr sr@latin sv zh_CN zh_TW
41
40
42
OPTIONS=	BULLET		"Enable bullet physics engine" on \
41
OPTIONS=	BULLET		"Enable bullet physics engine" on \
42
		CARVE		"Carve boolean library" on \
43
		CINEON		"CINEON and DPX graphics format support" on \
43
		CINEON		"CINEON and DPX graphics format support" on \
44
		CAMERATRACK	"Camera tracking" on \
45
		CYCLES		"Cycles render engine" on \
44
		DDS		"DDS graphics format support" on \
46
		DDS		"DDS graphics format support" on \
45
		FFMPEG		"Audio and video support using ffmpeg" on \
47
		FFMPEG		"Audio and video support using ffmpeg" on \
46
		FFTW3		"Floating point support using fftw" off \
48
		FFTW3		"Floating point support using fftw" on \
47
		GAMEENGINE	"Enable game engine" on \
49
		GAMEENGINE	"Enable game engine" on \
48
		HDR		"Generic high dynamic-range (HDR) support" on \
50
		HDR		"Generic high dynamic-range (HDR) support" on \
49
		HEADLESS	"Disable user interface" off \
51
		HEADLESS	"Disable user interface" off \
50
		JACK		"Audio support using JackAudio" off \
52
		JACK		"Audio support using JackAudio" off \
51
		NLS		"Native language support" on \
53
		NLS		"Native language support" on \
52
		MENU		"Install desktop menu" on \
54
		MENU		"Install desktop menu" on \
55
		OCEANSIM	"Ocean sim support" on \
53
		OPENAL		"3D sound support using OpenAL" on \
56
		OPENAL		"3D sound support using OpenAL" on \
54
		OPENEXR		"High dynamic-range (HDR) support using OpenEXR" on \
57
		OPENEXR		"High dynamic-range (HDR) support using OpenEXR" on \
55
		OPENJPEG	"Enhanced JPEG graphics support using OpenJPEG" on \
58
		OPENJPEG	"Enhanced JPEG graphics support using OpenJPEG" on \
Lines 70-81 Link Here
70
CMAKE_ARGS+=	-DWITH_BULLET:BOOL=ON
73
CMAKE_ARGS+=	-DWITH_BULLET:BOOL=ON
71
.endif
74
.endif
72
75
76
.if defined(WITHOUT_CARVE)
77
CMAKE_ARGS+=	-DWITH_CARVE:BOOL=OFF
78
.else
79
CMAKE_ARGS+=	-DWITH_CARVE:BOOL=ON
80
LIB_DEPENDS+=	boost_thread.4:${PORTSDIR}/devel/boost-libs
81
.endif
82
73
.if defined(WITHOUT_CINEON)
83
.if defined(WITHOUT_CINEON)
74
CMAKE_ARGS+=	-DWITH_IMAGE_CINEON:BOOL=OFF
84
CMAKE_ARGS+=	-DWITH_IMAGE_CINEON:BOOL=OFF
75
.else
85
.else
76
CMAKE_ARGS+=	-DWITH_IMAGE_CINEON:BOOL=ON
86
CMAKE_ARGS+=	-DWITH_IMAGE_CINEON:BOOL=ON
77
.endif
87
.endif
78
88
89
.if defined(WITHOUT_CAMERATRACK)
90
CMAKE_ARGS+=	-DWITH_LIBMV:BOOL=OFF
91
.else
92
CMAKE_ARGS+=	-DWITH_LIBMV:BOOL=ON
93
LIB_DEPENDS+=	unwind:${PORTSDIR}/devel/libunwind
94
.endif
95
96
# openimageio to enable cycles requires 8.0 or higher
97
.if defined(WITH_CYCLES) && ${OSVERSION} >= 800000
98
CMAKE_ARGS+=	-DWITH_CYCLES:BOOL=ON
99
.if ${ARCH} == "i386" || ${OSVERSION} < 803000
100
# this is needed for linking with openimageio
101
LDFLAGS+=	-L${LOCALBASE}/lib/gcc46 -rpath ${LOCALBASE}/lib/gcc46
102
.endif
103
LIB_DEPENDS+=	OpenImageIO:${PORTSDIR}/graphics/openimageio
104
PLIST_SUB+=	CYCLES=""
105
.else
106
CMAKE_ARGS+=	-DWITH_CYCLES:BOOL=OFF
107
PLIST_SUB+=	CYCLES="@comment "
108
.endif
109
79
.if defined(WITHOUT_DDS)
110
.if defined(WITHOUT_DDS)
80
CMAKE_ARGS+=	-DWITH_IMAGE_DDS:BOOL=OFF
111
CMAKE_ARGS+=	-DWITH_IMAGE_DDS:BOOL=OFF
81
.else
112
.else
Lines 141-146 Link Here
141
CMAKE_ARGS+=	-DWITH_INTERNATIONAL:BOOL=ON
172
CMAKE_ARGS+=	-DWITH_INTERNATIONAL:BOOL=ON
142
.endif
173
.endif
143
174
175
.if defined(WITHOUT_OCEANSIM)
176
CMAKE_ARGS+=	-DWITH_MOD_OCEANSIM:BOOL=OFF
177
.else
178
.if defined(WITHOUT_FFTW3)
179
BROKEN=		WITH_OCEANSIM requires WITH_FFTW3
180
.endif
181
CMAKE_ARGS+=	-DWITH_MOD_OCEANSIM:BOOL=ON
182
.endif
183
144
.if defined(WITHOUT_OPENAL)
184
.if defined(WITHOUT_OPENAL)
145
CMAKE_ARGS+=	-DWITH_OPENAL:BOOL=OFF
185
CMAKE_ARGS+=	-DWITH_OPENAL:BOOL=OFF
146
.else
186
.else
Lines 229-234 Link Here
229
CMAKE_ARGS+=	-DWITH_X11_XINPUT:BOOL=ON
269
CMAKE_ARGS+=	-DWITH_X11_XINPUT:BOOL=ON
230
.endif
270
.endif
231
271
272
post-configure:
273
.if defined(WITH_CYCLES) && ${OSVERSION} < 800000
274
	@${ECHO_MSG} "Cycles render engine is only available in 8.0 or higher."
275
.endif
276
232
post-install:
277
post-install:
233
	@${INSTALL_SCRIPT} ${WRKDIR}/blender ${PREFIX}/bin/blender
278
	@${INSTALL_SCRIPT} ${WRKDIR}/blender ${PREFIX}/bin/blender
234
	@${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/bin/blender \
279
	@${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/bin/blender \
(-)blender/pkg-plist (+94 lines)
Lines 41-46 Link Here
41
%%DATADIR%%/scripts/addons/animation_animall.py
41
%%DATADIR%%/scripts/addons/animation_animall.py
42
%%DATADIR%%/scripts/addons/animation_rotobezier.py
42
%%DATADIR%%/scripts/addons/animation_rotobezier.py
43
%%DATADIR%%/scripts/addons/curve_simplify.py
43
%%DATADIR%%/scripts/addons/curve_simplify.py
44
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/license/readme.txt
45
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/license/Blender.txt
46
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/license/GPL.txt
47
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/license/ILM.txt
48
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/license/NVidia.txt
49
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/license/OSL.txt
50
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/license/Sobol.txt
51
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/license/Apache_2.0.txt
52
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/volume.h
53
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/bsdf_ashikhmin_velvet.h
54
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/bsdf_diffuse.h
55
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/bsdf_oren_nayar.h
56
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/bsdf_microfacet.h
57
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/bsdf_reflection.h
58
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/bsdf_refraction.h
59
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/bsdf_transparent.h
60
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/bsdf_ward.h
61
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/bsdf_westin.h
62
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/emissive.h
63
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm.h
64
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_attribute.h
65
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_bsdf.h
66
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_camera.h
67
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_closure.h
68
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_convert.h
69
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_checker.h
70
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_displace.h
71
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_fresnel.h
72
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_gamma.h
73
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_brightness.h
74
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_geometry.h
75
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_gradient.h
76
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_hsv.h
77
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_image.h
78
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_invert.h
79
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_light_path.h
80
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_magic.h
81
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_mapping.h
82
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_math.h
83
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_mix.h
84
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_musgrave.h
85
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_noise.h
86
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_noisetex.h
87
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_normal.h
88
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_sepcomb_rgb.h
89
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_sky.h
90
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_tex_coord.h
91
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_texture.h
92
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_types.h
93
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_value.h
94
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_voronoi.h
95
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/svm_wave.h
96
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/svm/bsdf.h
97
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/kernel.cu
98
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/kernel.h
99
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/kernel_accumulate.h
100
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/kernel_bvh.h
101
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/kernel_camera.h
102
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/kernel_compat_cpu.h
103
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/kernel_compat_cuda.h
104
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/kernel_compat_opencl.h
105
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/kernel_differential.h
106
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/kernel_displace.h
107
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/kernel_emission.h
108
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/kernel_film.h
109
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/kernel_globals.h
110
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/kernel_light.h
111
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/kernel_math.h
112
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/kernel_mbvh.h
113
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/kernel_montecarlo.h
114
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/kernel_object.h
115
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/kernel_passes.h
116
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/kernel_path.h
117
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/kernel_qbvh.h
118
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/kernel_random.h
119
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/kernel_shader.h
120
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/kernel_textures.h
121
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/kernel_triangle.h
122
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/kernel_types.h
123
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/util_color.h
124
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/util_math.h
125
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/util_transform.h
126
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/kernel.cl
127
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/kernel/util_types.h
128
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/enums.py
129
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/presets.py
130
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/__init__.py
131
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/ui.py
132
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/properties.py
133
%%CYCLES%%%%DATADIR%%/scripts/addons/cycles/engine.py
44
%%DATADIR%%/scripts/addons/development_api_navigator.py
134
%%DATADIR%%/scripts/addons/development_api_navigator.py
45
%%DATADIR%%/scripts/addons/development_icon_get.py
135
%%DATADIR%%/scripts/addons/development_icon_get.py
46
%%DATADIR%%/scripts/addons/game_engine_save_as_runtime.py
136
%%DATADIR%%/scripts/addons/game_engine_save_as_runtime.py
Lines 557-562 Link Here
557
@dirrm %%DATADIR%%/scripts/addons/io_anim_c3d
647
@dirrm %%DATADIR%%/scripts/addons/io_anim_c3d
558
@dirrm %%DATADIR%%/scripts/addons/io_anim_bvh
648
@dirrm %%DATADIR%%/scripts/addons/io_anim_bvh
559
@dirrm %%DATADIR%%/scripts/addons/io_anim_acclaim
649
@dirrm %%DATADIR%%/scripts/addons/io_anim_acclaim
650
%%CYCLES%%@dirrm %%DATADIR%%/scripts/addons/cycles/kernel/svm
651
%%CYCLES%%@dirrm %%DATADIR%%/scripts/addons/cycles/kernel
652
%%CYCLES%%@dirrm %%DATADIR%%/scripts/addons/cycles/license
653
%%CYCLES%%@dirrm %%DATADIR%%/scripts/addons/cycles
560
@dirrm %%DATADIR%%/scripts/addons/add_mesh_extra_objects
654
@dirrm %%DATADIR%%/scripts/addons/add_mesh_extra_objects
561
@dirrm %%DATADIR%%/scripts/addons/add_mesh_BoltFactory/presets
655
@dirrm %%DATADIR%%/scripts/addons/add_mesh_BoltFactory/presets
562
@dirrm %%DATADIR%%/scripts/addons/add_mesh_BoltFactory
656
@dirrm %%DATADIR%%/scripts/addons/add_mesh_BoltFactory

Return to bug 167061