Index: graphics/Makefile =================================================================== --- graphics/Makefile +++ graphics/Makefile @@ -1029,6 +1029,7 @@ SUBDIR += sswf SUBDIR += stamp SUBDIR += structuresynth + SUBDIR += sverchok-blender SUBDIR += svg2pdf SUBDIR += svg2png SUBDIR += svgalib Index: graphics/sverchok-blender/Makefile =================================================================== --- /dev/null +++ graphics/sverchok-blender/Makefile @@ -0,0 +1,35 @@ +# $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 + @cd ${STAGEDIR}${PREFIX} && \ + ${FIND} share/blender/${BLENDER_BL_VERSION}/scripts/addons/${PORTNAME} -type f >> ${TMPPLIST} && \ + ${FIND} -f share/blender/${BLENDER_BL_VERSION}/scripts/addons/${PORTNAME} -type d -empty | ${SED} -e 's/^/@dir /' >> ${TMPPLIST} + +.include Index: graphics/sverchok-blender/distinfo =================================================================== --- /dev/null +++ graphics/sverchok-blender/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1514759128 +SHA256 (nortikin-sverchok-0.5.9.6.2_GH0.tar.gz) = 365f2f23a0d646544c1bf619319e17db85f2d097f37d959201ba624e8777c7aa +SIZE (nortikin-sverchok-0.5.9.6.2_GH0.tar.gz) = 1059466 Index: graphics/sverchok-blender/pkg-descr =================================================================== --- /dev/null +++ graphics/sverchok-blender/pkg-descr @@ -0,0 +1,19 @@ +Sverchok is a parametric tool for architects and designers. You can use it to +program objects' shapes without knowing any programming languages. + +It is an add-on for Blender. + +Sverchok IS a parametric tool that relies on easy-to-use visual node-based +design to create low-level data structures. + +Sverchok IS NOT an all-in-one tool. It does not have lighting and the rest +of Blender's toolbox. + +It implements the approach of MATH + MESH + SPLINES + NURBS. It lets you operate +with digits and math with high level language to manipulate nodes visually. + +Sverchok has been inspired by Grasshopper from Rhino 3D and uses a similar +node-based visual programming principle. We are trying to bring this feature set +to Blender users. + +WWW: http://nikitron.cc.ua/sverchok_en.html Index: graphics/sverchok-blender/pkg-message =================================================================== --- /dev/null +++ graphics/sverchok-blender/pkg-message @@ -0,0 +1,12 @@ +====================================================================== +You installed Sverchok: the Blender add-on for architects and +designers. + +You need to enable it in Blender: click on the "File" menu, then on +the "User Preferences" sub-menu, click on "Add-ons", type in "sverchok" +into the search box in the top-left corner, and check the "Sverchok" +check-box to the right. + +Please consult the user's manual: +http://nikitron.cc.ua/sverch/html/main.html +======================================================================