aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2016-01-30 01:55:26 +0800
committertrasz <trasz@FreeBSD.org>2016-01-30 01:55:26 +0800
commit597248623a978f27a0a45b45ab77c577d454515f (patch)
tree15ec8affcc200d51b22e008c830ec88393ead108 /cad
parent1b9dab432c8eb007e7084a096d2dc1101882a3d3 (diff)
downloadfreebsd-ports-gnome-597248623a978f27a0a45b45ab77c577d454515f.tar.gz
freebsd-ports-gnome-597248623a978f27a0a45b45ab77c577d454515f.tar.zst
freebsd-ports-gnome-597248623a978f27a0a45b45ab77c577d454515f.zip
brickM is a toolpath generator for 3-axis CNC machining. It loads
3D models in STL format or 2D contour models from DXF or SVG files. The resulting GCode can be used with EMC2 or any other machine controller. PyCAM supports a wide range of toolpath strategies for 3D models and 2D contour models. WWW: http://pycam.sourceforge.net/ Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'cad')
-rw-r--r--cad/Makefile1
-rw-r--r--cad/pycam/Makefile21
-rw-r--r--cad/pycam/distinfo2
-rw-r--r--cad/pycam/files/patch-setup.cfg10
-rw-r--r--cad/pycam/pkg-descr9
-rw-r--r--cad/pycam/pkg-plist1
6 files changed, 44 insertions, 0 deletions
diff --git a/cad/Makefile b/cad/Makefile
index 38ab2033e204..084e20cda4a8 100644
--- a/cad/Makefile
+++ b/cad/Makefile
@@ -61,6 +61,7 @@
SUBDIR += p5-Verilog-Perl
SUBDIR += pcb
SUBDIR += pdnmesh
+ SUBDIR += pycam
SUBDIR += pythoncad
SUBDIR += qcad
SUBDIR += qcad-partslib
diff --git a/cad/pycam/Makefile b/cad/pycam/Makefile
new file mode 100644
index 000000000000..28b0b6540741
--- /dev/null
+++ b/cad/pycam/Makefile
@@ -0,0 +1,21 @@
+# Created by: Edward Tomasz Napierala <trasz@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= pycam
+PORTVERSION= 0.5.1
+CATEGORIES= cad python
+MASTER_SITES= SOURCEFORGE/pycam/${PORTNAME}/${PORTVERSION}
+
+MAINTAINER= trasz@FreeBSD.org
+COMMENT= Toolpath generator for 3-axis CNC machining
+
+LICENSE= GPLv3
+
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk2 \
+ ${PYTHON_SITELIBDIR}/OpenGL/__init__.py:${PORTSDIR}/graphics/py-opengl \
+ ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/gdkgl/__init__.py:${PORTSDIR}/x11-toolkits/py-gtkglext
+
+USES= python
+USE_PYTHON= distutils autoplist
+
+.include <bsd.port.mk>
diff --git a/cad/pycam/distinfo b/cad/pycam/distinfo
new file mode 100644
index 000000000000..371cc13a291c
--- /dev/null
+++ b/cad/pycam/distinfo
@@ -0,0 +1,2 @@
+SHA256 (pycam-0.5.1.tar.gz) = e26a6db82efa4761a1db6b81de3165898430d5c14d09614b67321105d67e264c
+SIZE (pycam-0.5.1.tar.gz) = 1680577
diff --git a/cad/pycam/files/patch-setup.cfg b/cad/pycam/files/patch-setup.cfg
new file mode 100644
index 000000000000..d19ed2da16f9
--- /dev/null
+++ b/cad/pycam/files/patch-setup.cfg
@@ -0,0 +1,10 @@
+--- setup.cfg.orig 2016-01-28 13:08:25.505821000 +0100
++++ setup.cfg 2016-01-28 13:08:29.908308000 +0100
+@@ -1,7 +1,3 @@
+-[bdist_wininst]
+-install_script = pycam_win32_postinstall.py
+-bitmap = share/ui/logo_gui_vertical.bmp
+-
+ [bdist_msi]
+ install_script = pycam_win32_postinstall.py
+
diff --git a/cad/pycam/pkg-descr b/cad/pycam/pkg-descr
new file mode 100644
index 000000000000..998677037173
--- /dev/null
+++ b/cad/pycam/pkg-descr
@@ -0,0 +1,9 @@
+PyCAM is a toolpath generator for 3-axis CNC machining. It loads
+3D models in STL format or 2D contour models from DXF or SVG files.
+The resulting GCode can be used with EMC2 or any other machine
+controller.
+
+PyCAM supports a wide range of toolpath strategies for 3D models
+and 2D contour models.
+
+WWW: http://pycam.sourceforge.net/
diff --git a/cad/pycam/pkg-plist b/cad/pycam/pkg-plist
new file mode 100644
index 000000000000..8fb5cc4556d5
--- /dev/null
+++ b/cad/pycam/pkg-plist
@@ -0,0 +1 @@
+@comment $FreeBSD$