1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

update to 2.0.0

This commit is contained in:
CHOI Junho 2001-09-20 04:25:11 +00:00
parent 933fe67cd2
commit d6ef81783e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47996
8 changed files with 72 additions and 21 deletions

View File

@ -6,34 +6,30 @@
# #
PORTNAME= hanterm PORTNAME= hanterm
PORTVERSION= 19 PORTVERSION= 2.0.0
PORTREVISION= 1 PORTEPOCH= 1
CATEGORIES= korean x11 CATEGORIES= korean x11
MASTER_SITES= http://www.kr.FreeBSD.org/~hwang/hanterm/ \ MASTER_SITES= http://www.kr.FreeBSD.org/~hwang/hanterm/ \
http://hanterm.org/download/hanterm-xf/ http://hanterm.org/download/hanterm-xf/
PKGNAMESUFFIX= -xf PKGNAMESUFFIX= -xf
DISTNAME= hanterm${PKGNAMESUFFIX}-p${PORTVERSION} DISTNAME= hanterm${PKGNAMESUFFIX}-${PORTVERSION}
MAINTAINER= cjh@FreeBSD.org MAINTAINER= cjh@FreeBSD.org
LIB_DEPENDS= iconv.2:${PORTSDIR}/converters/iconv LIB_DEPENDS= iconv.2:${PORTSDIR}/converters/iconv
RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/local/johabm16.pcf.gz:${PORTSDIR}/korean/johabfonts RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/local/gulim12.pcf.gz:${PORTSDIR}/korean/baekmukfonts-bdf \
${LOCALBASE}/share/iconv/johab.cct:${PORTSDIR}/converters/iconv-extra
USE_X_PREFIX= yes USE_X_PREFIX= yes
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-16-color CONFIGURE_ARGS+= --enable-boxchar --enable-ansi-color \
--enable-256-color --enable-chat --enable-now-chat
CONFIGURE_ENV+= LIBS="${LDFLAGS} -L${LOCALBASE}/lib -liconv" \ CONFIGURE_ENV+= LIBS="${LDFLAGS} -L${LOCALBASE}/lib -liconv" \
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" CFLAGS="${CFLAGS} -I${LOCALBASE}/include"
NO_INSTALL_MANPAGES= yes MAN1= hanterm.1 resize.1
do-install: pre-install:
${INSTALL_PROGRAM} ${WRKSRC}/hanterm ${PREFIX}/bin ${MKDIR} ${PREFIX}/share/hangul_keyboard
@${INSTALL_DATA} ${WRKSRC}/Hanterm.ad \ ${CAT} ${FILESDIR}/defaultfont.ad >> ${WRKSRC}/Hanterm.ad
${PREFIX}/lib/X11/app-defaults/Hanterm
${MKDIR} ${PREFIX}/share/doc/hanterm-xf
${INSTALL_DATA} ${WRKSRC}/hanterm-doc/README.xf \
${PREFIX}/share/doc/hanterm-xf
${INSTALL_DATA} ${WRKSRC}/hanterm-doc/README.xf.old \
${PREFIX}/share/doc/hanterm-xf
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (hanterm-xf-p19.tar.gz) = 5843e11a5d8b2e9c455c42e8743f3d5c MD5 (hanterm-xf-2.0.0.tar.gz) = 76c3b30a8749e255909f1b0d5be55b6b

View File

@ -0,0 +1,10 @@
! Default font configuration for hanterm-xf
! $FreeBSD$
!
! Hanterm.ad has no font configuration, so we need default font working in
! any case
!
*vt100.boldFont: -schumacher-clean-medium-r-normal--16-*-*-*-*-*-*
*vt100.font: -schumacher-clean-medium-r-normal--16-*-*-*-*-*-*
*vt100.hangulFont: -baekmuk-gulim-medium-r-normal--16-160-75-75-m-160-ksc5601.1987-0
*fontSet: -adobe-helvetica-medium-r-normal--14-*-*-*-*-*-iso8859-1,-baekmuk-gulim-medium-r-normal--16-*-*-*-*-*-ksc5601.1987-0

