port-getpkgpath-helper(1)

port-getpkgpath-helper1

Deduces pkgpath from current directory

Usage

port-getpkgpath-helper dir

Overview

port-getpkgpath-helper deduces the PKGPATH corresponding to a given directory dir, by trying to strip directories from the environment variable PORTSDIR_PATH.

This is a helper script for bsd.port.subdir.mk.

Releases

Unchanged in 18 releases since OpenBSD 6.4.

  1. 6.4–8.0

From man 8.0-current-20261101 in OpenBSD 8.0-current (2026-11-01). Parsed by carta from the page's mdoc source.