Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
brook ce85c4abc9 cad/oce: fixes for Darwin
Currently cad/oce does not build on Darwin, in part because sed
substitutions in CMakeFiles fail because the suffixes (.dylib) differ
from expected (.so).  There are, however, two additional problems.
First, frameworks are not used by pkgsrc, yet CMakeLists.txt expects
them on Darwin and uses special installation steps.  Instead, use the
standard installation steps.  Additionally, there are a few PLIST
differences between Darwin and other platforms, which are handled with
PLIST.* variables that differentiate Darwin from other systems.
2022-03-19 23:55:42 +00:00
archivers unrar: updated to 6.1.6 2022-03-15 05:38:09 +00:00
audio libopenmpt: update to 0.6.2. 2022-03-16 11:36:10 +00:00
benchmarks benchmarks/hyperfine: update to 1.13.0 2022-03-05 21:22:16 +00:00
biology biology/stacks: Update to 2.60 2022-03-17 23:49:08 +00:00
bootstrap README.NetBSD: slightly rephrase note about make(1) 2022-02-25 23:03:10 +00:00
cad cad/oce: fixes for Darwin 2022-03-19 23:55:42 +00:00
chat chat/matrix-synapse: Update to 1.54.0 2022-03-18 12:59:38 +00:00
comms asterisk16: Update to 16.24.0 2022-03-04 12:22:31 +00:00
converters (converters/opencc) Updated 1.1.2 to 1.1.3 2022-03-13 06:59:19 +00:00
cross freemint-gcc: Enable ObjC and ObjC++ 2022-01-29 18:33:17 +00:00
databases guile-sqlite3: build with guile30 2022-03-14 15:46:39 +00:00
devel devel/acme: update ancient version to 0.97 plus recent commits 2022-03-19 16:53:28 +00:00
distfiles
doc Updated net/p5-IO-Socket-INET6 to 2.73 2022-03-19 23:55:02 +00:00
editors Sigil: update to 1.9.2. 2022-03-14 13:47:27 +00:00
emulators dosbox-x: remove non-patches from distinfo 2022-03-15 20:28:00 +00:00
filesystems Update to OpenAFS 1.8.8.1 2022-03-19 16:19:02 +00:00
finance gnucash: switch to guile30 2022-03-15 15:43:54 +00:00
fonts fontforge: update to 20220308. 2022-03-14 14:12:41 +00:00
games *: Replace per-package msgfmt hacks with msgfmt-desktop.mk 2022-03-12 08:01:48 +00:00
geography geography/qgis: Update to 3.22.4 2022-03-17 22:23:16 +00:00
graphics librsvg: update to 2.52.8 2022-03-19 00:37:44 +00:00
ham gnuradio*: update to 3.10.1.1 2022-03-12 23:04:44 +00:00
inputmethod ibus-python: sync with ibus 1.5.26 updates. Build test only. 2022-03-15 20:45:39 +00:00
lang lang/njs: fix fetching 2022-03-19 23:20:27 +00:00
licenses licenses: Add libtpms-license 2022-02-01 15:07:01 +00:00
mail www/ruby-rails70: update to 7.0.2.3 2022-03-13 15:15:03 +00:00
math math/R: fix compiler flags embedded within Makeconf 2022-03-19 23:13:59 +00:00
mbone mbone: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 10:57:00 +00:00
meta-pkgs mate: replace msgfmt override block with msgfmt-desktop.mk 2022-03-13 03:22:37 +00:00
misc kdeartwork4: fix builds with xscreensaver>=6.03 2022-03-15 17:15:13 +00:00
mk mk/java-vm.mk: clean up documentation 2022-03-19 14:10:51 +00:00
multimedia obs-studio: fix version number recorded in the binary. 2022-03-14 19:54:15 +00:00
net Update to 2.73 2022-03-19 23:54:15 +00:00
news sfeed: Update to 1.3 2022-03-07 22:47:33 +00:00
packages
parallel lua-lanes: update to 3.16.0 2022-03-06 07:51:10 +00:00
pkgtools pkgtools/pkglint: update to 21.4.4 2022-03-12 12:03:40 +00:00
print hplip: add a comment explaining the qt5 option situation 2022-03-15 02:30:23 +00:00
regress *: bump PKGREVISION for egg.mk users 2022-01-04 20:53:26 +00:00
security gnutls: updated to 3.7.4 2022-03-17 21:16:25 +00:00
shells guile-gash: fix distinfo 2022-03-19 09:39:10 +00:00
sysutils gnome-tracker: sync with asciidoc changes 2022-03-15 18:27:03 +00:00
templates templates: disable search bar until the results are better 2021-04-21 11:14:11 +00:00
textproc xxdiff-scripts: add missing egg file to PLIST 2022-03-19 11:36:29 +00:00
time gnome-calendar: fix build with latest meson 2022-03-14 02:51:31 +00:00
wm wm/shod: update to 2.4.0 2022-03-14 10:22:49 +00:00
www kore: update to 4.2.0. 2022-03-19 08:51:46 +00:00
x11 libXdmcp: apply upstream version of SunOS compilation fix 2022-03-17 01:05:48 +00:00
_NetBSD-pkgdb _NetBSD-pkgdb: Use $@ insted of $* 2020-12-29 17:56:14 +00:00
Makefile
pkglocate
README.md README.md: Fix URIs and capitalize NetBSD 2022-01-31 22:39:11 +00:00

pkgsrc

pkgsrc is a framework for building software for a variety of UNIX-like systems.

It produces binary packages, which can be managed with tools such as pkgin. pkgsrc is highly configurable, supporting building packages for an arbitrary installation prefix (the default is /usr/pkg), allowing multiple branches to coexist on one machine, a build options framework, and a compiler transformation framework, among other advanced features. Unprivileged use and installation is also supported.

pkgsrc is the default package manager for NetBSD and SmartOS. It's also supported as a first-class option in OmniOS CE and Oasis Linux.

Bootstrapping

To use pkgsrc on operating systems other than NetBSD, you first need to bootstrap:

cd pkgsrc/bootstrap
./bootstrap

Note that this is only for the most simple case, using pkgsrc's defaults.

Please consult bootstrap/README and bootstrap/README.OS for detailed information about bootstrapping.

Building packages

cd pkgsrc/category/package-name
$PREFIX/bin/bmake install

Where $PREFIX is where you've chosen to install packages (typically /usr/pkg)

On NetBSD, bmake is simply the built-in make tool.

To build packages in bulk, tools such as pkgtools/pbulk and pkgtools/pkg_comp can be used.

Community / Troubleshooting

Latest sources

To fetch the main CVS repository:

cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc

To work in the Git mirror, which is updated every few hours from CVS:

git clone https://github.com/NetBSD/pkgsrc.git