Port details
libopencad Library which provides a way to read/write CAD (DWG/DXF/DXFB) files
0.2.0_7 cad Deleted Σ=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_7Version of this port present on the latest quarterly branch.
Deprecated DEPRECATED: Abandoned upstream, does not build with CMake 4
Expired This port expired on: 2026-11-30
Maintainer: lbartoletti@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2016-12-26 14:29:15
Last Update: 2026-11-30 21:40:06
Commit Hash: 715acd9d
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 - no subversion history for this port
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
Expand this list (22 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/libopencad-0.2.0_7/catalog.mk
  3. /usr/local/share/licenses/libopencad-0.2.0_7/LICENSE
  4. /usr/local/share/licenses/libopencad-0.2.0_7/MIT
  5. share/sbom/pc/libopencad.pc
  6. bin/cadinfo
  7. include/opencad/cadclasses.h
  8. include/opencad/cadcolors.h
  9. include/opencad/caddictionary.h
  10. include/opencad/cadfile.h
  11. include/opencad/cadfileio.h
  12. include/opencad/cadgeometry.h
  13. include/opencad/cadheader.h
  14. include/opencad/cadlayer.h
  15. include/opencad/cadobjects.h
  16. include/opencad/cadtables.h
  17. include/opencad/opencad.h
  18. include/opencad/opencad_api.h
  19. lib/libopencadstatic.a
  20. @owner
  21. @group
  22. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • libopencad>0:cad/libopencad
No installation instructions:
This port has been deleted.
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
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest0.2.0_60.2.0_6-0.2.0_50.2.0_7
FreeBSD:14:quarterly0.2.0_60.2.0_6-0.2.0_50.2.0_7
FreeBSD:15:latest0.2.0_60.2.0_6n/a0.2.0_5n/a
FreeBSD:15:quarterly0.2.0_60.2.0_6n/a-n/a
FreeBSD:16:latest CURRENT0.2.0_60.2.0_7n/a-n/a
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
pkg-message: #
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.
Port Moves
  • port deleted on 2026-11-30
    REASON: Has expired: Abandoned upstream, does not build with CMake 4

Number of commits found: 20 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.2.0_7
30 Nov 2026 21:40:06
commit hash: 715acd9d5295d7d0d71c94f949f0d44c2d13de3acommit hash: 715acd9d5295d7d0d71c94f949f0d44c2d13de3acommit hash: 715acd9d5295d7d0d71c94f949f0d44c2d13de3acommit hash: 715acd9d5295d7d0d71c94f949f0d44c2d13de3a files touched by this commit
Rene Ladan (rene) search for other commits by this committer
cad/libopencad: Remove expired port

2026-11-30 cad/libopencad: Abandoned upstream, does not build with CMake 4
0.2.0_7
24 Nov 2026 16:06:28
commit hash: a9844c5f4e09f61d7f32547bba99636395fd9341commit hash: a9844c5f4e09f61d7f32547bba99636395fd9341commit hash: a9844c5f4e09f61d7f32547bba99636395fd9341commit hash: a9844c5f4e09f61d7f32547bba99636395fd9341 files touched by this commit
Dag-Erling Smørgrav (des) search for other commits by this committer
various: Bump ports with CPE data
0.2.0_6
16 Sep 2026 13:26:26
commit hash: 935c4ae41465da2be89c7aee221222ab31a0b799commit hash: 935c4ae41465da2be89c7aee221222ab31a0b799commit hash: 935c4ae41465da2be89c7aee221222ab31a0b799commit hash: 935c4ae41465da2be89c7aee221222ab31a0b799 files touched by this commit
Gleb Popov (arrowd) search for other commits by this committer
cad/libopencad: Mark deprecated

PR:		298564
Approved by:	lbartoletti (maintainer)
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:523070commit hash: be19bdfc55c9d1229dca599302e9adb46d9ded8fcommit hash: be19bdfc55c9d1229dca599302e9adb46d9ded8fcommit hash: be19bdfc55c9d1229dca599302e9adb46d9ded8fcommit hash: be19bdfc55c9d1229dca599302e9adb46d9ded8fOriginal 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:507372commit hash: ea8c8ec7da96df12146a2cc428077258141791cfcommit hash: ea8c8ec7da96df12146a2cc428077258141791cfcommit hash: ea8c8ec7da96df12146a2cc428077258141791cfcommit hash: ea8c8ec7da96df12146a2cc428077258141791cfOriginal 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:487272commit hash: a9f015d155018758628ec8858a3d05e162673f67commit hash: a9f015d155018758628ec8858a3d05e162673f67commit hash: a9f015d155018758628ec8858a3d05e162673f67commit hash: a9f015d155018758628ec8858a3d05e162673f67Original 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:475857commit hash: 09f9633cb617878a6611cfdfb630e55d957188efcommit hash: 09f9633cb617878a6611cfdfb630e55d957188efcommit hash: 09f9633cb617878a6611cfdfb630e55d957188efcommit hash: 09f9633cb617878a6611cfdfb630e55d957188efOriginal 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:456105commit hash: 03fec4df026e649b8fecb32ae313151f727f9ddbcommit hash: 03fec4df026e649b8fecb32ae313151f727f9ddbcommit hash: 03fec4df026e649b8fecb32ae313151f727f9ddbcommit hash: 03fec4df026e649b8fecb32ae313151f727f9ddbOriginal 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:455167commit hash: bf43557044604cb6487fc1aa24ce2c210ae789dacommit hash: bf43557044604cb6487fc1aa24ce2c210ae789dacommit hash: bf43557044604cb6487fc1aa24ce2c210ae789dacommit hash: bf43557044604cb6487fc1aa24ce2c210ae789daOriginal 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:449591commit hash: e59c88cece035a155debaf8996ce8f20adabd78bcommit hash: e59c88cece035a155debaf8996ce8f20adabd78bcommit hash: e59c88cece035a155debaf8996ce8f20adabd78bcommit hash: e59c88cece035a155debaf8996ce8f20adabd78bOriginal 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:441429commit hash: fa7459871993c1b82be45b128cb6cc16d6d6097bcommit hash: fa7459871993c1b82be45b128cb6cc16d6d6097bcommit hash: fa7459871993c1b82be45b128cb6cc16d6d6097bcommit hash: fa7459871993c1b82be45b128cb6cc16d6d6097bOriginal 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:437439commit hash: 04d6f52202c61a48690e73e65879001d2ee3adc5commit hash: 04d6f52202c61a48690e73e65879001d2ee3adc5commit hash: 04d6f52202c61a48690e73e65879001d2ee3adc5commit hash: 04d6f52202c61a48690e73e65879001d2ee3adc5Original 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:430235commit hash: e0b379fa6f3d155233755f07a2c1262bcdb4faa8commit hash: e0b379fa6f3d155233755f07a2c1262bcdb4faa8commit hash: e0b379fa6f3d155233755f07a2c1262bcdb4faa8commit hash: e0b379fa6f3d155233755f07a2c1262bcdb4faa8Original 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:429524commit hash: 7219fadffaa37b0587837c9a084bbfb0979b8fc2commit hash: 7219fadffaa37b0587837c9a084bbfb0979b8fc2commit hash: 7219fadffaa37b0587837c9a084bbfb0979b8fc2commit hash: 7219fadffaa37b0587837c9a084bbfb0979b8fc2Original 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: 20