[149353] trunk/dports/science/openscad/Portfile
dstrubbe at macports.org
dstrubbe at macports.org
Tue Jun 14 08:27:15 PDT 2016
Revision: 149353
https://trac.macports.org/changeset/149353
Author: dstrubbe at macports.org
Date: 2016-06-14 08:27:15 -0700 (Tue, 14 Jun 2016)
Log Message:
-----------
openscad: Fix description. Enable test phase, though it has big problems.
Modified Paths:
--------------
trunk/dports/science/openscad/Portfile
Modified: trunk/dports/science/openscad/Portfile
===================================================================
--- trunk/dports/science/openscad/Portfile 2016-06-14 14:41:03 UTC (rev 149352)
+++ trunk/dports/science/openscad/Portfile 2016-06-14 15:27:15 UTC (rev 149353)
@@ -26,7 +26,7 @@
or make designes that are defined by configurable parameters. \
OpenSCAD provides two main modelling techniques: First there is \
constructive solid geometry (aka CSG) and second there is extrusion \
- of 2D outlines. As data exchange format format for this 2D outlines \
+ of 2D outlines. As data exchange format for this 2D outlines \
Autocad DXF files are used. In addition to 2D paths for extrusion \
it is also possible to read design parameters from DXF files. Besides \
DXF files OpenSCAD can read and create 3D models in the STL and OFF \
@@ -98,7 +98,19 @@
file delete ${destroot}${prefix}/share/pixmaps/openscad.png
}
-# test: cmake in tests directory; make test.
+# need cmake dependency, and to set DYLD_LIBRARY_PATH
+# First 194 passed, remaining 1016 failed, with Error: openscad_nogui failed with return code -11
+# Advice from link below did not help unfortunately.
+# https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Building_on_Linux/UNIX#Test_suite_problems
+test.run yes
+pre-test {
+ set worksrcdir ${worksrcdir}/tests
+}
+test {
+ system -W ${worksrcpath} "cmake . -DCOMPARATOR=ncc"
+ system -W ${worksrcpath} "make -j"
+ system -W ${worksrcpath} "${prefix}/bin/ctest -C All"
+}
livecheck.type regex
livecheck.url [lindex ${master_sites} 0]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160614/e30c2826/attachment-0001.html>
More information about the macports-changes
mailing list