Commit graph

13 commits

Author SHA1 Message Date
maya
6c25dec844 Remove clauses 3,4 from TNF-only copyright blocks.
This is based on the decision The NetBSD Foundation made in 2008 to
do so, which was already applied to src.

This change has been applied to code which is likely not in other
repositories.

ok board@, reviewed by riastradh@
2018-08-22 20:48:36 +00:00
jperkin
9900231406 Support NetBSD man/html entries. Fixes deforaos-*. 2016-07-26 08:41:36 +00:00
jperkin
283634a16c Re-arrange parsing order to fix various combinations of PKGMANDIR, MANZ,
and MKCATPAGES.
2016-04-11 12:29:53 +00:00
jperkin
a2a6924a60 Support .3am (lang/gawk) and .3f (math/udunits) cat/man page suffixes, fixing
builds with PKGMANDIR=share/man for those packages.

Put the regexes into variables to make it easier to add more in the future.
2015-10-07 09:56:14 +00:00
jperkin
948c742e84 Introduce CATMAN_SECTION_SUFFIX which if set to 'yes' will ensure that
catman pages are installed with a suffix which matches their section
instead of the default '.0'.

Enable it by default on SunOS, which requires that particular layout.
2013-09-12 11:01:47 +00:00
rillig
43f7a6c33c Handle MANINSTALL correctly for packages that USE_BSD_MAKEFILE.
Fixes PR 42714.
2010-02-20 07:05:52 +00:00
joerg
8e4b1dc7fa Kill more @dirrm logic. 2009-06-14 23:10:39 +00:00
joerg
76039544d1 Remove @dirrm related logic. 2009-06-14 22:57:58 +00:00
jlam
8651991fd4 Fix typo in comment. 2006-02-07 18:43:02 +00:00
jlam
4ed0831994 Provide default values for various variables if they're not present in
the shell environment array ENVIRON.
2006-02-07 18:42:38 +00:00
rillig
cd3132099e warning: escape sequence \.' treated as plain .' 2006-02-05 16:21:07 +00:00
jlam
64000a0f19 SUS says awk's delete command only deletes array elements, not the array
itself.
2006-01-22 16:54:13 +00:00
jlam
8e0e10d3fa Initial commit of a new module that encapsulates all of the code
for manipulating PLISTs.  This module is not used by default pending
more widespread testing -- currently the variable _USE_PLIST_MODULE
must be defined in /etc/mk.conf to enable its use.

The main features of the new PLIST module are:

    (1) Splits out the PLIST-handling code from bsd.pkg.mk into a
	separate "plist" module.

    (2) Splits out giant, multi-line awk scripts stored in make
	variables into separate awk scripts that may be joined
	together to post-process PLISTs.  Each of these awk scripts
	consolidates the processing for one set of files, e.g.,
	man pages, info pages, etc., and is more easily commented
	than a make variable.

    (3) Splits out the print-PLIST code from the regular PLIST code
	since they have no common pieces (print-plist.mk vs.
	plist.mk).

    (4) Completely re-implements the shared-library handling to be
	more efficient.  Along the way, this also fixes a problem
	for Mac OS X users where the PLISTs incorrectly contained
	absolute paths.

    (5) Completely re-implements the info-file handling so that we
	can migrate from INFO_FILES definitions to just adding
	info/foo.info entries in the static PLISTs.

    (6) Adds commented-out support for automatically compressed or
	decompressed info page entries based on the value of MANZ.
	These changes will be activated after texinfo.mk has been
	replaced by something that is built using the more modern
	primitives now available in pkgsrc.

    (7) Move the file compression logic into a separate script
	"doc-compress" that compresses or decompresses files while
	minding symlinks.  This script is now called by bsd.pkg.mk
	to do the "autmoatic man page handling".  In the future,
	it will also handle the "automatic info page handling" and
	possible others.

In general, the idea is to move stuff out of the Makefiles and into
separate files where we don't need to worry about quoting rules
and where each file can have a separate history of commits.  This
simplifies the makefile logic (especially in terms of readability)
and also simplifies maintenance of the code.
2006-01-12 23:43:56 +00:00