# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # libopencad # libopencad/Makefile # libopencad/distinfo # libopencad/pkg-descr # libopencad/files # libopencad/files/patch-tests_CMakeLists.txt # libopencad/files/patch-lib_cadheader.h # libopencad/pkg-plist # echo c - libopencad mkdir -p libopencad > /dev/null 2>&1 echo x - libopencad/Makefile sed 's/^X//' >libopencad/Makefile << '9676bf9287115fe5b2f90415f21b97cd' X# Created by: lbartoletti X# $FreeBSD$ X XPORTNAME= libopencad XDISTVERSION= 0.2.0 XCATEGORIES= cad graphics geography X XMAINTAINER= lbartoletti@tuxfamily.org XCOMMENT= Library which provides a way to read/write CAD (DWG/DXF/DXFB) files X XLICENSE= MIT X XUSE_GITHUB= yes XGH_ACCOUNT= sandyre X XUSES= cmake compiler:c++11-lang XUSE_LDCONFIG= yes X X.include X# Since CADHeader contain 2 CADVariant's constructor (CADVariant(time_t) and CADVariant(int) X# and time_t is a typedef of int on i386 XNOT_FOR_ARCHS= i386 X X.include 9676bf9287115fe5b2f90415f21b97cd echo x - libopencad/distinfo sed 's/^X//' >libopencad/distinfo << '36d89127fcaa56a4f8f424c741405dcb' XTIMESTAMP = 1472070376 XSHA256 (sandyre-libopencad-0.2.0_GH0.tar.gz) = 181a33fd8bc6046366c9d5d3a22590817d8f4ab7b87efdeac9fecdc34fe94019 XSIZE (sandyre-libopencad-0.2.0_GH0.tar.gz) = 4245877 36d89127fcaa56a4f8f424c741405dcb echo x - libopencad/pkg-descr sed 's/^X//' >libopencad/pkg-descr << '09ebab6e2d91345155845b3bfe503bf3' XLibopencad is a library written in C++11, which provides a way to read/write X CAD (DWG/DXF/DXFB) files. It was designed to have a uniformal API X to work with any CAD files. XIt has a base class - CADFile. XInheriting this class it's possible to create a driver for any CAD format, X all you need to do - is to overwrite interface functions like X GetGeometry(index), and others. XNow it has an implementation for DWG2000 (R15), but only for read. XLibrary comes with cadinfo utility, which prints out everything library can get X from file - header variables, CAD custom classes, presented layers and X geometries with their attributes. X XWWW: https://trac.osgeo.org/gdal/wiki/DWG_driver 09ebab6e2d91345155845b3bfe503bf3 echo c - libopencad/files mkdir -p libopencad/files > /dev/null 2>&1 echo x - libopencad/files/patch-tests_CMakeLists.txt sed 's/^X//' >libopencad/files/patch-tests_CMakeLists.txt << '687b7e7a99ebaee71e93854c8885890a' X--- tests/CMakeLists.txt.orig 2016-08-24 13:25:41 UTC X+++ tests/CMakeLists.txt X@@ -41,10 +41,8 @@ if(BUILD_TESTS) X X X find_package(Threads) X- set(TARGET_LINK_LIB ${TARGET_LINK_LIB} ${CMAKE_THREAD_LIBS_INIT} ${TARGET_LINK}) X+ set(TARGET_LINK_LIB ${TARGET_LINK_LIB} ${CMAKE_THREAD_LIBS_INIT} ${CMAKE_DL_LIBS} ${TARGET_LINK}) X X- find_library(DL_LIB dl) X- set(TARGET_LINK_LIB ${TARGET_LINK_LIB} ${DL_LIB}) X find_library(M_LIB m) X set(TARGET_LINK_LIB ${TARGET_LINK_LIB} ${M_LIB}) X 687b7e7a99ebaee71e93854c8885890a echo x - libopencad/files/patch-lib_cadheader.h sed 's/^X//' >libopencad/files/patch-lib_cadheader.h << '50becd9d36c7e01820945242e9653546' X--- lib/cadheader.h.orig 2016-08-24 13:25:41 UTC X+++ lib/cadheader.h X@@ -35,6 +35,7 @@ X #include X #include X #include X+#include X X class OCAD_EXTERN CADHandle final X { 50becd9d36c7e01820945242e9653546 echo x - libopencad/pkg-plist sed 's/^X//' >libopencad/pkg-plist << '7dbb95f6108dcae3dfb471d01b5fa0da' Xbin/cadinfo Xinclude/opencad/cadclasses.h Xinclude/opencad/cadcolors.h Xinclude/opencad/caddictionary.h Xinclude/opencad/cadfile.h Xinclude/opencad/cadfileio.h Xinclude/opencad/cadgeometry.h Xinclude/opencad/cadheader.h Xinclude/opencad/cadlayer.h Xinclude/opencad/cadobjects.h Xinclude/opencad/cadtables.h Xinclude/opencad/opencad.h Xinclude/opencad/opencad_api.h Xlib/libopencadstatic.a 7dbb95f6108dcae3dfb471d01b5fa0da exit