aboutsummaryrefslogtreecommitdiffstats
path: root/korean/hanterm
diff options
context:
space:
mode:
authorcjh <cjh@FreeBSD.org>2002-03-21 13:32:25 +0800
committercjh <cjh@FreeBSD.org>2002-03-21 13:32:25 +0800
commit4fdd1db0aa49aa3199788aaca23ccad98a410441 (patch)
tree5de09162abd3027c85349f82447258bda3e59706 /korean/hanterm
parent48500732cf79da32cf2fa46258c72223ba457520 (diff)
downloadfreebsd-ports-gnome-4fdd1db0aa49aa3199788aaca23ccad98a410441.tar.gz
freebsd-ports-gnome-4fdd1db0aa49aa3199788aaca23ccad98a410441.tar.zst
freebsd-ports-gnome-4fdd1db0aa49aa3199788aaca23ccad98a410441.zip
- Update to 3.1.6
- add patch to make automata flexible - PORTDOCS support PR: ports/36036 Submitted by: Hye-Shik Chang <perky@fallin.lv>
Diffstat (limited to 'korean/hanterm')
-rw-r--r--korean/hanterm/Makefile7
-rw-r--r--korean/hanterm/distinfo2
-rw-r--r--korean/hanterm/files/patch-automata.c54
-rw-r--r--korean/hanterm/pkg-plist6
4 files changed, 62 insertions, 7 deletions
diff --git a/korean/hanterm/Makefile b/korean/hanterm/Makefile
index a4dff4d306b1..fc1ac4648c07 100644
--- a/korean/hanterm/Makefile
+++ b/korean/hanterm/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= hanterm
-PORTVERSION= 3.1.5
-PORTREVISION= 1
+PORTVERSION= 3.1.6
CATEGORIES= korean x11
MASTER_SITES= http://hanterm.org/download/ \
ftp://ftp.kr.FreeBSD.org/pub/FreeBSD-kr/distfiles/
@@ -25,7 +24,9 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/Hanterm.ad \
${PREFIX}/lib/X11/app-defaults/Hanterm
${MKDIR} ${PREFIX}/share/doc/hanterm
- ${INSTALL_DATA} ${WRKSRC}/doc/hanterm.html ${PREFIX}/share/doc/hanterm/
+.if !defined(NOPORTDOCS)
+ ${INSTALL_DATA} ${WRKSRC}/doc/devel/hanterm.html ${PREFIX}/share/doc/hanterm/
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/hanterm/
+.endif
.include <bsd.port.mk>
diff --git a/korean/hanterm/distinfo b/korean/hanterm/distinfo
index e3cd639426c1..4a548cf8b41f 100644
--- a/korean/hanterm/distinfo
+++ b/korean/hanterm/distinfo
@@ -1 +1 @@
-MD5 (hanterm-3.1.5.tar.gz) = f6ce487166660bc0e135299fa2b34e83
+MD5 (hanterm-3.1.6.tar.gz) = 243081bee614b0e1d9fea1e0c46b2ce9
diff --git a/korean/hanterm/files/patch-automata.c b/korean/hanterm/files/patch-automata.c
new file mode 100644
index 000000000000..43431dc89e01
--- /dev/null
+++ b/korean/hanterm/files/patch-automata.c
@@ -0,0 +1,54 @@
+diff -ruN automata.c.orig automata.c
+--- automata.c.orig Mon May 28 11:13:24 2001
++++ automata.c Wed Feb 20 02:37:27 2002
+@@ -112,15 +112,15 @@
+ /* 9 : ; < = > */
+ '9' | F_A, ':' | F_A, ';' | F_A, '<' | F_A, '=' | F_A, '>' | F_A,
+ /* ? @ A B C D */
+- '?' | F_A, '@' | F_A, 'A' | F_A, 'B' | F_A, 'C' | F_A, 'D' | F_A,
++ '?' | F_A, '@' | F_A, 8 | F_C_C, 26 | F_V, 16 | F_A, 13 | F_C_C,
+ /* E F G H I J */
+- 6 | F_C_F, 'F' | F_A, 'G' | F_A, 'H' | F_A, 'I' | F_A, 'J' | F_A,
++ 6 | F_C_F, 7 | F_C_C, 20 | F_C_C, 13 | F_V, 5 | F_V, 7 | F_V,
+ /* K L M N O P */
+- 'K' | F_A, 'L' | F_A, 'M' | F_A, 'N' | F_A, 6 | F_V, 12 | F_V,
++ 3 | F_V, 29 | F_V, 27 | F_V, 20 | F_V, 6 | F_V, 12 | F_V,
+ /* Q R S T U V */
+- 10 | F_C_F, 3 | F_C_C, 'S' | F_A, 12 | F_C_C, 'U' | F_A, 'V' | F_A,
++ 10 | F_C_F, 3 | F_C_C, 4 | F_C_C, 12 | F_C_C, 11 | F_V, 19 | F_C_C,
+ /* W X Y Z [ \ */
+- 15 | F_C_F, 'X' | F_A, 'Y' | F_A, 'Z' | F_A, '[' | F_A, '\\' | F_A,
++ 15 | F_C_F, 18| F_C_C, 19 | F_V, 17 | F_C_C, '[' | F_A, '\\' | F_A,
+ /* ] ^ _ ` a b */
+ ']' | F_A, '^' | F_A, '_' | F_A, '`' | F_A, 8 | F_C_C, 26 | F_V,
+ /* c d e f g h */
+@@ -412,7 +412,7 @@
+ int c;
+ {
+ /* ¸ðÀ½ÀÇ ¹üÀ§ °Ë»ö */
+- if (c < 'L' || c > 'y')
++ if (c < 'A' || c > 'z')
+ return 0;
+
+ if (table_for_2_qwerty[c - '!'] & F_V)
+@@ -435,9 +435,9 @@
+ /* 0 1 2 3 4 5 6 7 8 9 : ; < = > */
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ /* ? @ A B C D E F G H I J K L M */
+- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
++ 0, 0, 17, 0, 25, 23, 8, 9, 29, 0, 0, 0, 0, 0, 0,
+ /* N O P Q R S T U V W X Y Z [ \ */
+- 0, 0, 0, 0, 3, 0, 22, 0, 0, 0, 0, 0, 0, 0, 0,
++ 0, 0, 0, 19, 3, 5, 22, 0, 28, 24, 27, 0, 26, 0, 0,
+ /* ] ^ _ ` a b c d e f g h i j k */
+ 0, 0, 0, 0, 17, 0, 25, 23, 8, 9, 29, 0, 0, 0, 0,
+ /* l m n o p q r s t u v w x y z */
+@@ -445,7 +445,7 @@
+ };
+
+ /* Á¾¼ºÀÇ ¹üÀ§ °Ë»ö */
+- if (c < 'R' || c > 'z')
++ if (c < 'A' || c > 'z')
+ return 0;
+
+ if (table_for_2_qwerty[c - '!'] & F_C_L)
diff --git a/korean/hanterm/pkg-plist b/korean/hanterm/pkg-plist
index 4898863c75cb..75dce5a6f2de 100644
--- a/korean/hanterm/pkg-plist
+++ b/korean/hanterm/pkg-plist
@@ -1,5 +1,5 @@
bin/hanterm
lib/X11/app-defaults/Hanterm
-share/doc/hanterm/ChangeLog
-share/doc/hanterm/hanterm.html
-@dirrm share/doc/hanterm
+%%PORTDOCS%%share/doc/hanterm/ChangeLog
+%%PORTDOCS%%share/doc/hanterm/hanterm.html
+%%PORTDOCS%%@dirrm share/doc/hanterm