aboutsummaryrefslogtreecommitdiffstats
path: root/korean
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2003-08-25 09:23:38 +0800
committerperky <perky@FreeBSD.org>2003-08-25 09:23:38 +0800
commit885ee8ea8be6c9aeac6197f88bcb8e8afdb8fbdb (patch)
treea59673ea8d5402aa630af431c2bb0812a79b43f3 /korean
parent5a9457788c46240acc9a3eda76b29a5d2ac780a2 (diff)
downloadfreebsd-ports-gnome-885ee8ea8be6c9aeac6197f88bcb8e8afdb8fbdb.tar.gz
freebsd-ports-gnome-885ee8ea8be6c9aeac6197f88bcb8e8afdb8fbdb.tar.zst
freebsd-ports-gnome-885ee8ea8be6c9aeac6197f88bcb8e8afdb8fbdb.zip
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.
Diffstat (limited to 'korean')
-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>