The Korean console, modeled after kon (for Japanese).

PR:		3334
Submitted by:	Choi Jun Ho <junker@moderato.snu.ac.kr>
This commit is contained in:
Satoshi Asami 1997-06-04 08:12:07 +00:00
parent 6019323243
commit 66a9f27b55
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=6757
7 changed files with 83 additions and 0 deletions

28
korean/han/Makefile Normal file
View File

@ -0,0 +1,28 @@
# New ports collection makefile for: han
# Version required: 1.0fb
# Date created: 12 Apr 1997
# Whom: Choi Jun Ho <junker@jazz.snu.ac.kr>
#
# $Id$
#
DISTNAME= han-1.0fb
PKGNAME= kr-han-1.0fb
CATEGORIES= korean
MASTER_SITES= ftp://jazz.snu.ac.kr/pub/unix/FreeBSD-kr/source/han/
MAINTAINER= junker@jazz.snu.ac.kr
USE_GMAKE= yes
post-configure:
sed -e 's%%WRKSRC%%${WRKSRC}' \
-e 's%%PREFIX%%${PREFIX}' \
-e 's%%DISTDIR%%${DISTDIR}' \
files/dotconfig > ${WRKSRC}/.config
sed -e 's%%WRKSRC%%${WRKSRC}' \
-e 's%%PREFIX%%${PREFIX}' \
-e 's%%DISTDIR%%${DISTDIR}' \
files/han.sh > ${WRKSRC}/han.sh
.include <bsd.port.mk>

1
korean/han/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (han-1.0fb.tar.gz) = 54a39dd32e9292509a3fa75547a05963

View File

@ -0,0 +1,18 @@
INCDIR = %%WRKSRC%%/include
LIB = %%WRKSRC%%/lib/libgon.a
DISTDIR = %%DISTDIR%%
TOPDIR = %%PREFIX%%
BINDIR = $(TOPDIR)/bin
LIBDIR = $(TOPDIR)/etc
FONTDIR = $(TOPDIR)/share/fonts/han
CONFIG_NAME = han.cfg
OPTS = -DCONFIG_NAME=\"$(LIBDIR)/$(CONFIG_NAME)\" -I$(INCDIR)
CFLAGS = -O -Wall $(OPTS)
LD = gcc $(CFLAGS)
RM = rm -f
INSTALL = install -c -s
SUBDIRS = lib src font # tools
HAS_VGA = HAS_VGA
FLD_BDF = FLD_BDF

11
korean/han/files/han.sh Normal file
View File

@ -0,0 +1,11 @@
#!/bin/sh
#
# Wrapper script of han.
#
# 12 Apr 1997, Choi Jun Ho <junker@jazz.snu.ac.kr>
#
gzip -cd %%PREFIX%%/share/fonts/han/h16m.bdf.gz \
| %%PREFIX%%/bin/hanfld -t bdf -n
gzip -cd %%PREFIX%%/share/fonts/han/8x16pc.bdf.gz \
| %%PREFIX%%/bin/hanfld -t bdf -n
exec han.bin

1
korean/han/pkg-comment Normal file
View File

@ -0,0 +1 @@
A hangul console.

17
korean/han/pkg-descr Normal file
View File

@ -0,0 +1,17 @@
Han-1.0fb
---------
HAN is a hangul console. This is an alpha version. Supported video card is
VGA only, and, supported font are Minix/V and BDF. This program requires
shared memory.
This version supports ko_KR.euc.
Orignal kon written by manabe@papilio.tutics.tut.ac.jp.
FreeBSD port of kon is done by ogura@st.rim.or.jp.
Han written by nsroh@juno.kaist.ac.kr, hanmaum@baram.kaist.ac.kr.
FreeBSD port of han is done by yujeny@pandora.snu.ac.kr.
--
Port by Choi Jun Ho <junker@jazz.snu.ac.kr>

7
korean/han/pkg-plist Normal file
View File

@ -0,0 +1,7 @@
bin/han
bin/han.bin
bin/hanfld
etc/han.cfg
share/fonts/han/8x16pc.bdf.gz
share/fonts/han/h16m.bdf.gz
@dirrm share/fonts/han