[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / graphics / blender

Annotation of pkgsrc/graphics/blender/Makefile, Revision 1.71

1.71    ! joerg       1: # $NetBSD: Makefile,v 1.70 2010/01/18 09:58:56 wiz Exp $
1.18      jschauma    2:
1.68      hasso       3: DISTNAME=      blender-2.49b
1.71    ! joerg       4: PKGREVISION=   3
1.46      adam        5: CATEGORIES=    graphics
1.65      zafer       6: MASTER_SITES=  http://download.blender.org/source/
1.46      adam        7:
1.53      jlam        8: MAINTAINER=    pkgsrc-users@NetBSD.org
1.59      markd       9: HOMEPAGE=      http://www.blender.org/
1.46      adam       10: COMMENT=       Fully integrated 3D graphics creation suite
1.18      jschauma   11:
1.42      jlam       12: USE_TOOLS+=            gmake
1.58      wiz        13: USE_LANGUAGES=         c c++
1.59      markd      14: USE_CMAKE=             yes
                     15: CMAKE_ARG_PATH=                ..
                     16: CONFIGURE_DIRS=                _build
                     17: PKG_DESTDIR_SUPPORT=   user-destdir
1.1       manu       18:
1.18      jschauma   19: LDFLAGS+=              -lcrypto
1.1       manu       20:
1.44      wiz        21: .include "options.mk"
1.14      dmcmahil   22:
1.45      jlam       23: INSTALLATION_DIRS=     bin
                     24:
1.63      markd      25: CMAKE_ARGS+=   -DFREETYPE_INC:PATH=${BUILDLINK_PREFIX.freetype2}/include/freetype2
                     26: CMAKE_ARGS+=   -DSDL_INCLUDE_DIR:PATH=${BUILDLINK_PREFIX.SDL}/include/SDL
1.59      markd      27:
                     28: CHECK_INTERPRETER_SKIP= share/blender/scripts/*.py share/blender/scripts/*/*.py
                     29:
                     30: pre-configure:
                     31:        ${MKDIR} ${WRKSRC}/_build
                     32:
                     33: WRKSRCBIN=     ${WRKSRC}/_build/bin
                     34:
                     35: post-build:
                     36:        ${CP} -f ${WRKSRCBIN}/blender ${WRKSRCBIN}/blender-bin
                     37:        ${SED} -e "s|__PREFIX__|${PREFIX}|g" files/blender > ${WRKSRCBIN}/blender
                     38:        ${CHMOD} +x ${WRKSRCBIN}/blender
                     39:        ${CHMOD} -x ${WRKSRCBIN}/.blender/scripts/*.py
                     40:        ${CHMOD} -x ${WRKSRCBIN}/.blender/scripts/*/*.py
1.38      reinoud    41:
                     42: do-install:
1.59      markd      43:        ${INSTALL_PROGRAM} ${WRKSRCBIN}/blender-bin ${DESTDIR}${PREFIX}/bin
                     44:        ${INSTALL_SCRIPT} ${WRKSRCBIN}/blender ${DESTDIR}${PREFIX}/bin
                     45:        ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/blender
                     46:        ${CP} -R ${WRKSRCBIN}/.blender/scripts \
                     47:                ${DESTDIR}${PREFIX}/share/blender/
                     48:        ${CP} -R ${WRKSRCBIN}/.blender/locale \
                     49:                ${DESTDIR}${PREFIX}/share/blender/
                     50:        ${INSTALL_DATA} ${WRKSRCBIN}/.blender/.Blanguages \
                     51:                ${DESTDIR}${PREFIX}/share/blender
                     52:        ${INSTALL_DATA} ${WRKSRCBIN}/.blender/.bfont.ttf \
                     53:                ${DESTDIR}${PREFIX}/share/blender
1.67      hasso      54:        ${INSTALL_DATA} ${WRKSRC}/release/text/BlenderQuickStart.pdf \
1.59      markd      55:                ${DESTDIR}${PREFIX}/share/blender
1.38      reinoud    56:
1.33      snj        57: .include "../../devel/SDL/buildlink3.mk"
                     58: .include "../../graphics/Mesa/buildlink3.mk"
1.50      adam       59: .include "../../graphics/freetype2/buildlink3.mk"
1.67      hasso      60: .include "../../graphics/openexr/buildlink3.mk"
1.33      snj        61: .include "../../graphics/png/buildlink3.mk"
1.50      adam       62: .include "../../graphics/tiff/buildlink3.mk"
1.33      snj        63: .include "../../security/openssl/buildlink3.mk"
1.1       manu       64:
1.18      jschauma   65: .include "../../lang/python/pyversion.mk"
1.1       manu       66:
1.17      jschauma   67: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>