summaryrefslogtreecommitdiff
path: root/mk/defs.OpenBSD.mk
diff options
context:
space:
mode:
authorjschauma <jschauma>2003-02-24 19:49:47 +0000
committerjschauma <jschauma>2003-02-24 19:49:47 +0000
commit45068225c683f7e5f1a3752b36f4afe1ae7bf065 (patch)
tree226d5ed6b5c23d5c51cf4839e6541bba13eca0b8 /mk/defs.OpenBSD.mk
parent09b5435d6a4aec479ca3474fdc08cb6234c4c0f0 (diff)
downloadpkgsrc-45068225c683f7e5f1a3752b36f4afe1ae7bf065.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.OpenBSD.mk')
-rw-r--r--mk/defs.OpenBSD.mk13
1 files changed, 12 insertions, 1 deletions
diff --git a/mk/defs.OpenBSD.mk b/mk/defs.OpenBSD.mk
index 3af3228e0f9..12047051bf2 100644
--- a/mk/defs.OpenBSD.mk
+++ b/mk/defs.OpenBSD.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.OpenBSD.mk,v 1.13 2003/01/15 20:55:39 jlam Exp $
+# $NetBSD: defs.OpenBSD.mk,v 1.14 2003/02/24 19:49:47 jschauma Exp $
#
# Variable definitions for the OpenBSD 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/OpenBSD.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