aboutsummaryrefslogtreecommitdiff
path: root/graphics/blender/Makefile
blob: 22249fd87819add782c1b6a3b9b04322f4918d62 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# New ports collection makefile for:    blender
# Date created:         14 November 2000
# Whom:                 Jimmy Olgeni <olgeni@uli.it>
#
# $FreeBSD$
#

PORTNAME=	blender
PORTVERSION=	2.25
PORTREVISION=	3
CATEGORIES=	graphics games
MASTER_SITES=	http://download.blender.org/release/Publisher${PORTVERSION}/
DISTNAME=	blender-publisher-${PORTVERSION}-freebsd-4.2-i386
DIST_SUBDIR=	blender

MAINTAINER=	dyeske@gmail.com
COMMENT=	Fully functional 3D modeling/rendering/animation/gaming package

LIB_DEPENDS=	glut.4:${PORTSDIR}/graphics/libglut

USE_X_PREFIX=	YES
NO_BUILD=	YES
ONLY_FOR_ARCHS=	i386

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 500000
LIB_DEPENDS+=	c_r.4:${PORTSDIR}/misc/compat4x
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/blenderplayer ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/blenderpublisher ${PREFIX}/bin
	${MKDIR} ${PREFIX}/share/doc/blender
	${MKDIR} ${PREFIX}/lib/blender/plugins/texture \
		${PREFIX}/lib/blender/plugins/sequence
.for SEQ in blur.so scatter.so showzbuf.so
	${INSTALL_PROGRAM} ${WRKSRC}/plugins/sequence/${SEQ} \
		${PREFIX}/lib/blender/plugins/sequence
.endfor
.for TEXT in clouds2.so tiles.so
	${INSTALL_PROGRAM} ${WRKSRC}/plugins/texture/${TEXT} \
		${PREFIX}/lib/blender/plugins/texture
.endfor
	${MKDIR} ${PREFIX}/share/doc/blender
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/blender
	${INSTALL_DATA} ${WRKSRC}/copyright.txt ${PREFIX}/share/doc/blender
	${INSTALL_DATA} ${WRKSRC}/playerlicense.txt ${PREFIX}/share/doc/blender

.include <bsd.port.post.mk>