summaryrefslogtreecommitdiff
path: root/misc/dt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/dt/Makefile')
-rw-r--r--misc/dt/Makefile18
1 files changed, 17 insertions, 1 deletions
diff --git a/misc/dt/Makefile b/misc/dt/Makefile
index 89f37b0c3b4..4a5a427dcf3 100644
--- a/misc/dt/Makefile
+++ b/misc/dt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 1999/07/06 17:30:21 ender Exp $
+# $NetBSD: Makefile,v 1.5 1999/09/07 14:53:55 jlam Exp $
#
DISTNAME= dt-1.1.7
@@ -18,6 +18,22 @@ MIRROR_DISTFILE=no
ALL_TARGET= depend all
DTDOCSDIR= ${PREFIX}/share/doc/dt
+.include "../../mk/bsd.prefs.mk"
+
+# DT_LAYOUT specifies which keyboard layout to use.
+# Currently supported keyboard layouts:
+#
+# US US
+# FI Finnish
+# FR French
+# GER German
+# DV Dvorak
+#
+DT_LAYOUT?= FI
+
+CPPFLAGS+= -D${DT_LAYOUT}_LAYOUT
+MAKE_ENV+= CPPFLAGS="${CPPFLAGS}"
+
post-install:
${INSTALL_DATA_DIR} ${DTDOCSDIR}
(cd ${WRKSRC}; ${INSTALL_DATA} README dt.html example.dtrc ${DTDOCSDIR})