aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/blender
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2001-01-29 23:13:28 +0800
committerolgeni <olgeni@FreeBSD.org>2001-01-29 23:13:28 +0800
commit4afc8e1ef49a0980c71a1fcb426dca048b17c618 (patch)
tree4dec39f4a4b555c6c8cf24e9c5d2f6068a3140f4 /graphics/blender
parent9bc64ddd3ee2992ee77eed40b3c68d3d38d278cc (diff)
downloadfreebsd-ports-graphics-4afc8e1ef49a0980c71a1fcb426dca048b17c618.tar.gz
freebsd-ports-graphics-4afc8e1ef49a0980c71a1fcb426dca048b17c618.tar.zst
freebsd-ports-graphics-4afc8e1ef49a0980c71a1fcb426dca048b17c618.zip
* Fix the Makefile header (blender-static -> blender)
* Add ONLY_FOR_ARCHS (i386) * Install sequence and texture plugins * Support PORTDOCS Reviewed by: will (I didn't switch to the dynamic blender version yet, because there are still some problems with Mesa library links)
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