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 photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
After the ports freeze to fix some stuff, the freeze is over. I have some work to do before FreshPorts can start processing commits again before it can start processing again. I've created an issue for that.
Port details on branch 2026Q3
libopencad Library which provides a way to read/write CAD (DWG/DXF/DXFB) files
0.2.0_6 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_6Version of this port present on the latest quarterly branch.
Deprecated DEPRECATED: Abandoned upstream, does not build with CMake 4
Expiration Date EXPIRATION DATE: 2026-11-30
Maintainer: lbartoletti@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-09-16 13:30:05
Last Update: 2026-09-16 13:26:55
Commit Hash: 38513bb
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 (21 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/libopencad-0.2.0_6/catalog.mk
  3. /usr/local/share/licenses/libopencad-0.2.0_6/LICENSE
  4. /usr/local/share/licenses/libopencad-0.2.0_6/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.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
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

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
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: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.2.0_6
16 Sep 2026 13:26:55
commit hash: 38513bbd3d2d932cfe80f88e72f30e88d40506cdcommit hash: 38513bbd3d2d932cfe80f88e72f30e88d40506cdcommit hash: 38513bbd3d2d932cfe80f88e72f30e88d40506cdcommit hash: 38513bbd3d2d932cfe80f88e72f30e88d40506cd 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)

(cherry picked from commit 935c4ae41465da2be89c7aee221222ab31a0b799)

Number of commits found: 1