Index: head/cad/Makefile =================================================================== --- head/cad/Makefile (revision 480118) +++ head/cad/Makefile (revision 480119) @@ -1,106 +1,107 @@ # $FreeBSD$ # COMMENT = CAD tools SUBDIR += NASTRAN-95 SUBDIR += abc SUBDIR += admesh SUBDIR += adms SUBDIR += alliance SUBDIR += astk-client SUBDIR += astk-serveur SUBDIR += atlc SUBDIR += basicdsp SUBDIR += brickutils SUBDIR += brlcad SUBDIR += calculix SUBDIR += calculix-ccx SUBDIR += cascade SUBDIR += chipvault SUBDIR += cura-engine SUBDIR += dinotrace SUBDIR += dxf2fig SUBDIR += electric SUBDIR += electric-ng SUBDIR += elmerfem SUBDIR += feappv SUBDIR += fidocadj SUBDIR += freecad SUBDIR += freehdl SUBDIR += fritzing SUBDIR += gdsreader SUBDIR += gdt SUBDIR += geda SUBDIR += gerbv SUBDIR += ghdl SUBDIR += gmsh SUBDIR += gmsh-occ SUBDIR += gnucap SUBDIR += gplcver SUBDIR += gspiceui SUBDIR += gtkwave SUBDIR += impact SUBDIR += irsim SUBDIR += iverilog SUBDIR += jspice3 + SUBDIR += k40-whisperer SUBDIR += kicad SUBDIR += kicad-devel SUBDIR += kicad-library SUBDIR += kicad-library-footprints-devel SUBDIR += kicad-library-packages3d-devel SUBDIR += kicad-library-symbols-devel SUBDIR += kicad-library-templates-devel SUBDIR += klayout SUBDIR += layouteditor SUBDIR += ldraw SUBDIR += leocad SUBDIR += libopencad SUBDIR += librecad SUBDIR += libredwg SUBDIR += linux-eagle5 SUBDIR += linuxcnc-devel SUBDIR += logisim SUBDIR += magic SUBDIR += meshdev SUBDIR += meshlab SUBDIR += netgen SUBDIR += ngspice_rework SUBDIR += opencascade SUBDIR += openscad SUBDIR += openscad-devel SUBDIR += openvsp SUBDIR += p5-GDS2 SUBDIR += p5-Verilog-Perl SUBDIR += pcb SUBDIR += pdnmesh SUBDIR += py-gdspy SUBDIR += py-lcapy SUBDIR += py-pycam SUBDIR += py-pyfda SUBDIR += python-gdsii SUBDIR += pythoncad SUBDIR += qcad SUBDIR += qelectrotech SUBDIR += qfsm SUBDIR += qmls SUBDIR += qucs SUBDIR += repsnapper SUBDIR += rubygem-gdsii SUBDIR += scotch SUBDIR += solvespace SUBDIR += sp2sp SUBDIR += spice SUBDIR += stepcode SUBDIR += sumo SUBDIR += sweethome3d SUBDIR += tkgate SUBDIR += tochnog SUBDIR += transcalc SUBDIR += varkon SUBDIR += verilog-mode.el SUBDIR += xcircuit SUBDIR += z88 SUBDIR += zcad .include Index: head/cad/k40-whisperer/Makefile =================================================================== --- head/cad/k40-whisperer/Makefile (nonexistent) +++ head/cad/k40-whisperer/Makefile (revision 480119) @@ -0,0 +1,67 @@ +# $FreeBSD$ + +PORTNAME= k40-whisperer +DISTVERSION= 0.19 +CATEGORIES= cad python +MASTER_SITES= http://www.scorchworks.com/K40whisperer/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= K40_Whisperer-${DISTVERSION}_src + +MAINTAINER= 0mp@FreeBSD.org +COMMENT= GUI control software for the stock K40 laser cutter controller + +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/gpl-3.0.txt + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}usb>0:devel/py-usb@${PY_FLAVOR} + +USES= python:2.7 zip + +OPTIONS_DEFINE= DOCS + +NO_BUILD= yes + +WHISPERER_COMMAND= ${PORTNAME} +SUB_FILES= pkg-message ${WHISPERER_COMMAND} +SUB_LIST= PYTHON_CMD=${PYTHON_CMD} WHISPERER_COMMAND=${WHISPERER_COMMAND} +PLIST_SUB= WHISPERER_COMMAND=${WHISPERER_COMMAND} + +DATA= bezmisc.py \ + CC.png \ + cspsubdiv.py \ + cubicsuperpath.py \ + down.png \ + dxf.py \ + egv.py \ + emblem64 \ + ffgeom.py \ + g_code_library.py \ + inkex.py \ + interpolate.py \ + k40_whisperer.py \ + left.png \ + LL.png \ + LR.png \ + nano_library.py \ + right.png \ + simplepath.py \ + simplestyle.py \ + simpletransform.py \ + svg_reader.py \ + UL.png \ + up.png \ + UR.png + +DOCS= README_Linux.txt \ + README_MacOS.md + +do-install: + ${INSTALL_SCRIPT} ${WRKDIR}/${WHISPERER_COMMAND} ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${DATA:S,^,${WRKSRC}/,} ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} + +.include Property changes on: head/cad/k40-whisperer/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/cad/k40-whisperer/distinfo =================================================================== --- head/cad/k40-whisperer/distinfo (nonexistent) +++ head/cad/k40-whisperer/distinfo (revision 480119) @@ -0,0 +1,3 @@ +TIMESTAMP = 1527085070 +SHA256 (K40_Whisperer-0.19_src.zip) = c688cf1746aa391b6a9d4cfb3e66c2f183d1f45da88a2770e8ddefac44349193 +SIZE (K40_Whisperer-0.19_src.zip) = 121328 Property changes on: head/cad/k40-whisperer/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/cad/k40-whisperer/files/k40-whisperer.in =================================================================== --- head/cad/k40-whisperer/files/k40-whisperer.in (nonexistent) +++ head/cad/k40-whisperer/files/k40-whisperer.in (revision 480119) @@ -0,0 +1,5 @@ +#! /bin/sh - +# +# $FreeBSD$ + +exec %%PYTHON_CMD%% %%DATADIR%%/k40_whisperer.py Property changes on: head/cad/k40-whisperer/files/k40-whisperer.in ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/cad/k40-whisperer/files/pkg-message.in =================================================================== --- head/cad/k40-whisperer/files/pkg-message.in (nonexistent) +++ head/cad/k40-whisperer/files/pkg-message.in (revision 480119) @@ -0,0 +1,5 @@ +At the moment K40 Whisperer has to be run as root unless devd(8) is properly +configured. Some notes on how it is handled on macOS and Linux can be +found in %%DATADIR%%. + +K40 Whisperer can be launched with a `%%WHISPERER_COMMAND%%` command. Property changes on: head/cad/k40-whisperer/files/pkg-message.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/cad/k40-whisperer/pkg-descr =================================================================== --- head/cad/k40-whisperer/pkg-descr (nonexistent) +++ head/cad/k40-whisperer/pkg-descr (revision 480119) @@ -0,0 +1,21 @@ +K40 Whisperer is an alternative to the Laser Draw (LaserDRW) program that comes +with some Chinese laser cutters. It reads SVG and DXF files, interprets the +data and sends commands to the K40 controller to move the laser head and +control the laser accordingly. K40 Whisperer does not require a USB key +(dongle) to function. + +Features: +- Reads SVG files and DXF files. +- Splits input design based on color formatting (red, blue). +- In SVG files blue and red paths are interpreted as vectors for vector + engraving and cutting. Everything else is transferred as a raster image. +- In DXF files blue paths are interpreted as vector engrave (blue). + Everything else is interpreted as vector cut (red). +- Performs cuts on features inside of other features before cutting the outside + features. (If you cut the outside first the part might drop out of the stock + material.) +- Converts gray scale images to halftone images to simulating varying levels of + gray (i.e. engraving pictures). The Halftone option needs to be selected + under "Raster"-"Settings" to enable halftoning. + +WWW: http://www.scorchworks.com/K40whisperer/k40whisperer.html Property changes on: head/cad/k40-whisperer/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/cad/k40-whisperer/pkg-plist =================================================================== --- head/cad/k40-whisperer/pkg-plist (nonexistent) +++ head/cad/k40-whisperer/pkg-plist (revision 480119) @@ -0,0 +1,28 @@ +bin/%%WHISPERER_COMMAND%% +%%PORTDOCS%%%%DOCSDIR%%/README_Linux.txt +%%PORTDOCS%%%%DOCSDIR%%/README_MacOS.md +%%DATADIR%%/CC.png +%%DATADIR%%/LL.png +%%DATADIR%%/LR.png +%%DATADIR%%/UL.png +%%DATADIR%%/UR.png +%%DATADIR%%/bezmisc.py +%%DATADIR%%/cspsubdiv.py +%%DATADIR%%/cubicsuperpath.py +%%DATADIR%%/down.png +%%DATADIR%%/dxf.py +%%DATADIR%%/egv.py +%%DATADIR%%/emblem64 +%%DATADIR%%/ffgeom.py +%%DATADIR%%/g_code_library.py +%%DATADIR%%/inkex.py +%%DATADIR%%/interpolate.py +%%DATADIR%%/k40_whisperer.py +%%DATADIR%%/left.png +%%DATADIR%%/nano_library.py +%%DATADIR%%/right.png +%%DATADIR%%/simplepath.py +%%DATADIR%%/simplestyle.py +%%DATADIR%%/simpletransform.py +%%DATADIR%%/svg_reader.py +%%DATADIR%%/up.png Property changes on: head/cad/k40-whisperer/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property