diff options
author | dholland <dholland@pkgsrc.org> | 2010-01-17 02:11:15 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2010-01-17 02:11:15 +0000 |
commit | 503a30d0b2f4a6ad7857a47da24713200b3038a8 (patch) | |
tree | a3723e8dc64a17e6bf6137f57201e706807ba735 /comms | |
parent | fa6d7e5f47d6128b02043cee5e1fb40d87183cab (diff) | |
download | pkgsrc-503a30d0b2f4a6ad7857a47da24713200b3038a8.tar.gz |
support PKGMANDIR
Diffstat (limited to 'comms')
-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\" |