aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/blender/Makefile
blob: e9b5021c76453005ae88af2b036ada679eca0cef (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=   2
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@yahoo.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>