View File

@ -0,0 +1,27 @@
--- configure.orig Tue Aug 28 14:36:15 2001
+++ configure Tue Sep 11 18:52:18 2001
@@ -5956,11 +5956,11 @@
int main (int argc, char **argv)
{
- const char *jp = "\x1B\x24\x42\x46\x7C\x4B\x5C\x38\x6C";
- const char *utf8 = "\xE6\x97\xA5\xE6\x9C\xAC\xE8\xAA\x9E";
- char *transbuf = malloc (10), *trans = transbuf;
+ const char *jp = "\xbe\xc8\xb3\xe7\xc7\xcf\xbc\xbc\xbf\xe4";
+ const char *utf8 = "\xec\x95\x88\xeb\x85\x95\xed\x95\x98\xec\x84\xb8\xec\x9a\x94";
+ char *transbuf = malloc (16), *trans = transbuf;
iconv_t cd;
- size_t jp_len = strlen (jp), utf8_len = 10;
+ size_t jp_len = strlen (jp), utf8_len = 16;
size_t utf8_real_len = strlen (utf8);
#ifdef HAVE_GNU_GET_LIBC_VERSION
@@ -5969,7 +5969,7 @@
exit (1);
#endif
- cd = iconv_open ("UTF-8", "ISO-2022-JP");
+ cd = iconv_open ("UTF-8", "EUC-KR");
if (!cd)
exit (1);
if (iconv (cd, &jp, &jp_len, &trans, &utf8_len) == -1 || jp_len != 0)

View File

@ -0,0 +1,11 @@
--- Makefile.in.orig Tue Sep 11 19:00:32 2001
+++ Makefile.in Tue Sep 11 19:00:48 2001
@@ -151,7 +151,7 @@
install-full :: $(BINNAME)$x resize$x
$(SHELL) $(srcdir)/sinstall.sh "$(INSTALL_PROGRAM)" $(BINNAME)$x @XTERM_PATH@ $(BINDIR)/$(binary_xterm)
$(INSTALL_PROGRAM) -s -m 755 resize$x $(BINDIR)/$(binary_resize)
- $(INSTALL_PROGRAM) -m 444 keyboard/*.kbd $(prefix)/share/hangul_keyboard
+ $(INSTALL_DATA) -m 444 keyboard/*.kbd $(prefix)/share/hangul_keyboard
install \
install-man \

View File

@ -1 +1 @@
An X11R6-based xterm hacked for managing Korean languages X11R6-based xterm hacked for managing Korean languages

View File

@ -3,8 +3,8 @@ hanterm-xf
It is one of many variants of hanterm, a well-known program for managing It is one of many variants of hanterm, a well-known program for managing
Korean language in X11. This version supports the features Korean language in X11. This version supports the features
such as automatic fonts detection, johab844 font support, and based on such as automatic fonts detection, johab844 font support,
XFree86's xterm code. The scrollbar is displayed in right. and based on X11R6 xterm code. The scrollbar is displayed in right.
-- --
CHOI Junho <cjh@FreeBSD.org> CHOI Junho <cjh@FreeBSD.org>

View File

@ -1,4 +1,11 @@
bin/hanterm bin/hanterm
bin/resize
lib/X11/app-defaults/Hanterm lib/X11/app-defaults/Hanterm
share/doc/hanterm-xf/README.xf lib/X11/app-defaults/Hanterm-color
share/doc/hanterm-xf/README.xf.old share/hangul_keyboard/滴国侥.kbd
share/hangul_keyboard/靛焊遏_滴国侥.kbd
share/hangul_keyboard/靛焊遏_技国侥_390.kbd
share/hangul_keyboard/靛焊遏_技国侥_弥辆.kbd
share/hangul_keyboard/技国侥_390.kbd
share/hangul_keyboard/技国侥_弥辆.kbd
@dirrm share/hangul_keyboard