diff options
Diffstat (limited to 'comms/tn3270/files/mk/setup.mk')
-rw-r--r-- | comms/tn3270/files/mk/setup.mk | 11 |
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\" |