notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
libopencad Library which provides a way to read/write CAD (DWG/DXF/DXFB) files
0.2.0_5 cad on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.2.0_5Version of this port present on the latest quarterly branch.
Maintainer: lbartoletti@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2016-12-26 14:29:15
Last Update: 2023-03-13 00:02:41
Commit Hash: f91e6f9
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (21 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/libopencad-0.2.0_5/catalog.mk
  3. /usr/local/share/licenses/libopencad-0.2.0_5/LICENSE
  4. /usr/local/share/licenses/libopencad-0.2.0_5/MIT
  5. bin/cadinfo
  6. include/opencad/cadclasses.h
  7. include/opencad/cadcolors.h
  8. include/opencad/caddictionary.h
  9. include/opencad/cadfile.h
  10. include/opencad/cadfileio.h
  11. include/opencad/cadgeometry.h
  12. include/opencad/cadheader.h
  13. include/opencad/cadlayer.h
  14. include/opencad/cadobjects.h
  15. include/opencad/cadtables.h
  16. include/opencad/opencad.h
  17. include/opencad/opencad_api.h
  18. lib/libopencadstatic.a
  19. @owner
  20. @group
  21. @mode
Collapse this list.
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):
libopencad
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.2.0_50.2.0_5-0.2.0_50.2.0_5-0.2.0_5-
FreeBSD:13:quarterly0.2.0_50.2.0_50.2.0_50.2.0_50.2.0_50.2.0_50.2.0_50.2.0_5
FreeBSD:14:latest0.2.0_50.2.0_5-0.2.0_50.2.0_50.2.0_5-0.2.0_5
FreeBSD:14:quarterly0.2.0_50.2.0_5-0.2.0_50.2.0_50.2.0_50.2.0_50.2.0_5
FreeBSD:15:latest0.2.0_50.2.0_5n/a0.2.0_5n/a0.2.0_50.2.0_50.2.0_5
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake-core
  2. 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:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/sandyre/libopencad/tar.gz/0.2.0?dummy=/
Collapse this list.

Number of commits found: 17

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.2.0_5
13 Mar 2023 00:02:41
commit hash: f91e6f96c699f747bf3200dc5839521b3dbcbefccommit hash: f91e6f96c699f747bf3200dc5839521b3dbcbefccommit hash: f91e6f96c699f747bf3200dc5839521b3dbcbefccommit hash: f91e6f96c699f747bf3200dc5839521b3dbcbefc files touched by this commit
Piotr Kubaj (pkubaj) search for other commits by this committer
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
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
0.2.0_5
20 Jul 2022 14:20:58
commit hash: b46abf8056cc9f1f1f579710126929b99b36f966commit hash: b46abf8056cc9f1f1f579710126929b99b36f966commit hash: b46abf8056cc9f1f1f579710126929b99b36f966commit hash: b46abf8056cc9f1f1f579710126929b99b36f966 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
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 View all of this commit message)
0.2.0_5
14 Oct 2021 10:31:57
commit hash: 3cbaeb7558097a99bb244e1f7b23ad433595a539commit hash: 3cbaeb7558097a99bb244e1f7b23ad433595a539commit hash: 3cbaeb7558097a99bb244e1f7b23ad433595a539commit hash: 3cbaeb7558097a99bb244e1f7b23ad433595a539 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
cad/libopencad: Add CPE information

Approved by:	portmgr (blanket)
0.2.0_5
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.2.0_5
14 Jan 2020 21:45:15
Revision:523070Original commit files touched by this commit
lbartoletti search for other commits by this committer
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
Revision:507372Original commit files touched by this commit
gerald search for other commits by this committer
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
Revision:487272Original commit files touched by this commit
gerald search for other commits by this committer
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
Revision:475857Original commit files touched by this commit
gerald search for other commits by this committer
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
Revision:456105Original commit files touched by this commit
jbeich search for other commits by this committer
Re-try ports affected by bug 193528 on powerpc* after r449590
0.2.0_2
30 Nov 2017 06:13:35
Revision:455167Original commit files touched by this commit Sanity Test Failure
linimon search for other commits by this committer
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
Revision:449591Original commit files touched by this commit
gerald search for other commits by this committer
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
Revision:441429Original commit files touched by this commit
linimon search for other commits by this committer
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
Revision:437439Original commit files touched by this commit
gerald search for other commits by this committer
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
Revision:430235Original commit files touched by this commit
sunpoet search for other commits by this committer
Remove BROKEN_FreeBSD_9

Approved by:	portmgr (blanket)
0.2.0
26 Dec 2016 14:29:06
Revision:429524Original commit files touched by this commit
amdmi3 search for other commits by this committer
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