2011-09-16 06:02:36 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.37 2011/09/16 10:02:36 espie Exp $
|
2001-06-15 05:06:47 -04:00
|
|
|
|
2011-03-23 08:10:54 -04:00
|
|
|
COMMENT = 3D creation software
|
2001-06-15 05:06:47 -04:00
|
|
|
|
2011-03-23 08:10:54 -04:00
|
|
|
DISTNAME = blender-2.49b
|
2011-09-16 06:02:36 -04:00
|
|
|
REVISION = 5
|
2009-11-01 08:10:52 -05:00
|
|
|
|
2011-03-23 08:10:54 -04:00
|
|
|
CATEGORIES = graphics
|
2001-12-13 04:39:35 -05:00
|
|
|
|
2011-03-23 08:10:54 -04:00
|
|
|
HOMEPAGE = http://www.blender.org/
|
2001-06-15 05:06:47 -04:00
|
|
|
|
2005-11-24 17:22:56 -05:00
|
|
|
# GPL
|
2011-03-23 08:10:54 -04:00
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
2001-06-15 05:06:47 -04:00
|
|
|
|
2011-03-23 08:10:54 -04:00
|
|
|
MASTER_SITES = http://download.blender.org/source/ \
|
2006-07-26 02:45:27 -04:00
|
|
|
http://mirror.cs.umn.edu/blender.org/source/ \
|
2005-11-24 17:22:56 -05:00
|
|
|
http://public.planetmirror.com/pub/blender/source/
|
2001-06-15 05:06:47 -04:00
|
|
|
|
2011-03-23 08:10:54 -04:00
|
|
|
MODULES = devel/scons lang/python
|
2006-07-26 02:45:27 -04:00
|
|
|
|
2011-03-23 08:10:54 -04:00
|
|
|
RUN_DEPENDS = graphics/tiff
|
|
|
|
BUILD_DEPENDS = graphics/tiff
|
|
|
|
LIB_DEPENDS = graphics/png \
|
2010-11-17 03:05:12 -05:00
|
|
|
graphics/jpeg \
|
|
|
|
graphics/glew \
|
|
|
|
devel/sdl \
|
2010-09-19 09:03:33 -04:00
|
|
|
${MODPY_LIB_DEPENDS}
|
2001-06-15 05:06:47 -04:00
|
|
|
|
2010-11-09 04:14:31 -05:00
|
|
|
WANTLIB = GL GLU X11 Xi c m pthread stdc++ util z
|
|
|
|
WANTLIB += ${MODPY_WANTLIB}
|
|
|
|
WANTLIB += png jpeg GLEW SDL
|
2005-11-24 17:22:56 -05:00
|
|
|
|
2011-03-23 08:10:54 -04:00
|
|
|
SEPARATE_BUILD = simple
|
|
|
|
NO_REGRESS = Yes
|
2001-06-15 05:06:47 -04:00
|
|
|
|
2011-03-23 08:10:54 -04:00
|
|
|
CFLAGS += -fPIC -funsigned-char -fno-strict-aliasing
|
2005-11-24 17:22:56 -05:00
|
|
|
|
2006-07-30 03:29:13 -04:00
|
|
|
post-extract:
|
2011-07-20 08:56:53 -04:00
|
|
|
@cd ${WRKSRC}/config && cp openbsd3-config.py openbsd-config.py
|
2006-07-30 03:29:13 -04:00
|
|
|
|
2011-03-23 08:10:54 -04:00
|
|
|
ALL_TARGET = blendernogame
|
2007-12-12 10:14:30 -05:00
|
|
|
|
2011-03-23 08:10:54 -04:00
|
|
|
MODSCONS_ENV = CC=${CC} CXX=${CXX} C_WARN="-Wall" \
|
2006-07-26 02:45:27 -04:00
|
|
|
CFLAGS="${CFLAGS}" CCFLAGS="${CXXFLAGS}" \
|
|
|
|
REL_CFLAGS= REL_CCFLAGS= \
|
|
|
|
BF_BUILDDIR=${WRKBUILD} \
|
|
|
|
BF_FANCY=0 \
|
|
|
|
BF_QUIET=0 \
|
2010-09-19 09:03:33 -04:00
|
|
|
BF_PYTHON=${LOCALBASE} BF_PYTHON_VERSION=${MODPY_VERSION} \
|
2009-10-25 18:41:24 -04:00
|
|
|
BF_GLEW=${LOCALBASE} \
|
|
|
|
BF_GLEW_LIB=GLEW BF_GLEW_LIBPATH=${LOCALBASE}/lib \
|
2006-07-26 02:45:27 -04:00
|
|
|
BF_JPEG=${LOCALBASE} \
|
|
|
|
BF_PNG=${LOCALBASE} \
|
2007-09-23 05:11:20 -04:00
|
|
|
BF_SDL_INC="${LOCALBASE}/include/SDL ${LOCALBASE}/include" \
|
2006-07-26 02:45:27 -04:00
|
|
|
BF_TIFF=${LOCALBASE} \
|
|
|
|
BF_OPENGL=${X11BASE} \
|
|
|
|
BF_ZLIB=/usr \
|
|
|
|
WITH_BF_INTERNATIONAL=false \
|
|
|
|
WITH_BF_STATICOPENGL=false \
|
|
|
|
WITH_BF_FTGL=false \
|
|
|
|
WITH_BF_BULLET=false
|
2005-11-24 17:22:56 -05:00
|
|
|
|
2001-06-15 05:06:47 -04:00
|
|
|
do-install:
|
2006-07-26 02:45:27 -04:00
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/bin/blender ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/blender/scripts/bpymodules
|
2005-11-24 17:22:56 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/release/scripts/*.py \
|
|
|
|
${PREFIX}/share/blender/scripts
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/release/scripts/bpymodules/*.py \
|
|
|
|
${PREFIX}/share/blender/scripts/bpymodules
|
2006-07-26 02:45:27 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/blender
|
2006-07-30 03:29:13 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/release/text/?lender* \
|
|
|
|
${PREFIX}/share/doc/blender
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/release/text/*license* \
|
|
|
|
${PREFIX}/share/doc/blender
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/release/text/copy* \
|
2006-07-26 02:45:27 -04:00
|
|
|
${PREFIX}/share/doc/blender
|
2007-09-20 15:58:49 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/release/freedesktop/icons/32x32/blender.png \
|
|
|
|
${PREFIX}/share/pixmaps
|
2001-06-15 05:06:47 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|