Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
hwr 9273ad2b46 Don't build the directory, as addnerd does this for us and will fail
if it already exists. Should fix pkg/6949 by Nigel Reed <nigel@nelgin.nu>.
Also don't assume ${prefix}/sbin is in the search path and call addnerd
with complete path.
1999-02-06 20:06:32 +00:00
archivers Add missing conflict entry. 1999-01-09 01:26:09 +00:00
audio Use READ_MMAP on all platforms. 1999-02-06 12:24:30 +00:00
benchmarks work around PREFIX not being defined for exist() 1999-01-02 02:26:34 +00:00
cad Update gEDA to 19990124, provided in pr 6936 by Rene Hexel. 1999-02-04 21:21:23 +00:00
comms Be uniform; don't cat DESCR during install. 1999-02-06 17:56:42 +00:00
converters Replace all occurrences of USE_X11 with USE_X11BASE. This means "install this 1999-01-30 23:18:44 +00:00
corba Depend on version 1.1.12 if "glib" package. 1999-01-16 12:05:09 +00:00
cross pull in a patch to make the sparc-netbsdelf compiler work for userland 1999-02-05 16:22:32 +00:00
databases Don't build the directory, as addnerd does this for us and will fail 1999-02-06 20:06:32 +00:00
devel Track recent symbol renaming in <arm32/setjmp.h>. 1999-02-03 22:18:39 +00:00
distfiles Explain what goes here. 1997-12-17 09:25:18 +00:00
editors Set USE_X11=yes, to denote that the package uses X11 libraries and 1999-02-04 18:54:35 +00:00
emulators Initial import of XCopilot package, a PalmPilot (tm) emulator. 1999-02-05 07:38:14 +00:00
fonts/Xg Replace all occurrences of USE_X11 with USE_X11BASE. This means "install this 1999-01-30 23:18:44 +00:00
games Oops, this got lost. Must use BSD_INSTALL_SCRIPT. 1999-02-01 01:16:59 +00:00
graphics update for gnuplot V3.7 - somehow i managed to not commit these patches 1999-02-01 00:02:21 +00:00
japanese Initial import of new japanese category, and it's very first pkg, 1998-10-28 18:12:10 +00:00
lang Update jdk from beta2 to 1.1.6. This one should also have all necessary 1999-02-05 16:33:34 +00:00
mail Set USE_X11=yes, since this package uses X tree for font manipulations 1999-02-04 18:58:22 +00:00
math Replace all occurrences of USE_X11 with USE_X11BASE. This means "install this 1999-01-30 23:18:44 +00:00
mbone Replace all occurrences of USE_X11 with USE_X11BASE. This means "install this 1999-01-30 23:18:44 +00:00
meta-pkgs Update DEPENDS on glimpse to 4.1. 1998-12-03 12:41:57 +00:00
misc Update to v1.42 1999-02-04 01:20:59 +00:00
mk Don't match a slash in the middle of a library name. 1999-02-03 15:11:46 +00:00
net Update zircon to 1.18.210. Mainly bugfixes. 1999-02-03 13:00:18 +00:00
news Add "x11" to category list. 1999-01-25 20:09:09 +00:00
packages Explain what goes here. 1997-12-17 09:25:18 +00:00
parallel update PLIST to reflect reality, and add a trick to determine if we have 1999-01-01 23:42:58 +00:00
pkgtools fix for pkgdb version (19990119) 1999-01-19 23:37:23 +00:00
plan9 Set USE_X11=yes, to denote that the package uses X11 libraries and 1999-02-04 18:54:35 +00:00
print Set USE_X11=yes, as this package needs X11 headers and libs to build 1999-02-04 19:07:51 +00:00
security Oops! In Makefile, tabs != spaces. Comment lines need spaces, indented 1999-02-03 22:44:10 +00:00
shells Fix MASTER_SITES, as per PR 6808 by Jim Bernard <jbernard@ox.mines.edu> 1999-01-14 14:52:53 +00:00
sysutils Split patches into seperate files and fix compiler warning. 1999-02-02 23:00:40 +00:00
templates Packages.txt moved. 1998-08-23 01:32:19 +00:00
textproc Replace all occurrences of USE_X11 with USE_X11BASE. This means "install this 1999-01-30 23:18:44 +00:00
www Make mozilla work on amiga and pmax. The hard work was done by 1999-02-01 11:39:45 +00:00
x11 pkglint: () -> {} 1999-02-05 10:49:43 +00:00
Makefile Enable new japanese category, and document addition of category, and 1998-10-28 18:16:50 +00:00
Packages.txt Change all occurrences of USE_X11 to USE_X11BASE. 1999-01-30 23:21:26 +00:00
README Minor mods to clean up the English. 1998-09-01 11:03:23 +00:00

$NetBSD: README,v 1.8 1998/09/01 11:03:23 agc 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 into a tar_file every week: 

	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.

+ You can set variables to customise the behaviour (where packages are
installed, various options for individual packages etc), by setting
variables in /etc/mk.conf.  The pkgsrc/mk/mk.conf.example file
provides some examples for customisation.

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 Mozilla (pkgsrc/www/mozilla), or
Communicator.  This is also available online as
ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/README.html.

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 viewed 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.

For more information on the packages collection see the file
Packages.txt in this directory.