uses libc
type: DatatypeProperty
IAO_0000115: Specifies the C library implementation or version required by this port.
comment: The C library dependency
domain: Port
range: string

Package Message
type: Class
IAO_0000115: A text file containing important information, configuration instructions, or warnings that are displayed to users during package installation or removal.
comment: File containing messages displayed during installation
subclass of: Thing

Package Description
type: Class
IAO_0000115: A text file containing a detailed description of the port's functionality, purpose, and features, used for documentation and package management.
comment: File containing detailed description of the port
subclass of: Thing

Distinfo
type: Class
IAO_0000115: A file containing cryptographic checksums and size information for distribution files, used to verify the integrity of downloaded source archives.
comment: File containing checksums and metadata for distribution files
subclass of: Thing

textproc
type: Port Category
comment: Text processing utilities

patch depends
type: ObjectProperty
IAO_0000115: Specifies ports that provide tools needed to apply patches to the source code during the build process.
comment: Dependency needed for patching
domain: Port
range: Port

broken on
type: DatatypeProperty
IAO_0000115: Specifies platforms, architectures, or system versions where this port is known to have build or runtime issues.
comment: Platforms where this port is known to be broken
domain: Port
range: string

uses perl
type: DatatypeProperty
IAO_0000115: Specifies the Perl interpreter version or modules required by this port for building or runtime.
comment: The Perl dependency requirement
domain: Port
range: string

master port
type: DatatypeProperty
IAO_0000115: Identifies the master port that this slave port derives its configuration and build instructions from.
comment: The master port for slave ports
domain: Port
range: string

has pkg-descr
type: ObjectProperty
IAO_0000115: Associates a port with its detailed description file explaining the software's purpose and features.
comment: Links a port to its package description
domain: Port
range: Package Description

has pkg-message
type: ObjectProperty
IAO_0000115: Associates a port with its message file containing important information displayed during installation.
comment: Links a port to its package message
domain: Port
range: Package Message

Patch
type: Class
IAO_0000115: A file containing modifications to the original source code that are applied during the build process to fix bugs, add features, or adapt the software for BSD systems.
comment: A patch file applied during port building
subclass of: Thing

FreeBSD Port
type: Class
IAO_0000115: A software package in the FreeBSD ports collection that provides build instructions and metadata for compiling software from source on FreeBSD systems.
comment: A port in the FreeBSD ports system
subclass of: Port

SHA256 checksum
type: DatatypeProperty
IAO_0000115: The SHA256 cryptographic hash of distribution files used to verify file integrity during download.
comment: SHA256 checksum of distribution files
domain: Distinfo
range: string

comment
type: DatatypeProperty
IAO_0000115: A brief one-line description of the port's purpose and functionality, displayed in package listings and searches.
comment: One-line description of the port
domain: Port
range: string
sub property of: description

uses autotools
type: DatatypeProperty
IAO_0000115: Indicates that this port uses GNU autotools (autoconf, automake, libtool) for its build system configuration.
comment: Whether the port uses GNU autotools
domain: Port
range: boolean

BSD Package Ontology
type: Ontology
abstract: The BSD extension models the FreeBSD, OpenBSD, and NetBSD ports systems. It captures ports tree structure, Makefile build configuration, distinfo checksums, build options, flavors, and categories. Port dependencies, master sites, and patch metadata are represented to support cross-BSD and BSD-to-Linux package comparisons.
created: 2025-09-05
creator: packagegraph.github.io
description: A comprehensive ontology for modeling BSD packages, ports systems, package databases, and BSD-specific metadata including origins, flavors, and port dependencies.
license: https://creativecommons.org/publicdomain/zero/1.0/
modified: 2026-04-21
comment: Ontology for representing BSD ports system packages (FreeBSD, OpenBSD, NetBSD)
label: BSD Ports Package Ontology
imports: core#
prior version: https://purl.org/packagegraph/ontology/bsdpkg/0.6.0
version IRI: https://purl.org/packagegraph/ontology/bsdpkg/0.7.0
version info: 0.7.0

has option
type: ObjectProperty
IAO_0000115: Associates a port with its configurable build options that can be enabled or disabled by users.
comment: Links a port to its build options
domain: Port
range: Port Option

x11
type: Port Category
comment: X Window System related software

build depends
type: ObjectProperty
IAO_0000115: Specifies ports that must be installed to provide tools, libraries, or other resources needed during the build process.
comment: Build-time dependency
domain: Port
range: Port
sub property of: buildDependsOn

