summaryrefslogtreecommitdiff
path: root/comms/tn3270
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2010-01-17 02:11:15 +0000
committerdholland <dholland@pkgsrc.org>2010-01-17 02:11:15 +0000
commitfdb61392509a11bbfea7ac4d7a574f90915496f6 (patch)
treea3723e8dc64a17e6bf6137f57201e706807ba735 /comms/tn3270
parent915fb4e876b0608da58c0c994522dd4f08eaff47 (diff)
downloadpkgsrc-fdb61392509a11bbfea7ac4d7a574f90915496f6.tar.gz
support PKGMANDIR
Diffstat (limited to 'comms/tn3270')
-rw-r--r--comms/tn3270/files/mk/setup.mk11
1 files changed, 8 insertions, 3 deletions
diff --git a/comms/tn3270/files/mk/setup.mk b/comms/tn3270/files/mk/setup.mk
index 546c6cd95b0..8a1119eb465 100644
--- a/comms/tn3270/files/mk/setup.mk
+++ b/comms/tn3270/files/mk/setup.mk
@@ -1,4 +1,4 @@
-# $NetBSD: setup.mk,v 1.1 2010/01/17 01:41:33 dholland Exp $
+# $NetBSD: setup.mk,v 1.2 2010/01/17 02:11:15 dholland Exp $
KBD= unix.kbd
@@ -8,9 +8,11 @@ KBD= unix.kbd
DESTDIR?=# empty
PREFIX?=/usr/local
+PKGMANDIR?=man
+
BINDIR?=$(PREFIX)/bin
-MAN1DIR?=$(PREFIX)/man/man1
-MAN5DIR?=$(PREFIX)/man/man5
+MAN1DIR?=$(PREFIX)/$(PKGMANDIR)/man1
+MAN5DIR?=$(PREFIX)/$(PKGMANDIR)/man5
SHAREDIR?=$(PREFIX)/share/tn3270
BINMODE?=755
@@ -40,4 +42,7 @@ INSTALLBIN?=$(INSTALL) -c -m $(BINMODE)
INSTALLMAN?=$(INSTALL) -c -m $(MANMODE)
INSTALLFILE?=$(INSTALL) -c -m $(FILESMODE)
+############################################################
+# substitutions
+
CFLAGS+=-DPATH_MAP3270=\"$(SHAREDIR)/map3270\"