Created attachment 174042 [details] libopencad port Libopencad is a MIT library for support DWG cad files. It will be a dependency for GDAL DWG driver. It was started as a SoC. See also: https://trac.osgeo.org/gdal/wiki/DWG_driver https://github.com/sandyre/libopencad https://gsoc2016gdaldwg.blogspot.fr/
Please confirm this port passes QA (at least portlint, poudriere). For more information and instructions see: https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/testing.html A shorter COMMENT may also be warranted, perhaps: "Library to work with CAD (DWG/DXF/DXFB) files"
Created attachment 174118 [details] libopencad port New port. Portlint -Nabt: ok Poudriere 10, 11, 12 amd64 OK Poudriere 10, 11, 12 i386 doesn't compile see my comment and then opened issue (https://github.com/sandyre/libopencad/issues/30).
It looks like issue was already fixed, could you try to compile libopencad again?
Created attachment 175039 [details] libopencad remove i386 restriction
Committed with minor changes: - Add LICENSE_FILE - Fix compiler requirement - Mark BROKEN on FreeBSD 9 - Reformat pkg-descr in more readable way
A commit references this bug: Author: amdmi3 Date: Mon Dec 26 14:29:07 UTC 2016 New revision: 429524 URL: https://svnweb.freebsd.org/changeset/ports/429524 Log: Libopencad is a library written in C++11, which provides a way to read/write CAD (DWG/DXF/DXFB) files. It was designed to have a uniformal API to work with any CAD files. It has a base class - CADFile. Inheriting this class it's possible to create a driver for any CAD format, all you need to do - is to overwrite interface functions like GetGeometry(index), and others. Now it has an implementation for DWG2000 (R15), but only for read. Library comes with cadinfo utility, which prints out everything library can get from file - header variables, CAD custom classes, presented layers and geometries with their attributes. WWW: https://trac.osgeo.org/gdal/wiki/DWG_driver PR: 212129 Submitted by: lbartoletti@tuxfamily.org Changes: head/cad/Makefile head/cad/libopencad/ head/cad/libopencad/Makefile head/cad/libopencad/distinfo head/cad/libopencad/files/ head/cad/libopencad/files/patch-lib_cadheader.cpp head/cad/libopencad/files/patch-lib_cadheader.h head/cad/libopencad/files/patch-tests_CMakeLists.txt head/cad/libopencad/pkg-descr head/cad/libopencad/pkg-plist
There are many improvement happened in libopencad last month. Previously used repository (https://github.com/sandyre/libopencad) is not relevant now, all further development will be in https://github.com/nextgis-borsch/lib_opencad repository. Please take it into account.