summaryrefslogtreecommitdiff
path: root/korean/nabi
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2003-08-25 01:23:38 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2003-08-25 01:23:38 +0000
commit0b0207e0a42c66a09e29786a94b3a213dbb7442f (patch)
treeb20269de8819916f12d25e5a45cb803d56ca1d36 /korean/nabi
parentsecurity/pear-Auth: upgrading to 1.2.2. (diff)
Add two knobs that changes default keyboard layout:
o WITH_LAYOUT_390=yes Use 390 layout by default. o WITH_LAYOUT_3FINAL=yes Use 3bul final layout by default.
Notes
Notes: svn path=/head/; revision=87631
Diffstat (limited to 'korean/nabi')
-rw-r--r--korean/nabi/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/korean/nabi/Makefile b/korean/nabi/Makefile
index 7a4f2a81f863..ceb97e6b364f 100644
--- a/korean/nabi/Makefile
+++ b/korean/nabi/Makefile
@@ -27,5 +27,10 @@ post-patch:
.if ${OSVERSION} < 500028
${ECHO_CMD} "#include <sys/types.h>" > ${WRKSRC}/src/stdint.h
.endif
+.if defined(WITH_LAYOUT_390)
+ ${REINPLACE_CMD} -e 's,2qwerty,39qwerty,g' ${WRKSRC}/src/ui.c
+.elif defined(WITH_LAYOUT_3FINAL)
+ ${REINPLACE_CMD} -e 's,2qwerty,3fqwerty,g' ${WRKSRC}/src/ui.c
+.endif
.include <bsd.port.post.mk>