* 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)
This commit is contained in:
parent
1744bfcaf0
commit
5db48535a5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=37751
2 changed files with 28 additions and 8 deletions
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue