2002-08-03 16:02:00 +02:00
|
|
|
# $NetBSD: Makefile,v 1.13 2002/08/03 14:02:00 dmcmahill Exp $
|
2001-03-16 01:33:18 +01:00
|
|
|
|
2001-11-29 02:12:24 +01:00
|
|
|
PKGNAME= blender-2.11
|
2002-07-15 00:50:33 +02:00
|
|
|
PKGREVISION= 5
|
2001-03-16 01:33:18 +01:00
|
|
|
CATEGORIES= graphics
|
2002-08-03 16:02:00 +02:00
|
|
|
MASTER_SITES= ftp://www.blender.nl/pub/ \
|
|
|
|
ftp://ftp.cs.umn.edu/pub/blender/pub/versions/2.11
|
2001-03-16 01:33:18 +01:00
|
|
|
|
|
|
|
MAINTAINER= manu@netbsd.org
|
|
|
|
HOMEPAGE= http://www.blender.nl
|
2001-04-02 20:41:57 +02:00
|
|
|
COMMENT= GUI based raytracer
|
2001-03-16 01:33:18 +01:00
|
|
|
|
|
|
|
RESTRICTED= "Only the original, unmodified package may be freely distributed"
|
|
|
|
NO_BIN_ON_FTP= ${RESTRICTED}
|
|
|
|
NO_BIN_ON_CDROM=${RESTRICTED}
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
2001-05-24 10:38:40 +02:00
|
|
|
CHECK_SHLIBS= NO
|
2001-03-16 01:33:18 +01:00
|
|
|
|
|
|
|
# To be updated as other platforms PLIST will be built
|
2002-08-03 16:02:00 +02:00
|
|
|
ONLY_FOR_PLATFORM= *-*-i386 *-*-powerpc *-*-sparc
|
2001-03-16 01:33:18 +01:00
|
|
|
|
|
|
|
.if (${MACHINE_ARCH} == "alpha")
|
|
|
|
.if !exists(/emul/linux/lib/ld.so.1)
|
2001-04-02 20:41:57 +02:00
|
|
|
IGNORE= "${PKGNAME} requires Linux libraries - see compat_linux(8)"
|
2001-03-16 01:33:18 +01:00
|
|
|
.endif
|
2001-05-04 14:42:45 +02:00
|
|
|
DISTNAME= blender2.11-linux-glibc2.1.3-alpha
|
2001-03-16 01:33:18 +01:00
|
|
|
#
|
|
|
|
.elif (${MACHINE_ARCH} == "i386")
|
2002-04-04 14:29:46 +02:00
|
|
|
DEPENDS+= suse_linux>=6.4:../../emulators/${SUSE_DIR_PREFIX}_linux
|
2001-03-16 01:33:18 +01:00
|
|
|
DISTNAME= blender2.11-linux-glibc2.1.2-i386-static
|
2001-04-08 18:22:45 +02:00
|
|
|
PLIST_ARCH= linux-i386
|
2001-03-16 01:33:18 +01:00
|
|
|
#
|
|
|
|
.elif (${MACHINE_ARCH} == "sparc")
|
2002-08-03 16:02:00 +02:00
|
|
|
.if !exists(/emul/svr4/usr/lib/ld.so)
|
|
|
|
IGNORE= "${PKGNAME} requires Solaris libraries - see compat_svr4(8)"
|
2001-03-16 01:33:18 +01:00
|
|
|
.endif
|
2001-04-02 20:41:57 +02:00
|
|
|
DISTNAME= blender2.11-solaris-2.6-sparc
|
2001-03-16 01:33:18 +01:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
#
|
|
|
|
.elif (${MACHINE_ARCH} == "powerpc")
|
|
|
|
.if !exists(/emul/linux/lib/ld.so.1)
|
2001-04-02 20:41:57 +02:00
|
|
|
IGNORE= "${PKGNAME} requires Linux libraries - see compat_linux(8)"
|
2001-03-16 01:33:18 +01:00
|
|
|
.endif
|
2001-05-11 11:20:55 +02:00
|
|
|
DEPENDS+= linuxppc_lib>=2000.4.2:../../emulators/linuxppc_lib
|
2001-03-16 01:33:18 +01:00
|
|
|
DISTNAME= blender2.11-linux-glibc2.1.3-powerpc-static
|
|
|
|
PLIST_ARCH= linux-powerpc
|
|
|
|
#
|
|
|
|
.else
|
2001-11-23 17:16:14 +01:00
|
|
|
DISTNAME= # dummy, don't break pkg system
|
2001-04-02 20:41:57 +02:00
|
|
|
IGNORE= "Your platform is not supported and the package is buggy!"
|
2001-03-16 01:33:18 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
PLIST_SRC= ${PKGDIR}/PLIST.${PLIST_ARCH}
|
|
|
|
|
|
|
|
do-install:
|
2001-04-02 20:41:57 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/blender
|
2001-03-16 01:33:18 +01:00
|
|
|
${CP} -Rp ${WRKSRC}/* ${PREFIX}/lib/blender/
|
2001-04-08 18:22:45 +02:00
|
|
|
${LN} -sf ../lib/blender/blender ${PREFIX}/bin/blender
|
2001-03-16 01:33:18 +01:00
|
|
|
|
2002-04-04 14:29:46 +02:00
|
|
|
.include "../../emulators/suse_linux/Makefile.application"
|