aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/blender
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/blender')
-rw-r--r--graphics/blender/Makefile23
-rw-r--r--graphics/blender/pkg-plist13
2 files changed, 28 insertions, 8 deletions
diff --git a/graphics/blender/Makefile b/graphics/blender/Makefile
index 0cfb27fd1ef..1f107955deb 100644
--- a/graphics/blender/Makefile
+++ b/graphics/blender/Makefile
@@ -1,4 +1,4 @@
-# New ports collection makefile for: blender-static
+# New ports collection makefile for: blender
# Date created: 14 November 2000
# Whom: Jimmy Olgeni <olgeni@uli.it>
#
@@ -13,17 +13,28 @@ DISTNAME= blender${PORTVERSION}-freebsd-3.4-i386-static
MAINTAINER= olgeni@FreeBSD.org
-NO_CDROM= "Commercial distribution prohibited"
-
USE_X_PREFIX= YES
-
-do-build:
- @echo "This is an install only port."
+NO_CDROM= "Commercial distribution prohibited"
+NO_BUILD= YES
+ONLY_FOR_ARCHS= i386
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/blender ${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
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/blender
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/blender
${INSTALL_DATA} ${WRKSRC}/copyright.txt ${PREFIX}/share/doc/blender
+.endif
.include <bsd.port.mk>
diff --git a/graphics/blender/pkg-plist b/graphics/blender/pkg-plist
index 1767c6361d4..1957bfeb30f 100644
--- a/graphics/blender/pkg-plist
+++ b/graphics/blender/pkg-plist
@@ -1,4 +1,13 @@
bin/blender
-share/doc/blender/README
-share/doc/blender/copyright.txt
+lib/blender/plugins/sequence/blur.so
+lib/blender/plugins/sequence/scatter.so
+lib/blender/plugins/sequence/showzbuf.so
+lib/blender/plugins/texture/clouds2.so
+lib/blender/plugins/texture/tiles.so
+%%PORTDOCS%%share/doc/blender/README
+%%PORTDOCS%%share/doc/blender/copyright.txt
@dirrm share/doc/blender
+@dirrm lib/blender/plugins/sequence
+@dirrm lib/blender/plugins/texture
+@dirrm lib/blender/plugins
+@dirrm lib/blender