Changeset View
Changeset View
Standalone View
Standalone View
graphics/sverchok-blender/Makefile
- This file was added.
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# $FreeBSD$ | |||||
PORTNAME= sverchok | |||||
DISTVERSION= 0.5.9.6.2 | |||||
CATEGORIES= graphics | |||||
PKGNAMESUFFIX= -blender | |||||
MAINTAINER= yuri@FreeBSD.org | |||||
COMMENT= Add-on for Blender: parametric tool for architects and designers | |||||
LICENSE= GPLv3 | |||||
LICENSE_FILE= ${WRKSRC}/LICENSE | |||||
RUN_DEPENDS= blender:graphics/blender \ | |||||
${PYNUMPY} \ | |||||
${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} | |||||
.include "../blender/Makefile.versions" | |||||
USES= python:${BLENDER_PY_VERSION} | |||||
USE_GITHUB= yes | |||||
GH_ACCOUNT= nortikin | |||||
NO_BUILD= yes | |||||
NO_ARCH= yes | |||||
do-install: | |||||
@${RM} ${WRKSRC}/node_scripts/templates/polyvox # stray link | |||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/blender/${BLENDER_BL_VERSION}/scripts/addons/${PORTNAME} | |||||
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/blender/${BLENDER_BL_VERSION}/scripts/addons/${PORTNAME} | |||||
# autoplist: it installs 800+ files into the plugins directory | |||||
FreeBSD_ShaneWare.Biz: I think it would be better to install extra addons into scripts/addons_contrib to keep them… | |||||
Done Inline ActionsOk, I will update this. yuri: Ok, I will update this. | |||||
Done Inline ActionsBlender doesn't find the add-on when it is installed into share/blender/2.79/scripts/addons_contrib/sverchok/ yuri: `Blender` doesn't find the add-on when it is installed into `share/blender/2. | |||||
@cd ${STAGEDIR}${PREFIX} && \ | |||||
${FIND} share/blender/${BLENDER_BL_VERSION}/scripts/addons/${PORTNAME} -type f >> ${TMPPLIST} && \ | |||||
Done Inline ActionsDon't use do- and post-. Do everything in the do- target. mat: Don't use `do-` and `post-`. Do everything in the `do-` target. | |||||
${FIND} -f share/blender/${BLENDER_BL_VERSION}/scripts/addons/${PORTNAME} -type d -empty | ${SED} -e 's/^/@dir /' >> ${TMPPLIST} | |||||
Done Inline ActionsAs you only install stuff in share/blender/${BLENDER_BL_VERSION}/scripts/addons/${PORTNAME}, I think that you should limit both find to this directory. The second find seems most bogus. mat: As you only install stuff in `share/blender/${BLENDER_BL_VERSION}/scripts/addons/${PORTNAME}`… | |||||
.include <bsd.port.mk> |
I think it would be better to install extra addons into scripts/addons_contrib to keep them separate from official release addons.