Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
jlam f7a3bea5e0 Update fltk to 1.0.10. Modify make process to not build the test programs
during a normal build to reduce build times on slower platforms.  Relevant
changes from version 1.0.9 include various bug fixes, less memory consumption
for colors, improvements to the code generation in fluid, and improvements to
the way scrollbars and buttons are handled.  There is also the following GL
optimization for certain OpenGL implementations:

	- Performance of Fl_Gl_Window may be improved on some
	  types of OpenGL implementations, in particular MESA
	  or other software emulators, by setting the
	  GL_SWAP_TYPE environment variable.  This variable
	  declares what is in the back buffer after you do a
	  swapbuffers:

	      setenv GL_SWAP_TYPE COPY

	      This indicates that the back buffer is copied to
	      the front buffer, and still contains it's old
	      data. This is true of many hardware
	      implementations.  Setting this will speed up
	      emulation of overlays, and widgets that can do
	      partial update can take advantage of this as
	      damage() will not be cleared to -1.

	      setenv GL_SWAP_TYPE NODAMAGE

	      This indicates that nothing changes the back
	      buffer except drawing into it.  This is true of
	      MESA and Win32 software emulation and perhaps some
	      hardware emulation on systems with lots of memory.

	  All other values for GL_SWAP_TYPE, and not setting
	  the variable, cause fltk to assumme that the back
	  buffer must be completely redrawn after a swap.

	  This is easily tested by running the gl_overlay demo
	  program and seeing if the display is correct when
	  you drag another window over it or if you drag the
	  window off the screen and back on. You have to exit
	  and run the program again for it to see any changes
	  to the environment variable.
2001-01-02 22:11:17 +00:00
archivers fix installation of LC_MESSAGES message catalog file. 2000-12-19 04:36:55 +00:00
audio Fix libintl dependency and add missing file to PLIST. 2000-12-31 02:56:58 +00:00
benchmarks Update to 1.13 - no list of changes available. 2000-12-14 05:08:04 +00:00
biology Add and enable "chemtool". Fixes PR pkg/11377 by Jason Beegan. 2000-11-25 20:14:30 +00:00
cad make sure the include and library paths are set to correctly find readline 2000-12-31 18:09:54 +00:00
chat update to 20001231. changes include: 2000-12-31 06:45:17 +00:00
comms Add and enable p5-Device-SerialPort 2000-12-18 23:19:19 +00:00
converters Add and enable libiconv 2001-01-01 17:29:53 +00:00
cross Fix installation. Closes pkg/11690. 2000-12-16 00:53:31 +00:00
databases Fix to compile with python 2.0. 2001-01-01 05:52:08 +00:00
devel Add dependency on libiconv. 2001-01-01 17:33:44 +00:00
distfiles These files belong to $MASTER_SITE_LOCAL - moved them there! 2000-12-05 00:23:05 +00:00
editors Adapt to latest version of lesstif - now need to (correctly) explicitly 2000-12-28 12:49:50 +00:00
emulators Fix BIOS pathname substitution. 2001-01-02 14:18:17 +00:00
finance Make this build against newer versions of lesstif, in which <Xm/Text.h> 2000-12-28 03:54:58 +00:00
fonts Remove stale leftovers 2000-12-29 01:36:38 +00:00
games Update xconq to release 7.4.1. Notable changes include: 2001-01-02 14:57:38 +00:00
graphics The gimp modules are lib*.so and not lib*.so.0 2001-01-02 09:49:33 +00:00
ham sort 2000-10-24 10:13:35 +00:00
japanese Don't pass `bsd44' to configure. It's no longer supported/needed. 2000-12-18 08:28:06 +00:00
lang Update gb to 0.0.17. Changes include: 2000-12-30 18:41:20 +00:00
mail Depending on whether we use the in-tree OpenSSL or pkgsrc OpenSSL, the default 2001-01-02 21:05:50 +00:00
math Update gnumeric to 0.61. Changes include: 2000-12-30 18:43:31 +00:00
mbone There is one place where Tcl_Eval is called with a const value but the 2000-12-28 13:30:20 +00:00
meta-pkgs Move x11/ascp, x11/econf, and x11/wmextra to wm. 2000-12-18 13:54:38 +00:00
misc This package seems to insist on libtool (see recent bulk build): 2001-01-01 05:54:22 +00:00
mk move the code which determines the BROKENFILE and BUILDLOG file names out 2000-12-31 17:38:32 +00:00
net Update delegate to 6.1.22. Changes include: 2001-01-02 18:46:40 +00:00
news change homepage and download sites; bump version to trn-test74 2000-12-29 13:19:28 +00:00
packages Add .cvsignore to stop cvs update listing every distfile and more 1999-11-24 11:53:24 +00:00
parallel remove trailing whitespace 2000-10-21 22:52:37 +00:00
pkgtools Fix whitespace and typo in comment. 2000-12-31 14:17:09 +00:00
print Update to 1.3.119 because 1.3.86 didn't compile with python-2.0. 2000-12-28 17:04:23 +00:00
security Add and enable sslwrap 2000-12-30 20:14:26 +00:00
shells Unify Makefiles -- mostly headers: remove FreeBSD Ids. 2000-12-12 01:30:36 +00:00
sysutils Deal with directory names with whitespace by using strtok_r instead of scanf. 2000-12-30 00:19:04 +00:00
templates Change substitution of %%PKG%% so it's expanded to ${PKGNAME} directly, not 2000-11-09 23:46:29 +00:00
textproc Manually syncing ONLY_FOR_PLATFORM is not the way to go. 2000-12-30 13:57:44 +00:00
time Make this pass pkglint, create ${PREFIX}/libexec/cgi-bin if it doesn't 2000-12-22 19:00:17 +00:00
wm Update to 2.2.4: 2001-01-01 23:42:04 +00:00
www Added bugfix submitted by J. McNeill, PR#11862, that corrects problem with 2001-01-01 01:19:05 +00:00
x11 Update fltk to 1.0.10. Modify make process to not build the test programs 2001-01-02 22:11:17 +00:00
Makefile Move lots of packages to new time category; fix links; add time subcategory 2000-12-17 23:40:53 +00:00
Packages.txt Remove paragraph about PLIST-mi/md.shared/md.static 2000-12-30 11:24:31 +00:00
pkglocate fix to really exit if glimpse is not installed 2000-04-11 16:59:17 +00:00
README No paragraph (picking nits). 2000-07-23 18:02:33 +00:00

$NetBSD: README,v 1.11 2000/07/23 18:02:33 fredb 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 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" while in the directory for the package.

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

+ Optionally, you can periodically run "make clean" from the top
level pkgsrc directory. This will delete extracted and built files,
but will not affect the retreived source sets in pkgsrc/distfiles.

+ 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 pkgsrc/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.

One limitation of using binary packages provided from ftp.netbsd.org
is that all mk.conf options were set to the defaults at compile time.
LOCALBASE, in particular, defaults to /usr/pkg, so non-X binaries
will be installed in /usr/pkg/bin, man pages will be installed in
/usr/pkg/man...

When a packaged tool has major compile time choices, such as support
for multiple graphic toolkit libraries, the different options may
be available as separate packages.

For more information on the packages collection see the file
Packages.txt where you found this README, or in your top-level pkgsrc
directory.