Port details |
- libopencad Library which provides a way to read/write CAD (DWG/DXF/DXFB) files
- 0.2.0_5 cad
=2 0.2.0_5Version of this port present on the latest quarterly branch. - Maintainer: lbartoletti@FreeBSD.org
 - Port Added: 2016-12-26 14:29:15
- Last Update: 2023-03-13 00:02:41
- Commit Hash: f91e6f9
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: geography graphics
- License: MIT
- WWW:
- https://trac.osgeo.org/gdal/wiki/DWG_driver
- Description:
- 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.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- libopencad>0:cad/libopencad
- To install the port:
- cd /usr/ports/cad/libopencad/ && make install clean
- To add the package, run one of these commands:
- pkg install cad/libopencad
- pkg install libopencad
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: libopencad
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1472070376
SHA256 (sandyre-libopencad-0.2.0_GH0.tar.gz) = 181a33fd8bc6046366c9d5d3a22590817d8f4ab7b87efdeac9fecdc34fe94019
SIZE (sandyre-libopencad-0.2.0_GH0.tar.gz) = 4245877
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- cmake : devel/cmake-core
- ninja : devel/ninja
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- cad_libopencad
- USES:
- cmake cpe compiler:c++11-lib
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 17
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.2.0_5 13 Mar 2023 00:02:41
    |
Piotr Kubaj (pkubaj)  |
cad/libopencad: fix build on armv? / powerpc
/wrkdirs/usr/ports/cad/libopencad/work/libopencad-0.2.0/lib/cadheader.cpp:478:28:
error: ambiguous conversion for functional-style cast from 'time_t' (aka 'long
long') to 'CADVariant'
return addValue( code, CADVariant( fullSeconds ) );
^~~~~~~~~~~~~~~~~~~~~~~ |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.2.0_5 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.2.0_5 20 Jul 2022 14:20:58
    |
Tobias C. Berner (tcberner)  |
cad: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* AMAKAWA Shuhei <amakawa@jp.FreeBSD.org>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Anders Andersson <anders@hack.org>
* Bruce M Simpson <bms@FreeBSD.org>
* Christoph Moench-Tegeder <cmt@FreeBSD.org>
* David Yeske <dyeske@gmail.com>
* Diane Bruce <db@db.net>
* Joachim Strombergson <watchman@ludd.ltu.se>
* Johnny Sorocil <jsorocil@gmail.com>
* Julian Jenkins <kaveman@magna.com.au>
* Marc Fonvieille <blackend@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
0.2.0_5 14 Oct 2021 10:31:57
    |
Stefan Eßer (se)  |
cad/libopencad: Add CPE information
Approved by: portmgr (blanket) |
0.2.0_5 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.2.0_5 14 Jan 2020 21:45:15
  |
lbartoletti  |
Change my mail address to lbartoletti@FreeBSD.org
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D23169 |
0.2.0_5 26 Jul 2019 20:46:57
  |
gerald  |
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330 |
0.2.0_4 12 Dec 2018 01:35:36
  |
gerald  |
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590 |
0.2.0_3 29 Jul 2018 22:18:46
  |
gerald  |
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.
This includes ports
- featuring USE_GCC=yes or USE_GCC=any,
- featuring USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and those
- with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.
PR: 222542 |
0.2.0_2 12 Dec 2017 04:35:49
  |
jbeich  |
Re-try ports affected by bug 193528 on powerpc* after r449590 |
0.2.0_2 30 Nov 2017 06:13:35
  |
linimon  |
For ports that are marked BROKEN on armv6, and also fail to build on
armv7, mark them so.
This is part two of a multipart commit to bring armv7 ports to parity
with armv6.
Approved by: portmgr (tier-2 blanket)
Obtained from: lonesome.com -exp run |
0.2.0_2 10 Sep 2017 20:55:39
  |
gerald  |
Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
c++14-lang, c++0x, c11, or gcc-c++11-lib.
PR: 219275 |
0.2.0_1 21 May 2017 21:55:08
  |
linimon  |
Mark some ports failing on power64. In cases where the error message
was a stub, provide a real one.
While here, pet portlint.
Approved by: portmgr (tier-2 blanket)
Reported by: swills |
0.2.0_1 01 Apr 2017 15:23:32
  |
gerald  |
Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using using Mk/bsd.octave.mk which in turn has USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
c++11-lang, c++0x, c11, or gcc-c++11-lib.
PR: 216707 |
0.2.0 01 Jan 2017 03:45:13
  |
sunpoet  |
Remove BROKEN_FreeBSD_9
Approved by: portmgr (blanket) |
0.2.0 26 Dec 2016 14:29:06
  |
amdmi3  |
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 |
Number of commits found: 17
|