Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
rillig 7f4b055291 mk/tools: don't create empty symlink for wrong tool definition
This case can only happen in the following special case:

TOOLS_CREATE+=		asdf
TOOLS_PATH.asdf=	# empty

If there is a lonely TOOLS_CREATE without a corresponding TOOLS_PATH, it
defaults to ${FALSE} and thus doesn't trigger this code.
2020-05-10 14:36:18 +00:00
archivers mark perl as not needed 2020-05-10 13:54:19 +00:00
audio mark perl as not needed 2020-05-10 13:54:19 +00:00
benchmarks fio: Couple of SunOS fixes. 2020-04-30 09:42:27 +00:00
biology revbump after boost update 2020-05-06 14:04:05 +00:00
bootstrap Highly silly typo. 2020-05-07 14:20:49 +00:00
cad revbump after boost update 2020-05-06 14:04:05 +00:00
chat ekg: regen checksum 2020-05-07 13:02:43 +00:00
comms repair build break, apply -Wno-error=incompatible-pointer-types 2020-05-07 17:01:27 +00:00
converters mark perl as not needed 2020-05-10 13:54:19 +00:00
cross mark perl as not needed 2020-05-10 13:54:19 +00:00
databases databases/mariadb55-client: clean up REPLACE_PERL 2020-05-10 13:56:14 +00:00
devel libatomic_ops: Drop MESSAGE (because it contains no MESSAGE content) 2020-05-10 13:10:34 +00:00
distfiles
doc doc: Updated www/py-flask-login to 0.5.0. 2020-05-10 13:12:58 +00:00
editors revbump after boost update 2020-05-06 14:04:05 +00:00
emulators Two fixes 2020-05-10 11:33:23 +00:00
filesystems revbump after boost update 2020-05-06 14:04:05 +00:00
finance revbump after boost update 2020-05-06 14:04:05 +00:00
fonts fonts: remove tex-aecc{,-doc} no longer in texlive 2020-05-10 05:39:31 +00:00
games games/ccgo: remove no-op file from SUBST_FILES 2020-05-09 08:42:37 +00:00
geography Updage py-googlemaps to 4.3.1. 2020-05-10 13:04:13 +00:00
graphics graphics/graphwiz: remove unknown configure option 2020-05-10 10:50:04 +00:00
ham Fix boost fallout. 2020-05-09 15:17:51 +00:00
inputmethod revbump after boost update 2020-05-06 14:04:05 +00:00
lang lang/quickjs: install documentation and examples 2020-05-10 10:32:33 +00:00
licenses add afl-3.0 (Academic Free License) 2020-04-30 08:40:06 +00:00
mail mail/mailfront: fix PKG_SUGGESTED_OPTIONS 2020-05-10 07:10:39 +00:00
math Stop using boost/detail/endian.hpp 2020-05-09 15:19:02 +00:00
mbone vic: avoid version checking for netbsd 2020-04-29 20:25:46 +00:00
meta-pkgs texlive-collection-pictures: update to rev 54812 2020-05-10 13:04:41 +00:00
misc misc/ec2-ami-tools: remove no-op file from SUBST_FILES 2020-05-09 08:49:12 +00:00
mk mk/tools: don't create empty symlink for wrong tool definition 2020-05-10 14:36:18 +00:00
multimedia multimedia/gst-plugins0.10-base: allow SUBST block to be a no-op 2020-05-10 14:27:46 +00:00
net net/bind914: remove unknown configure option 2020-05-10 14:25:42 +00:00
news news/suck: suppress USE_TOOLS+=perl warning 2020-05-10 14:19:38 +00:00
packages
parallel parallel/ganglia-monitor-core: clean up SUBST_FILES 2020-05-10 14:18:54 +00:00
pkgtools pkgtools/pkglint: update to 20.1.5 2020-05-09 19:26:11 +00:00
print print: remove tex-FAQ-en-doc tex-babel-spanglish tex-spanish-mx{,-doc} 2020-05-10 05:49:24 +00:00
regress regress/buildlink-transform: clean up code 2020-05-09 22:42:37 +00:00
security security/p5-Authen-PAM: use perl as a tool 2020-05-10 14:13:46 +00:00
shells oksh: update to 6.7. 2020-05-09 21:58:20 +00:00
sysutils sysutils/ups-nut-*: suppress USE_TOOLS+=perl warning 2020-05-10 14:12:33 +00:00
templates
textproc textproc/ruby-nqxml: allow to skip rinstall SUBST block 2020-05-10 14:09:25 +00:00
time py-icalendar: updated to 4.0.6 2020-05-07 04:58:11 +00:00
wm wm/sawfish: fix location of main.jl.in 2020-05-10 14:07:07 +00:00
www www/nostromo: remove outdated SUBST_MESSAGE 2020-05-10 14:03:01 +00:00
x11 x11/xpmroot: suppress USE_TOOLS+=perl warning 2020-05-10 13:59:46 +00:00
Makefile Makefile: fix outdated documentation 2020-02-12 15:04:51 +00:00
pkglocate
README.md README.md: minor adjustments 2020-01-15 16:19:22 +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.

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.

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