Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 1999 19:39:33 +0900 (KST)
From:      cjh@wdb.co.kr
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/13491: Ports update: korean/ami
Message-ID:  <199908311039.TAA01139@hamhae.wdb.co.kr>

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

>Number:         13491
>Category:       ports
>Synopsis:       Ports Update: korean/ami
>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:   Tue Aug 31 03:50:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     CHOI Junho
>Release:        FreeBSD 3.2-RELEASE i386
>Organization:
Web Data Bank Co.
>Environment:

FreeBSD hamhae.wdb.co.kr 3.2-RELEASE FreeBSD 3.2-RELEASE #2: Thu Aug  5 13:41:42 KST 1999     root@hamhae.wdb.co.kr:/usr/src/sys/compile/HAMHAE  i386

>Description:

Regular ports update.

>How-To-Repeat:

build it!

>Fix:
	
diff -uNr /usr/ports/korean/ami/Makefile ami/Makefile
--- /usr/ports/korean/ami/Makefile	Tue Aug 31 03:02:07 1999
+++ ami/Makefile	Tue Aug 31 18:01:03 1999
@@ -1,26 +1,48 @@
 # New ports collection makefile for:	ami
-# Version required:     ami-0.1.3
+# Version required:     ami-0.4.1
 # Date created:		05 Jun 1999
 # Whom:			CHOI Junho <cjh@kr.freebsd.org>
 #
-# $FreeBSD: ports/korean/ami/Makefile,v 1.2 1999/08/30 12:08:38 peter Exp $
+# $FreeBSD$
 #
 
-DISTNAME=	ami-0.1.3
-PKGNAME=	ko-ami-0.1.3
+DISTNAME=	ami-0.4.1
+PKGNAME=	ko-ami-0.4.1
 CATEGORIES=	korean x11
-MASTER_SITES=	http://www.shinbiro.com/cug/linux/pds0/A/238/ \
-		ftp://ftp.kr.freebsd.org/pub/FreeBSD-kr/distfiles/
-
+MASTER_SITES=	http://www.kr.freebsd.org/~hwang/ami/
+		
 MAINTAINER=	cjh@kr.freebsd.org
 
 LIB_DEPENDS=    gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
 
-WRKSRC=		${WRKDIR}/ami
-
-ALL_TARGET=	ami
+USE_X_PREFIX=	YES
+GNU_CONFIGURE=	YES
+CONFIGURE_ENV=	GLIB_CONFIG=${LOCALBASE}/bin/glib12-config \
+		GTK_CONFIG=${X11BASE}/bin/gtk12-config
+
+post-build:
+	@cd ${WRKSRC}/hanjadic; \
+	${MAKE}
+
+post-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/hanjadic/hanja-hwp2ami ${PREFIX}/bin
+
+	# patch XLC_LOCALE for ko_KR.EUC(harmless)
+	if [ -f ${PREFIX}/lib/X11/locale/ko/XLC_LOCALE ]; then \
+		${MV} -f ${PREFIX}/lib/X11/locale/ko/XLC_LOCALE \
+			${PREFIX}/lib/X11/locale/ko/XLC_LOCALE.orig; \
+	fi
+	${INSTALL_DATA} ${FILESDIR}/XLC_LOCALE \
+		${PREFIX}/lib/X11/locale/ko/
+
+	${MKDIR} ${PREFIX}/share/doc/ami
+	${INSTALL_DATA} ${FILESDIR}/XLC_LOCALE \
+		${PREFIX}/share/doc/ami
+
+.for NAME in AUTHORS README NEWS COPYING ChangeLog amirc
+	${INSTALL_DATA} ${WRKSRC}/${NAME} \
+		${PREFIX}/share/doc/ami
+.endfor
 
-do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/ami ${PREFIX}/bin/ami
 
 .include <bsd.port.mk>
