Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
agc 3588ef8396 Re-think - don't ask the user whether they really want to overwrite
their expensive Motif installation with lesstif - print a message
saying that they should remove Motif first, then fail.  Upgrading from
previous versions of lesstif works as previously.  Remove IS_INTERACTIVE.
1998-05-15 14:44:07 +00:00
archivers Remove bogus do-extract: rule and make this work with WRKOBJDIR. 1998-05-10 15:29:19 +00:00
audio Append a "/." to the ${WRKDIR} value in the find command, to ensure 1998-05-15 13:55:35 +00:00
benchmarks Substitute all obvious FreeBSD ppl as MAINTAINER with packages@netbsd.org. 1998-04-20 11:56:17 +00:00
cad Use the bsd.pkg.mk and bsd.pkg.subdir.mk files in the pkgsrc tree. 1998-04-15 10:38:15 +00:00
comms Add USE_PERL5=yes, else ietf2datebook, pilot-undelete and sync-plan 1998-05-13 14:04:58 +00:00
converters Update to KDE Beta 4 'Kirkland'. 1998-04-28 22:52:32 +00:00
databases %D is needed on @unexec 1998-05-09 18:32:57 +00:00
devel Don't strip the info, install-info, makeinfo and texindex programs, as 1998-05-14 11:09:47 +00:00
distfiles Explain what goes here. 1997-12-17 09:25:18 +00:00
editors Grab the distfile from ftp.netbsd.org, like vile. 1998-05-06 09:03:50 +00:00
emulators Only set -malign-functions=2 -malign-jumps=2 -malign-loops=2 on i386 1998-05-13 10:13:25 +00:00
fonts/Xg %D not needed on @dirrm 1998-05-08 17:25:36 +00:00
games added by mistake 1998-05-08 21:15:30 +00:00
graphics Append a "/." to the ${WRKDIR} value in the find command, to ensure 1998-05-15 13:55:35 +00:00
lang Link cryptmodule against -lcrypt, fixes pr 5422 by Jaromir Dolecek. 1998-05-08 16:39:01 +00:00
mail Check for existance of mk.conf, first. 1998-05-10 10:30:14 +00:00
math Replace "BUILD_DEPENDS" and "RUN_DEPENDS" by "DEPENDS". 1998-05-04 19:38:44 +00:00
mbone Mostly cosmetic changes to shut up portlint. Little bugfix for apache. 1998-05-09 15:24:42 +00:00
misc Append a "/." to the ${WRKDIR} value in the find command, to ensure 1998-05-15 13:55:35 +00:00
mk More cosmetic editing - PORTSTOP is now PKGSRCTOP 1998-05-15 12:14:24 +00:00
net Enable tinyfugue 1998-05-14 13:55:40 +00:00
news Enable suck. 1998-04-28 11:06:57 +00:00
packages Explain what goes here. 1997-12-17 09:25:18 +00:00
plan9 use absolute path 1998-05-09 17:23:04 +00:00
print Add missing entry for bin/texi2dvi4a2ps, resort PLIST. Fix ldconfig 1998-05-09 12:01:57 +00:00
security s/MIT/RSA licensees/, per mycroft 1998-05-08 10:18:54 +00:00
shells Mostly cosmetic changes to shut up portlint. Little bugfix for apache. 1998-05-09 15:24:42 +00:00
sysutils Mostly cosmetic changes to shut up portlint. Little bugfix for apache. 1998-05-09 15:24:42 +00:00
templates Add a reference to the up-to-date pkgsrc tree on ftp.netbsd.org 1998-05-14 11:22:55 +00:00
textproc Add to category www 1998-05-15 06:10:47 +00:00
www Filenames changed to use a dash instead of an underscore. 1998-05-13 14:47:56 +00:00
x11 Re-think - don't ask the user whether they really want to overwrite 1998-05-15 14:44:07 +00:00
Makefile More cosmetic editing - PORTSTOP is now PKGSRCTOP 1998-05-15 12:14:24 +00:00
Packages.txt Add a note about adjusting MAINTAINER to Section 4.1 if adopting FreeBSD ports. 1998-04-20 12:14:22 +00:00
README Note existence of pkgsrc/mk/mk.conf.example for customization. 1998-04-30 20:58:13 +00:00

$NetBSD: README,v 1.5 1998/04/30 20:58:13 frueauf Exp $

Welcome to the NetBSD Packages Collection
=========================================

In brief, the NetBSD Packages Collection is a set of software
utilities and libraries which have been ported to NetBSD.

The packages collection software can retrieve the software from its
home site, assuming you are connected in some way to the Internet,
verify its integrity, apply any patches, configure the software for
NetBSD, and build it.  Any prerequisite software will also be built
and installed for you.  Installation and de-installation of software
is managed by the packaging utilities.

The packages collection is made weekly into a tar_file: 

	ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/tar_files/pkgsrc.tar.gz

and you can sup the pkgsrc tree using the `pkgsrc' name for the
collection.

The pkgsrc tree is laid out in various categories, and, within that,
the various packages themselves.

You need to have root privileges to install packages.  We are looking
at ways to remove this restriction.

+ To install a package on your system, you need to change into the
directory of the package, and type "make && make install".

+ If you've made a mistake, and decided that you don't want that
package on your system, then type "pkg_delete <pkg-name>", or "make
deinstall".

+ To find out all the packages that you have installed on your system,
type "pkg_info".

+ To remove the work directory, type "make clean", and "make
clean-depends" will clean up any working directories for other
packages that are built in the process of making your package.

+ To find out what variables exists to customize some behaviour of
pkgsrc (e.g. where it installs to) have a look at
pkgsrc/mk/mk.conf.example. You can set those in /etc/mk.conf.

The best way to find out what packages are in the collection is to
move to the top-level pkgsrc directory (this will usually be
/usr/pkgsrc), and type "make readme".  This will create a file called
README.html in the top-level pkgsrc directory, and also in all
category and package directories.  You can then see what packages are
available, along with a short (one-line) comment about the function of
the package, and a pointer to a fuller description, by using a browser
like lynx (see pkgsrc/www/lynx) or something like Mozilla
(pkgsrc/www/mozilla), or Communicator.

Another way to find out what packages are in the collection is to
move to the top-level pkgsrc directory and type "make index". This
will create pksrc/INDEX which can be watched via "make print-index | more".
You can also search for particular packages or keywords via
"make search key=<somekeyword>".

It is also possible to use the packaging software to install
pre-compiled binary packages by typing "pkg_add <URL-of-binary-pkg>". 
To see what binary packages are available, see:

	ftp://ftp.netbsd.org/pub/NetBSD/packages/<release>/<arch>/All/

where <release> is the NetBSD release, and <arch> is the hardware
architecture.

See:

	http://www.netbsd.org/Documentation/netbsd/Packages.txt

for more information on the packages collection.