Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 May 1999 18:08:01 +0900 (KST)
From:      cjh@kr.freebsd.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/11684: New port: korean/hanIM
Message-ID:  <199905130908.SAA48706@hamhae.wdb.co.kr>

next in thread | raw e-mail | index | archive | help

>Number:         11684
>Category:       ports
>Synopsis:       new port: korean/hanIM
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 13 02:10:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     CHOI Junho
>Release:        FreeBSD 3.1-STABLE i386
>Organization:
Webdatabank Co. Seoul, Korea
>Environment:

FreeBSD hamhae.wdb.co.kr 3.2-BETA FreeBSD 3.2-BETA #1: Wed May 12 18:15:02
KST 1999     root@hamhae.wdb.co.kr:/usr/src/sys/compile/HAMHAE  i386

>Description:

New port of Korean Input method, hanIM.
It depends linux_locale ports, which will be submitted soon.

>How-To-Repeat:

Build it with a recent FreeBSD system.

>Fix:
	
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	hanIM
#	hanIM/files
#	hanIM/files/md5
#	hanIM/files/XLC_LOCALE
#	hanIM/pkg
#	hanIM/pkg/COMMENT
#	hanIM/pkg/DESCR
#	hanIM/pkg/PLIST
#	hanIM/pkg/MESSAGE
#	hanIM/patches
#	hanIM/patches/patch-aa
#	hanIM/Makefile
#
echo c - hanIM
mkdir -p hanIM > /dev/null 2>&1
echo c - hanIM/files
mkdir -p hanIM/files > /dev/null 2>&1
echo x - hanIM/files/md5
sed 's/^X//' >hanIM/files/md5 << 'END-of-hanIM/files/md5'
XMD5 (hanIM-1.1b-glibc2.0.7-1.i386.rpm) = 12d6f527dd6d1e0f030431e1cf81976a
END-of-hanIM/files/md5
echo x - hanIM/files/XLC_LOCALE
sed 's/^X//' >hanIM/files/XLC_LOCALE << 'END-of-hanIM/files/XLC_LOCALE'
X#  $XConsortium: ko /main/7 1996/09/28 16:52:27 rws $
X#  XLocale Database Sample for ko.
X# 
X
X# 
X# 	XLC_FONTSET category
X# 
XXLC_FONTSET
X# 	fs0 class (7 bit ASCII)
Xfs0	{
X	charset	{
X		name	ISO8859-1:GL
X	}
X	font	{
X		primary		ISO8859-1:GL
X		vertical_rotate	all
X	}
X}
X# 	fs1 class 
Xfs1	{
X	charset	{
X		name	KSC5601.1987-0:GL
X	}
X	font	{
X		primary	KSC5601.1987-0:GL
X		substitute KSC5601.1987-1:GR
X	}
X}
XEND XLC_FONTSET
X
X# 
X# 	XLC_XLOCALE category
X# 
XXLC_XLOCALE
X
Xencoding_name		ko.euc
Xmb_cur_max		2
Xstate_depend_encoding	False
X
Xwc_encoding_mask	\x30000000
Xwc_shift_bits		7
X
X
X
X
X
X
Xuse_stdc_env		True
Xforce_convert_to_mb	True
X
X
X# 	cs0 class
Xcs0	{
X	side		GL:Default
X	length		1
X	wc_encoding	\x00000000
X	ct_encoding	ISO8859-1:GL
X}
X
X# 	cs1 class
Xcs1	{
X	side		GR:Default
X	length		2
X
X	wc_encoding	\x30000000
X
X
X
X	ct_encoding	KSC5601.1987-0:GL; KSC5601.1987-0:GR
X}
X
XEND XLC_XLOCALE
END-of-hanIM/files/XLC_LOCALE
echo c - hanIM/pkg
mkdir -p hanIM/pkg > /dev/null 2>&1
echo x - hanIM/pkg/COMMENT
sed 's/^X//' >hanIM/pkg/COMMENT << 'END-of-hanIM/pkg/COMMENT'
XMizi Research's Korean X11 Input Method
END-of-hanIM/pkg/COMMENT
echo x - hanIM/pkg/DESCR
sed 's/^X//' >hanIM/pkg/DESCR << 'END-of-hanIM/pkg/DESCR'
XhanIM
X=====
X
XhanIM is Mizi Research's Korean X11 Input Method for UNIX/X11R6.
X
XThis is not a free software. Please read copyright message in
X/usr/X11R6/share/doc/hanIM/LICENSE
X
XFor more information, go to http://www.mizi.co.kr
X
X--
XPorts by CHOI Junho <cjh@kr.freebsd.org>
END-of-hanIM/pkg/DESCR
echo x - hanIM/pkg/PLIST
sed 's/^X//' >hanIM/pkg/PLIST << 'END-of-hanIM/pkg/PLIST'
Xbin/hanIM
Xlib/X11/app-defaults/HanIM
Xlib/X11/hanIM/hanroman.tbl
Xlib/X11/hanIM/help/back5.gif
Xlib/X11/hanIM/help/index.html
Xlib/X11/hanIM/help/intro.gif
Xlib/X11/hanIM/help/property.gif
Xlib/X11/hanIM/help/title.gif
Xlib/X11/hanIM/help/usage.gif
Xlib/X11/hanIM/japanese.tbl
X@dirrm lib/X11/hanIM/help
X@dirrm lib/X11/hanIM
Xshare/doc/hanIM/LICENSE
Xshare/doc/hanIM/README
Xshare/doc/hanIM/XLC_LOCALE
X@comment copy new locale definition(no harm, so need not be uninstalled)
X@exec cp %D/share/doc/hanIM/XLC_LOCALE %D/lib/X11/locale/ko/
Xshare/doc/hanIM/samples/CVS/Entries
Xshare/doc/hanIM/samples/CVS/Repository
Xshare/doc/hanIM/samples/CVS/Root
Xshare/doc/hanIM/samples/IMDemo
Xshare/doc/hanIM/samples/Makefile
Xshare/doc/hanIM/samples/asample.c
Xshare/doc/hanIM/samples/geticval.c
Xshare/doc/hanIM/samples/getimval.c
Xshare/doc/hanIM/samples/gtkimtest.c
Xshare/doc/hanIM/samples/gtkimtest.rc
Xshare/doc/hanIM/samples/i18n.c
Xshare/doc/hanIM/samples/msample.c
Xshare/doc/hanIM/samples/offspot.c
Xshare/doc/hanIM/samples/onspot.c
Xshare/doc/hanIM/samples/overspot.c
Xshare/doc/hanIM/samples/rootwin.c
X@dirrm share/doc/hanIM/samples/CVS
X@dirrm share/doc/hanIM/samples
X@dirrm share/doc/hanIM
END-of-hanIM/pkg/PLIST
echo x - hanIM/pkg/MESSAGE
sed 's/^X//' >hanIM/pkg/MESSAGE << 'END-of-hanIM/pkg/MESSAGE'
XThis is a product of MIZI Research
X----------------------------------
X
X1. This package should not be commercial use,
X   except under permission of Mizi Research.
X2. This package should be redistributed under permission of Mizi Research.
X3. This package is designed for Linux, so use it at your own risk.
X
XPlease read /usr/X11R6/share/doc/hanIM/LICENSE.
X
XFor more information, contact to info@mizi.co.kr or http://www.mizi.co.kr
X
END-of-hanIM/pkg/MESSAGE
echo c - hanIM/patches
mkdir -p hanIM/patches > /dev/null 2>&1
echo x - hanIM/patches/patch-aa
sed 's/^X//' >hanIM/patches/patch-aa << 'END-of-hanIM/patches/patch-aa'
X--- Makefile.orig	Mon Apr 19 11:13:05 1999
X+++ usr/doc/hanIM-1.1b/samples/Makefile	Mon Apr 19 11:16:26 1999
X@@ -1,17 +1,23 @@
X # $Id: Makefile,v 1.10 1999/04/07 21:52:47 frog Exp $
X 
X MKDIRHIER = mkdirhier
X-DESTDIR = /usr/share/examples/hanIM
X+DESTDIR = /usr/X11R6/share/examples/hanIM
X 
X-# Linux (X11R6)
X-#  RedHat Motif seems not to permit i18n.
X+# FreeBSD (X11R6)
X CFLAGS= -I/usr/X11R6/include -g
X LDFLAGS= -L/usr/X11R6/lib
X-XEXTLIB= -lSM -lICE -lXext -lXpm
X-#CFLAGS = -I/usr/local/include -DX_LOCALE -g
X-#LDFLAGS = -L/usr/local/lib -L/usr/X11R6/lib
X-XEXTLIB = -lSM -lICE -lXext -lXpm
X+XEXTLIB= -lSM -lICE -lXext -lXpm -lxpg4
X NETLIBS =
X+
X+# Linux (X11R6)
X+#  RedHat Motif seems not to permit i18n.
X+#CFLAGS= -I/usr/X11R6/include -g
X+#LDFLAGS= -L/usr/X11R6/lib
X+#XEXTLIB= -lSM -lICE -lXext -lXpm
X+##CFLAGS = -I/usr/local/include -DX_LOCALE -g
X+##LDFLAGS = -L/usr/local/lib -L/usr/X11R6/lib
X+#XEXTLIB = -lSM -lICE -lXext -lXpm
X+#NETLIBS =
X 
X # Solariz 2.x (X11R5 CDE)
X # CFLAGS = -I/usr/dt/include -DX_LOCALE
END-of-hanIM/patches/patch-aa
echo x - hanIM/Makefile
sed 's/^X//' >hanIM/Makefile << 'END-of-hanIM/Makefile'
X# New ports collection makefile for:    hanIM
X# Version required:     1.0
X# Date created:         17 Mar 1998
X# Whom:                 CHOI Junho <cjh@kr.freebsd.org
X#
X# $Id$
X#
X
XDISTNAME=       hanIM-${HANIM_VER}-${HANIM_VER_PL}.i386
X#PKGNAME=        ko-hanIM-${HANIM_VER}p${HANIM_VER_PL}
XPKGNAME=        ko-hanIM-${HANIM_VER}
XCATEGORIES=     korean x11
XMASTER_SITES=   http://www.mizi.co.kr/packages/hanIM/
XEXTRACT_SUFX=   .rpm
X
XMAINTAINER=     cjh@kr.freebsd.org
X
XBUILD_DEPENDS=	rpm2cpio:${PORTSDIR}/misc/rpm
XRUN_DEPENDS=	${PREFIX}/lib/X11/fonts/local/mzgt16h1.pcf.gz:${PORTSDIR}/korean/mizifont \
X		/compat/linux/lib/libc.so.6:${PORTSDIR}/emulators/linux_lib \
X		/compat/linux/usr/share/locale/ko/LC_MESSAGES/SYS_LC_MESSAGES:${PORTSDIR}/korean/linux_locale
X
XNO_CDROM=	"Not a free software"
X
XUSE_X_PREFIX=	yes
X#NO_PATCH=	yes
X#NO_BUILD=	yes
XNO_WRKSUBDIR=	yes
XSTRIP=
X
XRPM2CPIO=	rpm2cpio
XCPIO=		/usr/bin/cpio
XCPIO_OPT=	-i --make-directories
X
XHANIM_VER=	1.1b
XHANIM_VER_PL=	glibc2.0.7-1
X
Xdo-extract:
X	@${RM} -rf ${WRKDIR} && \
X	${MKDIR} ${WRKDIR} && \
X	cd ${WRKDIR} && \
X	${RPM2CPIO} ${_DISTDIR}/${DISTFILES} | ${CPIO} ${CPIO_OPT}
X
Xdo-build:
X	# documents & samples
X	${RM} ${WRKDIR}/usr/doc/hanIM-${HANIM_VER}/samples/*.orig
X	# dirty workaround. you should delete compiled garbages!
X	${RM} ${WRKDIR}/usr/doc/hanIM-${HANIM_VER}/samples/.#* \
X	      ${WRKDIR}/usr/doc/hanIM-${HANIM_VER}/samples/*.o \
X	      ${WRKDIR}/usr/doc/hanIM-${HANIM_VER}/samples/asample \
X	      ${WRKDIR}/usr/doc/hanIM-${HANIM_VER}/samples/overspot \
X	      ${WRKDIR}/usr/doc/hanIM-${HANIM_VER}/samples/rootwin
X
Xdo-install:
X	# binary
X	${INSTALL_PROGRAM} ${WRKDIR}/usr/X11R6/bin/hanIM ${PREFIX}/bin/
X
X	# application defaults
X	${INSTALL_DATA} ${WRKDIR}/usr/X11R6/lib/X11/app-defaults/HanIM \
X		${PREFIX}/lib/X11/app-defaults/
X
X	# help files
X	${MKDIR} ${PREFIX}/lib/X11/hanIM/help
X	${INSTALL_DATA} ${WRKDIR}/usr/X11R6/lib/X11/hanIM/*.tbl \
X		${PREFIX}/lib/X11/hanIM/
X	${INSTALL_DATA} ${WRKDIR}/usr/X11R6/lib/X11/hanIM/help/* \
X		${PREFIX}/lib/X11/hanIM/help/
X
X	# documents & samples
X	${MKDIR} ${PREFIX}/share/doc/hanIM
X	${CP} -r ${WRKDIR}/usr/doc/hanIM-${HANIM_VER}/* \
X		${PREFIX}/share/doc/hanIM
X
X	# patch XLC_LOCALE for ko_KR.EUC(harmless)
X	${INSTALL_DATA} ${FILESDIR}/XLC_LOCALE \
X		${PREFIX}/lib/X11/locale/ko/
X	${INSTALL_DATA} ${FILESDIR}/XLC_LOCALE \
X		${PREFIX}/share/doc/hanIM/
X
Xpost-install:
X	@cat ${PKGDIR}/MESSAGE
X
X.include <bsd.port.mk>
END-of-hanIM/Makefile
exit


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905130908.SAA48706>