diff -uNr /usr/ports/korean/ami/files/XLC_LOCALE ami/files/XLC_LOCALE
--- /usr/ports/korean/ami/files/XLC_LOCALE	Thu Jan  1 09:00:00 1970
+++ ami/files/XLC_LOCALE	Tue Aug 31 18:00:14 1999
@@ -0,0 +1,72 @@
+#  $XConsortium: ko /main/7 1996/09/28 16:52:27 rws $
+#  XLocale Database Sample for ko.
+# 
+
+# 
+# 	XLC_FONTSET category
+# 
+XLC_FONTSET
+# 	fs0 class (7 bit ASCII)
+fs0	{
+	charset	{
+		name	ISO8859-1:GL
+	}
+	font	{
+		primary		ISO8859-1:GL
+		vertical_rotate	all
+	}
+}
+# 	fs1 class 
+fs1	{
+	charset	{
+		name	KSC5601.1987-0:GL
+	}
+	font	{
+		primary	KSC5601.1987-0:GL
+		substitute KSC5601.1987-0:GR
+	}
+}
+END XLC_FONTSET
+
+# 
+# 	XLC_XLOCALE category
+# 
+XLC_XLOCALE
+
+encoding_name		ko.euc
+mb_cur_max		2
+state_depend_encoding	False
+
+wc_encoding_mask	\x30000000
+wc_shift_bits		7
+
+
+
+
+
+
+use_stdc_env		True
+force_convert_to_mb	True
+
+
+# 	cs0 class
+cs0	{
+	side		GL:Default
+	length		1
+	wc_encoding	\x00000000
+	ct_encoding	ISO8859-1:GL
+}
+
+# 	cs1 class
+cs1	{
+	side		GR:Default
+	length		2
+
+	wc_encoding	\x30000000
+
+
+
+	ct_encoding	KSC5601.1987-0:GL; KSC5601.1987-0:GR
+}
+
+END XLC_XLOCALE
diff -uNr /usr/ports/korean/ami/files/md5 ami/files/md5
--- /usr/ports/korean/ami/files/md5	Wed Aug 25 14:41:13 1999
+++ ami/files/md5	Tue Aug 31 18:00:14 1999
@@ -1 +1 @@
-MD5 (ami-0.1.3.tar.gz) = 2f18303aa24b19c92321ff0852c2aedb
+MD5 (ami-0.4.1.tar.gz) = 4705389b48be5d91e31811e1a7d932eb
diff -uNr /usr/ports/korean/ami/patches/patch-aa ami/patches/patch-aa
--- /usr/ports/korean/ami/patches/patch-aa	Wed Aug 25 14:41:14 1999
+++ ami/patches/patch-aa	Thu Jan  1 09:00:00 1970
@@ -1,21 +0,0 @@
---- Makefile~	Wed May 26 23:23:14 1999
-+++ Makefile	Thu Jun  3 20:02:15 1999
-@@ -2,13 +2,13 @@
- VERSION = 0.1.3
- 
- 
--CC = gcc
--CFLAGS= -I. -g -Wall `gtk-config --cflags`
--LD_FLAGS= `gtk-config --libs`
-+#CC = gcc
-+#CFLAGS= -I. -g -Wall `gtk-config --cflags`
-+#LD_FLAGS= `gtk-config --libs`
- #
- # for FreeBSD
--# CFLAGS= -I. -g -Wall `gtk12-config --cflags`
--# LD_FLAGS = `gtk12-config --libs` -lxpg4
-+CFLAGS= -I. -g -Wall `gtk12-config --cflags`
-+LD_FLAGS = `gtk12-config --libs` -lxpg4
- #
- 
- OBJ = ic.o cli.o edit.o ami.o cp.o handler.o hangulinput.o dispwin.o util.o \
diff -uNr /usr/ports/korean/ami/patches/patch-ab ami/patches/patch-ab
--- /usr/ports/korean/ami/patches/patch-ab	Wed Aug 25 14:41:14 1999
+++ ami/patches/patch-ab	Thu Jan  1 09:00:00 1970
@@ -1,13 +0,0 @@
---- Ximd/Makefile~	Tue Jun  1 20:48:42 1999
-+++ Ximd/Makefile	Thu Jun  3 20:02:23 1999
-@@ -1,8 +1,8 @@
- 
- # for Linux and X_LOCALE compiled XFree86
--X_CFLAGS = -I/usr/X11R6/include -DX_LOCALE
-+#X_CFLAGS = -I/usr/X11R6/include -DX_LOCALE
- # for FreeBSD or no X_LOCALE
--#X_CFLAGS = -I/usr/X11R6/include 
-+X_CFLAGS = -I/usr/X11R6/include 
- #
- IMDKIT_DEFINES = -DNeedFunctionPrototypes -DXIM_t
- #IMDKIT_DEFINES = -DNeedFunctionPrototypes -DTRANS_SERVER -DUNIXCONN -DTCPCONN  -DXIM_t
diff -uNr /usr/ports/korean/ami/patches/patch-ca ami/patches/patch-ca
--- /usr/ports/korean/ami/patches/patch-ca	Thu Jan  1 09:00:00 1970
+++ ami/patches/patch-ca	Tue Aug 31 18:00:14 1999
@@ -0,0 +1,10 @@
+--- hanjadic/Makefile~	Thu Jul  1 03:31:25 1999
++++ hanjadic/Makefile	Tue Jul 13 21:16:53 1999
+@@ -1,5 +1,5 @@
+ 
+ CC = gcc
+-CFLAGS = -g -O2 `glib-config --cflags`
++CFLAGS = -g -O2 `glib12-config --cflags`
+ hanja-hwp2ami: hanja-hwp2ami.o
+-	$(CC) -o hanja-hwp2ami hanja-hwp2ami.o `glib-config --libs`
++	$(CC) -o hanja-hwp2ami hanja-hwp2ami.o -lxpg4 `glib12-config --libs`
diff -uNr /usr/ports/korean/ami/pkg/PLIST ami/pkg/PLIST
--- /usr/ports/korean/ami/pkg/PLIST	Wed Aug 25 14:41:14 1999
+++ ami/pkg/PLIST	Tue Aug 31 18:00:14 1999
@@ -1 +1,14 @@
 bin/ami
+bin/hanja-hwp2ami
+share/doc/ami/XLC_LOCALE
+@comment copy new locale definition(no harm, so need not be uninstalled)
+@exec if [ -f %D/lib/X11/locale/ko/XLC_LOCALE ]; then mv -f %D/lib/X11/locale/ko/XLC_LOCALE %D/lib/X11/locale/ko/XLC_LOCALE.orig; fi
+@exec cp %D/share/doc/ami/XLC_LOCALE %D/lib/X11/locale/ko/
+@unexec if [ -f %D/lib/X11/locale/ko/XLC_LOCALE.orig ]; then mv -f %D/lib/X11/locale/ko/XLC_LOCALE.orig %D/lib/X11/locale/ko/XLC_LOCALE; fi
+share/doc/ami/AUTHORS
+share/doc/ami/README
+share/doc/ami/NEWS
+share/doc/ami/COPYING
+share/doc/ami/ChangeLog
+share/doc/ami/amirc
+@dirrm share/doc/ami

>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?199908311039.TAA01139>