Changeset View
Changeset View
Standalone View
Standalone View
graphics/blender/Makefile
# Created by: Jimmy Olgeni <olgeni@uli.it> | # Created by: Jimmy Olgeni <olgeni@uli.it> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= blender | PORTNAME= blender | ||||
PORTVERSION= 2.79 | PORTVERSION= 2.79 | ||||
PORTREVISION= 3 | PORTREVISION= 4 | ||||
CATEGORIES= graphics games | CATEGORIES= graphics games | ||||
MASTER_SITES= http://download.blender.org/source/ \ | MASTER_SITES= http://download.blender.org/source/ \ | ||||
http://mirror.cs.umn.edu/blender.org/source/ \ | http://mirror.cs.umn.edu/blender.org/source/ \ | ||||
http://public.planetmirror.com/pub/blender/source/ | http://public.planetmirror.com/pub/blender/source/ | ||||
MAINTAINER= FreeBSD@Shaneware.biz | MAINTAINER= FreeBSD@Shaneware.biz | ||||
COMMENT= 3D modeling/rendering/animation/gaming package | COMMENT= 3D modeling/rendering/animation/gaming package | ||||
LICENSE= GPLv2+ | LICENSE= GPLv2+ | ||||
LICENSE_FILE= ${WRKSRC}/doc/license/GPL-license.txt | LICENSE_FILE= ${WRKSRC}/doc/license/GPL-license.txt | ||||
LIB_DEPENDS= libpng.so:graphics/png \ | LIB_DEPENDS= libpng.so:graphics/png \ | ||||
libfreetype.so:print/freetype2 \ | libfreetype.so:print/freetype2 \ | ||||
libboost_regex.so:devel/boost-libs | libboost_regex.so:devel/boost-libs | ||||
# libboost_regex.so just acts as a placeholder; several boost | # libboost_regex.so just acts as a placeholder; several boost | ||||
# libraries are used, if either of the most common options in blender | # libraries are used, if either of the most common options in blender | ||||
# are set. We will pull boost in just to be on the safe side. | # are set. We will pull boost in just to be on the safe side. | ||||
.include "${.CURDIR}/Makefile.versions" | |||||
USES= cmake:outsource desktop-file-utils \ | USES= cmake:outsource desktop-file-utils \ | ||||
jpeg python:3.5 shebangfix | jpeg python:${BLENDER_PY_VERSION} shebangfix \ | ||||
fortran # fortran is needed because Blender plugins can load python libraries built with fortran, and they need Blender to have USES=fortran | |||||
USE_XORG= x11 xext xmu xrender | USE_XORG= x11 xext xmu xrender | ||||
USE_GL= gl glu glew | USE_GL= gl glu glew | ||||
INSTALLS_ICONS= yes | INSTALLS_ICONS= yes | ||||
CMAKE_ARGS= -DWITH_PYTHON_INSTALL:BOOL=OFF \ | CMAKE_ARGS= -DWITH_PYTHON_INSTALL:BOOL=OFF \ | ||||
-DWITH_PYTHON_INSTALL_NUMPY:BOOL=OFF \ | -DWITH_PYTHON_INSTALL_NUMPY:BOOL=OFF \ | ||||
-DWITH_INSTALL_PORTABLE:BOOL=FALSE | -DWITH_INSTALL_PORTABLE:BOOL=FALSE \ | ||||
-DPYTHON_VERSION:STRING=${BLENDER_PY_VERSION} | |||||
SHEBANG_FILES= release/bin/blender-thumbnailer.py \ | SHEBANG_FILES= release/bin/blender-thumbnailer.py \ | ||||
release/scripts/modules/bl_i18n_utils/merge_po.py \ | release/scripts/modules/bl_i18n_utils/merge_po.py \ | ||||
release/scripts/modules/bl_i18n_utils/utils_rtl.py \ | release/scripts/modules/bl_i18n_utils/utils_rtl.py \ | ||||
release/scripts/modules/blend_render_info.py | release/scripts/modules/blend_render_info.py | ||||
CFLAGS_i386= -march=i586 | CFLAGS_i386= -march=i586 | ||||
CXXFLAGS_i386= -march=i586 | CXXFLAGS_i386= -march=i586 | ||||
BL_VERSION= 2.79 | OUTDIR= ${INSTALL_WRKSRC}/bin/${BLENDER_BL_VERSION} | ||||
OUTDIR= ${INSTALL_WRKSRC}/bin/${BL_VERSION} | |||||
PLIST_SUB+= VER=${BL_VERSION} | PLIST_SUB+= VER=${BLENDER_BL_VERSION} | ||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
.include "${.CURDIR}/Makefile.options" | .include "${.CURDIR}/Makefile.options" | ||||
AVI_CMAKE_ON= -DWITH_CODEC_AVI:BOOL=ON | AVI_CMAKE_ON= -DWITH_CODEC_AVI:BOOL=ON | ||||
AVI_CMAKE_OFF= -DWITH_CODEC_AVI:BOOL=OFF | AVI_CMAKE_OFF= -DWITH_CODEC_AVI:BOOL=OFF | ||||
BULLET_CMAKE_ON= -DWITH_BULLET:BOOL=ON | BULLET_CMAKE_ON= -DWITH_BULLET:BOOL=ON | ||||
BULLET_CMAKE_OFF= -DWITH_BULLET:BOOL=OFF | BULLET_CMAKE_OFF= -DWITH_BULLET:BOOL=OFF | ||||
▲ Show 20 Lines • Show All 140 Lines • Show Last 20 Lines |