diff options
author | mr <mr@FreeBSD.org> | 2018-04-23 02:14:40 +0800 |
---|---|---|
committer | mr <mr@FreeBSD.org> | 2018-04-23 02:14:40 +0800 |
commit | b73d3c140ffb5309605ae3eb3fd34c227dd02300 (patch) | |
tree | 8c42f1c361a99d4ee8fa25caeb6de17b3448217a | |
parent | 12420cfccff2d26c8c4045ace2ce14dbbf6c1217 (diff) | |
download | freebsd-ports-gnome-b73d3c140ffb5309605ae3eb3fd34c227dd02300.tar.gz freebsd-ports-gnome-b73d3c140ffb5309605ae3eb3fd34c227dd02300.tar.zst freebsd-ports-gnome-b73d3c140ffb5309605ae3eb3fd34c227dd02300.zip |
Add openscad-devel as of 2018.04.19
PR: 227581
-rw-r--r-- | cad/openscad-devel/Makefile | 55 | ||||
-rw-r--r-- | cad/openscad-devel/distinfo | 3 | ||||
-rw-r--r-- | cad/openscad-devel/files/patch-openscad.pro | 11 | ||||
-rw-r--r-- | cad/openscad-devel/files/patch-src-ModuleCache.h | 8 | ||||
-rw-r--r-- | cad/openscad-devel/pkg-descr | 15 | ||||
-rw-r--r-- | cad/openscad-devel/pkg-plist | 110 |
6 files changed, 202 insertions, 0 deletions
diff --git a/cad/openscad-devel/Makefile b/cad/openscad-devel/Makefile new file mode 100644 index 000000000000..1cd472c9afbe --- /dev/null +++ b/cad/openscad-devel/Makefile @@ -0,0 +1,55 @@ +# Created by: Michael Reifenberger <mr@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= openscad +PORTVERSION= 2018.04.19 +#PORTREVISION= 1 +CATEGORIES= cad +PKGNAMESUFFIX= -devel +DIST_SUBDIR= ${PORTNAME} + +MAINTAINER= mr@FreeBSD.org +COMMENT= Programmer's solid 3D CAD modeller + +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex \ + ${LOCALBASE}/include/boost/tuple/tuple.hpp:devel/boost-libs +LIB_DEPENDS= libgmp.so:math/gmp \ + libmpfr.so:math/mpfr \ + libCGAL.so:math/cgal \ + libqscintilla2_qt4.so:devel/qscintilla2 \ + libharfbuzz.so:print/harfbuzz \ + libopencsg.so:graphics/opencsg \ + libzip.so:archivers/libzip + +CONFLICTS= openscad + +USE_GITHUB= yes +GH_ACCOUNT= openscad +GH_PROJECT= openscad +GH_TAGNAME= 179074dff8c23cbc0e651ce8463737df0006f4ca + +USES= bison compiler:c++11-lang desktop-file-utils eigen:3 gettext-tools \ + pkgconfig python:run qmake shebangfix +#SHEBANG_FILES= libraries/MCAD/get_submodules.py +USE_GL= glu glew +USE_QT4= corelib gui opengl moc_build uic_build rcc_build +PLIST_SUB= PORTVERSION=${PORTVERSION} +QMAKE_ENV= EIGENDIR=${LOCALBASE}/include/eigen3 +QMAKE_ARGS+= VERSION=${PORTVERSION} \ + QMAKE_LEX=${LOCALBASE}/bin/flex \ + QMAKE_YAC=${LOCALBASE}/bin/bison + +post-patch: + @${REINPLACE_CMD} -e 's,share/man,man,' \ + ${WRKSRC}/openscad.pro + +#.include <bsd.port.options.mk> +# +#.if ${ARCH} == i386 && ${OSVERSION} >= 1100000 +#USE_GCC= yes +#.endif + +.include <bsd.port.mk> diff --git a/cad/openscad-devel/distinfo b/cad/openscad-devel/distinfo new file mode 100644 index 000000000000..f81cd85cee63 --- /dev/null +++ b/cad/openscad-devel/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1524416781 +SHA256 (openscad/openscad-openscad-2018.04.19-179074dff8c23cbc0e651ce8463737df0006f4ca_GH0.tar.gz) = 6ca736909959d72eba21a1d421fc215742d26dad5b70dabe72b37e29e025088a +SIZE (openscad/openscad-openscad-2018.04.19-179074dff8c23cbc0e651ce8463737df0006f4ca_GH0.tar.gz) = 13915669 diff --git a/cad/openscad-devel/files/patch-openscad.pro b/cad/openscad-devel/files/patch-openscad.pro new file mode 100644 index 000000000000..7412623be912 --- /dev/null +++ b/cad/openscad-devel/files/patch-openscad.pro @@ -0,0 +1,11 @@ +--- openscad.pro.orig 2018-04-22 17:21:31.278695000 +0000 ++++ openscad.pro 2018-04-22 17:21:39.335408000 +0000 +@@ -106,4 +106,8 @@ + QT += widgets concurrent + ++freebsd* { ++ LIBS += -lcompat ++} ++ + netbsd* { + QMAKE_LFLAGS += -L/usr/X11R7/lib diff --git a/cad/openscad-devel/files/patch-src-ModuleCache.h b/cad/openscad-devel/files/patch-src-ModuleCache.h new file mode 100644 index 000000000000..2c077446f02e --- /dev/null +++ b/cad/openscad-devel/files/patch-src-ModuleCache.h @@ -0,0 +1,8 @@ +--- src/ModuleCache.h.orig 2018-04-22 17:10:59.553926000 +0000 ++++ src/ModuleCache.h 2018-04-22 17:11:26.751065000 +0000 +@@ -2,4 +2,5 @@ + + #include <string> ++#include <time.h> + #include <unordered_map> + diff --git a/cad/openscad-devel/pkg-descr b/cad/openscad-devel/pkg-descr new file mode 100644 index 000000000000..c1c1110ddafa --- /dev/null +++ b/cad/openscad-devel/pkg-descr @@ -0,0 +1,15 @@ +OpenSCAD is a software for creating 3D CAD objects. + +Unlike most free software for creating 3D models, it does not focus on +the artistic aspects of 3D modelling but instead on the CAD aspects. +Thus it is more suitable for creating 3D models of machine parts but +perhaps not when creating computer-animated movies. + +OpenSCAD is not an interactive modeller. Instead it is something like +a 3D-compiler that reads in a script file that describes the object +and renders the 3D model from this script file. This gives designers +full control over the modelling process and enables them to easily +change any step in the modelling process or make designes that are +defined by configurable parameters. + +WWW: http://www.openscad.org/ diff --git a/cad/openscad-devel/pkg-plist b/cad/openscad-devel/pkg-plist new file mode 100644 index 000000000000..85da8269b612 --- /dev/null +++ b/cad/openscad-devel/pkg-plist @@ -0,0 +1,110 @@ +bin/openscad +man/man1/openscad.1.gz +share/appdata/openscad.appdata.xml +share/applications/openscad.desktop +share/mime/packages/openscad.xml +%%DATADIR%%/color-schemes/editor/dark-background.json +%%DATADIR%%/color-schemes/editor/light-background.json +%%DATADIR%%/color-schemes/editor/monokai.json +%%DATADIR%%/color-schemes/editor/solarized-dark.json +%%DATADIR%%/color-schemes/editor/solarized-light.json +%%DATADIR%%/color-schemes/editor/tomorrow-night.json +%%DATADIR%%/color-schemes/editor/tomorrow.json +%%DATADIR%%/color-schemes/editor/visualstudio.json +%%DATADIR%%/color-schemes/readme.txt +%%DATADIR%%/color-schemes/render/beforedawn.json +%%DATADIR%%/color-schemes/render/deepocean.json +%%DATADIR%%/color-schemes/render/metallic.json +%%DATADIR%%/color-schemes/render/monotone.json +%%DATADIR%%/color-schemes/render/nature.json +%%DATADIR%%/color-schemes/render/solarized.json +%%DATADIR%%/color-schemes/render/starnight.json +%%DATADIR%%/color-schemes/render/sunset.json +%%DATADIR%%/color-schemes/render/tomorrow-night.json +%%DATADIR%%/color-schemes/render/tomorrow.json +%%DATADIR%%/examples/Advanced/GEB.scad +%%DATADIR%%/examples/Advanced/animation.scad +%%DATADIR%%/examples/Advanced/children.scad +%%DATADIR%%/examples/Advanced/children_indexed.scad +%%DATADIR%%/examples/Advanced/module_recursion.scad +%%DATADIR%%/examples/Advanced/offset.scad +%%DATADIR%%/examples/Advanced/surface_image.png +%%DATADIR%%/examples/Advanced/surface_image.scad +%%DATADIR%%/examples/Basics/CSG-modules.scad +%%DATADIR%%/examples/Basics/CSG.scad +%%DATADIR%%/examples/Basics/LetterBlock.scad +%%DATADIR%%/examples/Basics/linear_extrude.scad +%%DATADIR%%/examples/Basics/logo.scad +%%DATADIR%%/examples/Basics/logo_and_text.scad +%%DATADIR%%/examples/Basics/projection.scad +%%DATADIR%%/examples/Basics/projection.stl +%%DATADIR%%/examples/Basics/rotate_extrude.scad +%%DATADIR%%/examples/Basics/text_on_cube.scad +%%DATADIR%%/examples/COPYING-CC0.txt +%%DATADIR%%/examples/Functions/functions.scad +%%DATADIR%%/examples/Functions/list_comprehensions.scad +%%DATADIR%%/examples/Functions/polygon_areas.scad +%%DATADIR%%/examples/Functions/recursion.scad +%%DATADIR%%/examples/Old/example001.scad +%%DATADIR%%/examples/Old/example002.scad +%%DATADIR%%/examples/Old/example003.scad +%%DATADIR%%/examples/Old/example004.scad +%%DATADIR%%/examples/Old/example005.scad +%%DATADIR%%/examples/Old/example006.scad +%%DATADIR%%/examples/Old/example007.dxf +%%DATADIR%%/examples/Old/example007.scad +%%DATADIR%%/examples/Old/example008.dxf +%%DATADIR%%/examples/Old/example008.scad +%%DATADIR%%/examples/Old/example009.dxf +%%DATADIR%%/examples/Old/example009.scad +%%DATADIR%%/examples/Old/example010.dat +%%DATADIR%%/examples/Old/example010.scad +%%DATADIR%%/examples/Old/example011.scad +%%DATADIR%%/examples/Old/example012.scad +%%DATADIR%%/examples/Old/example012.stl +%%DATADIR%%/examples/Old/example013.dxf +%%DATADIR%%/examples/Old/example013.scad +%%DATADIR%%/examples/Old/example014.scad +%%DATADIR%%/examples/Old/example015.scad +%%DATADIR%%/examples/Old/example016.scad +%%DATADIR%%/examples/Old/example016.stl +%%DATADIR%%/examples/Old/example017.scad +%%DATADIR%%/examples/Old/example018.scad +%%DATADIR%%/examples/Old/example019.scad +%%DATADIR%%/examples/Old/example020.scad +%%DATADIR%%/examples/Old/example021.scad +%%DATADIR%%/examples/Old/example022.scad +%%DATADIR%%/examples/Old/example023.scad +%%DATADIR%%/examples/Old/example024.scad +%%DATADIR%%/examples/Parametric/candleStand.json +%%DATADIR%%/examples/Parametric/candleStand.scad +%%DATADIR%%/examples/Parametric/sign.json +%%DATADIR%%/examples/Parametric/sign.scad +%%DATADIR%%/examples/examples.json +%%DATADIR%%/fonts/05-osx-fonts.conf +%%DATADIR%%/fonts/10-liberation.conf +%%DATADIR%%/fonts/Liberation-2.00.1/AUTHORS +%%DATADIR%%/fonts/Liberation-2.00.1/ChangeLog +%%DATADIR%%/fonts/Liberation-2.00.1/LICENSE +%%DATADIR%%/fonts/Liberation-2.00.1/README +%%DATADIR%%/fonts/Liberation-2.00.1/TODO +%%DATADIR%%/fonts/Liberation-2.00.1/ttf/LiberationMono-Bold.ttf +%%DATADIR%%/fonts/Liberation-2.00.1/ttf/LiberationMono-BoldItalic.ttf +%%DATADIR%%/fonts/Liberation-2.00.1/ttf/LiberationMono-Italic.ttf +%%DATADIR%%/fonts/Liberation-2.00.1/ttf/LiberationMono-Regular.ttf +%%DATADIR%%/fonts/Liberation-2.00.1/ttf/LiberationSans-Bold.ttf +%%DATADIR%%/fonts/Liberation-2.00.1/ttf/LiberationSans-BoldItalic.ttf +%%DATADIR%%/fonts/Liberation-2.00.1/ttf/LiberationSans-Italic.ttf +%%DATADIR%%/fonts/Liberation-2.00.1/ttf/LiberationSans-Regular.ttf +%%DATADIR%%/fonts/Liberation-2.00.1/ttf/LiberationSerif-Bold.ttf +%%DATADIR%%/fonts/Liberation-2.00.1/ttf/LiberationSerif-BoldItalic.ttf +%%DATADIR%%/fonts/Liberation-2.00.1/ttf/LiberationSerif-Italic.ttf +%%DATADIR%%/fonts/Liberation-2.00.1/ttf/LiberationSerif-Regular.ttf +%%DATADIR%%/locale/cs/LC_MESSAGES/openscad.mo +%%DATADIR%%/locale/de/LC_MESSAGES/openscad.mo +%%DATADIR%%/locale/es/LC_MESSAGES/openscad.mo +%%DATADIR%%/locale/fr/LC_MESSAGES/openscad.mo +%%DATADIR%%/locale/pl/LC_MESSAGES/openscad.mo +%%DATADIR%%/locale/ru/LC_MESSAGES/openscad.mo +share/pixmaps/openscad.png +@dir %%DATADIR%%/libraries/MCAD |