From 6951eff7477e9a00bdaa98640929399865dc8e5b Mon Sep 17 00:00:00 2001 From: reed Date: Tue, 8 Nov 2005 03:45:37 +0000 Subject: Add some docs about PKGMANDIR. --- doc/guide/files/fixes.xml | 47 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 46 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/guide/files/fixes.xml b/doc/guide/files/fixes.xml index 8ddb659b216..3d8813bbbde 100644 --- a/doc/guide/files/fixes.xml +++ b/doc/guide/files/fixes.xml @@ -1,4 +1,4 @@ - + Making your package work @@ -1176,6 +1176,51 @@ makeinfo command or exit on error. + + Packages installing man pages + + Many packages install manual pages. The man pages + are installed under ${PREFIX}/${PKGMANDIR} + which is /usr/pkg/man by default. + PKGMANDIR defaults to man. + For example, you can set PKGMANDIR to + share/man to have man pages install under + /usr/pkg/share/man/ by default. + + + The support for a custom PKGMANDIR + is not complete. + + + The PLIST files can just + use man/ as the top level directory + for the man page file entries + and the pkgsrc framework will convert as needed. + + + Packages that are + configured with GNU_CONFIGURE set as + yes, by default will use the + ./configure + --mandir switch to set where the man pages should be installed. + The path is GNU_CONFIGURE_MANDIR which defaults + to ${PREFIX}/${PKGMANDIR}. + + + + Packages that use GNU_CONFIGURE but do not + use --mandir, can set CONFIGURE_HAS_MANDIR + to no. + Or if the ./configure script uses + a non-standard use of --mandir, you can set + GNU_CONFIGURE_MANDIR as needed. + + + See for + information on installation of compressed manual pages. + + + Packages installing GConf2 data files -- cgit v1.2.3