diff options
author | jschauma <jschauma@pkgsrc.org> | 2003-02-24 19:49:47 +0000 |
---|---|---|
committer | jschauma <jschauma@pkgsrc.org> | 2003-02-24 19:49:47 +0000 |
commit | cfa6436dde8c84a4d4121b57538bb64b0e57e23c (patch) | |
tree | 226d5ed6b5c23d5c51cf4839e6541bba13eca0b8 /mk/defs.Linux.mk | |
parent | b40f8400f7902c63d38a0f69fbebeec0987e9667 (diff) | |
download | pkgsrc-cfa6436dde8c84a4d4121b57538bb64b0e57e23c.tar.gz |
When using imake, add a bunch of variables to the PLIST_SUBST list, in
order to simplify man-page handling across platforms:
If your application installs man pages on NetBSD into
man/cat1/foo.0
but in
man/man1/foo.1x
on Linux, simply use
${IMAKE_MAN_DIR}/foo.${IMAKE_MANNEWSUFFIX}
Definitions for Darwin provided by grant, others from
/usr/X11R6/lib/X11/config/*
This allows us to put away with having multiple PLISTs just for the different
man page locations.
PKGREVISION bumps of `grep -l USE_IMAKE pkgsrc/*/*/Makefile` coming up after
revision and adjusting.
Diffstat (limited to 'mk/defs.Linux.mk')
-rw-r--r-- | mk/defs.Linux.mk | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/mk/defs.Linux.mk b/mk/defs.Linux.mk index 645850f6dd7..007d417ec25 100644 --- a/mk/defs.Linux.mk +++ b/mk/defs.Linux.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.Linux.mk,v 1.44 2003/01/15 20:55:39 jlam Exp $ +# $NetBSD: defs.Linux.mk,v 1.45 2003/02/24 19:49:47 jschauma Exp $ # # Variable definitions for the Linux operating system. @@ -85,6 +85,17 @@ ULIMIT_CMD_memorysize?= ulimit -m `ulimit -H -m` USERADD?= /usr/sbin/useradd ZOULARISBASE?= /usr/pkg +# imake installs manpages in weird places +# these values from /usr/X11R6/lib/X11/config/linux.cf +IMAKE_MAN_SOURCE_PATH= man/man +IMAKE_MAN_SUFFIX= 1x +IMAKE_LIBMAN_SUFFIX= 3x +IMAKE_FILEMAN_SUFFIX= 5x +IMAKE_MAN_DIR= ${IMAKE_MAN_SOURCE_PATH}1 +IMAKE_LIBMAN_DIR= ${IMAKE_MAN_SOURCE_PATH}3 +IMAKE_FILEMAN_DIR= ${IMAKE_MAN_SOURCE_PATH}5 +IMAKE_MANNEWSUFFIX= ${IMAKE_MAN_SUFFIX} + _DO_SHLIB_CHECKS= no # on installation, fixup PLIST for shared libs _IMAKE_MAKE= ${MAKE} # program which gets invoked by imake _OPSYS_HAS_GMAKE= yes # GNU make is standard |