diff options
author | jlam <jlam@pkgsrc.org> | 1999-09-07 14:53:55 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 1999-09-07 14:53:55 +0000 |
commit | 15c573063bffce5cd887a6b962558f82286fc14f (patch) | |
tree | 7514e951ca070fafd5f406dbd8ac15a8549bffd4 /misc/dt/Makefile | |
parent | 00b15d99cace15e624cace50643f3a8bff5bb5da (diff) | |
download | pkgsrc-15c573063bffce5cd887a6b962558f82286fc14f.tar.gz |
Let user choose which keyboard layout to compile via mk.conf make variable
`DT_LAYOUT'.
Diffstat (limited to 'misc/dt/Makefile')
-rw-r--r-- | misc/dt/Makefile | 18 |
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}) |