port epoch
type: DatatypeProperty
IAO_0000115: An integer used to override normal version comparison when the version numbering scheme changes significantly.
comment: The port epoch for version ordering
domain: Version
range: int
sub property of: epoch

MD5 checksum
type: DatatypeProperty
IAO_0000115: The MD5 cryptographic hash of distribution files used to verify file integrity during download.
comment: MD5 checksum of distribution files
domain: Distinfo
range: string

Port Flavor
type: Class
IAO_0000115: A build-time variant of a BSD port that provides different features, dependencies, or configurations while sharing the same base source code.
comment: A variant of a port with different build options or dependencies
subclass of: Thing

maintainer
type: ObjectProperty
IAO_0000115: The person or entity responsible for maintaining and updating this port.
comment: The person or entity who maintains the port
domain: Port
range: Maintainer
sub property of: maintainedBy

library depends
type: ObjectProperty
IAO_0000115: Specifies ports that provide shared libraries required by this port at both build and runtime.
comment: Shared library dependency
domain: Port
range: Port

Port Option
type: Class
IAO_0000115: A configurable build-time option that allows users to enable or disable specific features, dependencies, or functionality when building a BSD port.
comment: A build option that can be enabled or disabled for a port
subclass of: Thing

Port Skeleton
type: Class
IAO_0000115: The complete directory structure and files that define a BSD port, including Makefile, patches, description files, and other metadata.
comment: The complete set of files that define a port
subclass of: Thing

has Makefile
type: ObjectProperty
IAO_0000115: Associates a port with its Makefile containing build instructions and configuration variables.
comment: Links a port to its Makefile
domain: Port
range: Port Makefile

work source
type: DatatypeProperty
IAO_0000115: Specifies the subdirectory within the work directory where the source code is extracted and compilation occurs.
comment: The directory where sources are extracted and built
domain: Port
range: string

net
type: Port Category
comment: Networking software

distribution name
type: DatatypeProperty
IAO_0000115: The base name of the main source distribution archive, typically without file extension.
comment: The base name of the distribution file
domain: Port
range: string

www
type: Port Category
comment: World Wide Web related ports

forbidden
type: DatatypeProperty
IAO_0000115: Explains why this port is forbidden from being built or distributed, typically due to legal or security concerns.
comment: Reason why the port is forbidden
domain: Port
range: string

sysutils
type: Port Category
comment: System utilities

has distinfo
type: ObjectProperty
IAO_0000115: Associates a port with its distinfo file containing checksums and metadata for distribution files.
comment: Links a port to its distinfo file
domain: Port
range: Distinfo

Port
type: Class
IAO_0000115: A collection of files and metadata that provides instructions for downloading, compiling, and installing software from source code on BSD systems.
comment: A port in the BSD ports system
subclass of: SourcePackage

no arch
type: DatatypeProperty
IAO_0000115: Indicates that this port produces architecture-independent packages that can be used on any supported platform.
comment: Whether the port is architecture-independent
domain: Port
range: boolean

Ports Tree
type: Class
IAO_0000115: A hierarchical directory structure containing all available ports organized by category, providing the complete collection of software that can be built from source.
comment: A collection of ports organized in a directory structure
subclass of: Repository

OpenBSD Port
type: Class
IAO_0000115: A software package in the OpenBSD ports collection that provides build instructions and metadata for compiling software from source on OpenBSD systems.
comment: A port in the OpenBSD ports system
subclass of: Port

has patch
type: ObjectProperty
IAO_0000115: Associates a port with patch files that modify the original source code during the build process.
comment: Links a port to its patches
domain: Port
range: Patch

extract suffix
type: DatatypeProperty
IAO_0000115: The file extension of the main distribution archive, used to determine the appropriate extraction method.
comment: The file extension for the main distribution file
domain: Port
range: string

Port Category
type: Class
IAO_0000115: A hierarchical classification system for organizing BSD ports by functionality or purpose, such as www for web-related software or devel for development tools.
comment: A category in the ports tree (e.g., www, devel, games)
subclass of: Thing

no package
type: DatatypeProperty
IAO_0000115: Explains why binary packages are not created for this port, requiring users to build from source.
comment: Reason why binary packages are not built
domain: Port
range: string

package name prefix
type: DatatypeProperty
IAO_0000115: A string prepended to the package name to distinguish variants or provide additional identification.
comment: Prefix added to the package name
domain: Port
range: string

