Subject: Re: imake manual page PLIST handling broken.
To: Mark Davies <mark@mcs.vuw.ac.nz>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 05/21/2005 09:03:57
On Sun, 22 May 2005, Mark Davies wrote:
> Is it just me or is the handling of the names of imake generated manual
> pages in PLIST's broken?
>
> The make framework defines various variables with platform specific values for
> substitution into PLIST's including: IMAKE_MAN_SUFFIX, IMAKE_LIBMAN_SUFFIX,
> IMAKE_KERNMAN_SUFFIX, IMAKE_FILEMAN_SUFFIX, IMAKE_MISCMAN_SUFFIX
> and IMAKE_MANNEWSUFFIX
>
> but in the PLIST's (or anywhere else) _only_ IMAKE_MANNEWSUFFIX is used
> irrespective of what manual section it goes in.
I have had the same problem a few times and have patches like:
--- net/tightvncviewer/PLIST 3 Mar 2003 02:56:00 -0000 1.5
+++ net/tightvncviewer/PLIST 21 May 2005 15:58:46 -0000
@@ -1,6 +1,6 @@
@comment $NetBSD: PLIST,v 1.5 2003/03/03 02:56:00 jschauma Exp $
bin/vncviewer
lib/X11/app-defaults/Vncviewer
-${IMAKE_MAN_DIR}/vncviewer.${IMAKE_MANNEWSUFFIX}
+man/man1/vncviewer.1
share/doc/vncviewer/README
@dirrm share/doc/vncviewer
I also posted about this last year:
http://mail-index.netbsd.org/tech-pkg/2004/05/10/0014.html
http://mail-index.netbsd.org/tech-pkg/2004/05/10/0015.html
Jeremy C. Reed
Low cost press releases
http://www.reedmedia.net/