diff options
author | jschauma <jschauma> | 2003-02-24 19:49:47 +0000 |
---|---|---|
committer | jschauma <jschauma> | 2003-02-24 19:49:47 +0000 |
commit | 43402373d82bc7c43dd5f8383e9e0c92945ea096 (patch) | |
tree | 226d5ed6b5c23d5c51cf4839e6541bba13eca0b8 /mk/defs.NetBSD.mk | |
parent | 964411653e96bc09ada9ba04288d9b78c264b544 (diff) | |
download | pkgsrc-43402373d82bc7c43dd5f8383e9e0c92945ea096.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.NetBSD.mk')
-rw-r--r-- | mk/defs.NetBSD.mk | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/mk/defs.NetBSD.mk b/mk/defs.NetBSD.mk index 110aba4cd74..7e014a853de 100644 --- a/mk/defs.NetBSD.mk +++ b/mk/defs.NetBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.NetBSD.mk,v 1.44 2003/01/15 20:55:39 jlam Exp $ +# $NetBSD: defs.NetBSD.mk,v 1.45 2003/02/24 19:49:47 jschauma Exp $ # # Variable definitions for the NetBSD operating system. @@ -95,6 +95,17 @@ ULIMIT_CMD_datasize?= ulimit -d `ulimit -H -d` ULIMIT_CMD_stacksize?= ulimit -s `ulimit -H -s` ULIMIT_CMD_memorysize?= ulimit -m `ulimit -H -m` +# imake installs manpages in weird places +# these values from /usr/X11R6/lib/X11/config/NetBSD.cf +IMAKE_MAN_SOURCE_PATH= man/cat +IMAKE_MAN_SUFFIX= 1 +IMAKE_LIBMAN_SUFFIX= 3 +IMAKE_FILEMAN_SUFFIX= 5 +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= 0 + _DO_SHLIB_CHECKS= yes # fixup PLIST for shared libs/run ldconfig _IMAKE_MAKE= ${MAKE} # program which gets invoked by imake _OPSYS_HAS_GMAKE= no # GNU make is not standard |