Package Plist
type: Class
IAO_0000115: A manifest file listing all files, directories, and other items that will be installed by the port, used for package creation and removal.
comment: Packing list containing files installed by the port
subclass of: Thing

has flavor
type: ObjectProperty
IAO_0000115: Associates a port with its available build variants or flavors that provide different feature sets.
comment: Links a port to its flavors
domain: Port
range: Port Flavor

in category
type: ObjectProperty
IAO_0000115: Lists the functional categories that classify this port, with the first category determining its location in the ports tree.
comment: The categories this port belongs to
domain: Port
range: Port Category

games
type: Port Category
comment: Games and entertainment software

port version
type: DatatypeProperty
IAO_0000115: The version string of the upstream software that this port packages.
comment: The version of the port
domain: Version
range: string
sub property of: versionString

WWW site
type: DatatypeProperty
IAO_0000115: The official website URL of the upstream software project that this port packages.
comment: The upstream website URL
domain: Port
range: anyURI
sub property of: homepage

package name suffix
type: DatatypeProperty
IAO_0000115: A string appended to the package name to distinguish variants or provide additional identification.
comment: Suffix added to the package name
domain: Port
range: string

Port Makefile
type: Class
IAO_0000115: A BSD make-compatible file that defines variables, dependencies, and build instructions for compiling and installing a port.
comment: A Makefile containing port build instructions and metadata
subclass of: Thing

security
type: Port Category
comment: Security tools and libraries

fetch depends
type: ObjectProperty
IAO_0000115: Specifies ports that provide tools or protocols needed to download the source distribution files.
comment: Dependency needed for fetching sources
domain: Port
range: Port

restricted
type: DatatypeProperty
IAO_0000115: Explains why this port has restrictions on redistribution, typically due to licensing constraints.
comment: Reason why the port has distribution restrictions
domain: Port
range: string

distribution files
type: DatatypeProperty
IAO_0000115: Specifies the names of source archive files that need to be downloaded to build this port.
comment: The distribution files to download
domain: Port
range: string

run depends
type: ObjectProperty
IAO_0000115: Specifies ports that must be installed for this port to function properly at runtime.
comment: Runtime dependency
domain: Port
range: Port
sub property of: dependsOn

NetBSD Port
type: Class
IAO_0000115: A software package in the NetBSD pkgsrc collection that provides build instructions and metadata for compiling software from source on NetBSD and other supported systems.
comment: A port in the NetBSD pkgsrc system
subclass of: Port

master sites
type: DatatypeProperty
IAO_0000115: Specifies the primary download locations where the source distribution files can be obtained.
comment: Primary download sites for distribution files
domain: Port
range: anyURI

not for archs
type: DatatypeProperty
IAO_0000115: Lists architectures or platforms where this port cannot be built due to incompatibilities or limitations.
comment: Architectures this port cannot be built on
domain: Port
range: string

uses gmake
type: DatatypeProperty
IAO_0000115: Indicates that this port requires GNU make instead of the system's default make implementation.
comment: Whether the port requires GNU make
domain: Port
range: boolean

port revision
type: DatatypeProperty
IAO_0000115: An integer incremented when the port is updated without changing the upstream software version.
comment: The port revision number
domain: Version
range: int
sub property of: revision

checksum size
type: DatatypeProperty
IAO_0000115: The size in bytes of distribution files, used to verify complete download and file integrity.
comment: Size of distribution files
domain: Distinfo
range: long

devel
type: Port Category
comment: Development tools and libraries

only for archs
type: DatatypeProperty
IAO_0000115: Restricts this port to only be built on the specified architectures or platforms.
comment: Architectures this port can be built on
domain: Port
range: string

port name
type: DatatypeProperty
IAO_0000115: The unique name identifier of the port within its category in the ports tree.
comment: The name of the port
domain: Port
range: string

has pkg-plist
type: ObjectProperty
IAO_0000115: Associates a port with its packing list file that specifies all files and directories to be installed.
comment: Links a port to its package plist
domain: Port
range: Package Plist

uses python
type: DatatypeProperty
IAO_0000115: Specifies the Python interpreter version or modules required by this port for building or runtime.
comment: The Python dependency requirement
domain: Port
range: string

extract depends
type: ObjectProperty
IAO_0000115: Specifies ports that provide tools needed to extract or decompress the source distribution files.
comment: Dependency needed for extracting sources
domain: Port
range: Port