mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
Converts data between Korean KSC-5601 and Unicode 3.0 UTF-16
Activate ko-uniksc.
This commit is contained in:
parent
1da4d26bf8
commit
2d4b27837d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34397
@ -1,5 +1,6 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
SUBDIR += uniksc
|
||||
SUBDIR += texinfo
|
||||
|
||||
SUBDIR += FreeWnn-lib
|
||||
|
17
korean/uniksc/Makefile
Normal file
17
korean/uniksc/Makefile
Normal file
@ -0,0 +1,17 @@
|
||||
# New ports collection makefile for: uniksc
|
||||
# Date created: 15 Oct 2000
|
||||
# Whom: cjh
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= uniksc
|
||||
PORTVERSION= 0.9
|
||||
CATEGORIES= korean converters
|
||||
MASTER_SITES= http://kldp.org/~bangjy/hangul/
|
||||
|
||||
MAINTAINER= cjh@freebsd.org
|
||||
|
||||
INSTALLS_SHLIB= YES
|
||||
|
||||
.include <bsd.port.mk>
|
1
korean/uniksc/distinfo
Normal file
1
korean/uniksc/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (uniksc-0.9.tar.gz) = ae18f22f03fdfce0cf87e91a027bf405
|
46
korean/uniksc/files/patch-makefile
Normal file
46
korean/uniksc/files/patch-makefile
Normal file
@ -0,0 +1,46 @@
|
||||
--- Makefile.orig Mon Oct 9 07:38:51 2000
|
||||
+++ Makefile Sun Oct 15 01:21:27 2000
|
||||
@@ -1,8 +1,8 @@
|
||||
-CC = gcc
|
||||
+#CC = gcc
|
||||
|
||||
-CFLAGS = -fPIC -Wall -O2 -fomit-frame-pointer -I.
|
||||
+FLAGS = ${CFLAGS} -I.
|
||||
|
||||
-PREFIX=/usr/local
|
||||
+#PREFIX=/usr/local
|
||||
|
||||
SRCS = ksc5601_utf16.c \
|
||||
ksc5601_utf16_table.c \
|
||||
@@ -15,24 +15,24 @@
|
||||
$(CC) -c $(FLAGS) -o $*.o $<
|
||||
|
||||
all: $(OBJS)
|
||||
- $(CC) -shared -Wl,-soname -Wl,libuniksc.so.0 -o libuniksc.so.0.9 $(OBJS)
|
||||
- ln -sf libuniksc.so.0.9 libuniksc.so.0
|
||||
- $(CC) $(CFLAGS) -o uniksc uniksc.c libuniksc.so.0
|
||||
+ $(CC) -shared -Wl,-soname -Wl,libuniksc.so.0 -o libuniksc.so.0 $(OBJS)
|
||||
+ #ln -sf libuniksc.so.0.9 libuniksc.so.0
|
||||
+ $(CC) $(FLAGS) -o uniksc uniksc.c libuniksc.so.0
|
||||
|
||||
clean:
|
||||
- rm -f $(OBJS) uniksc libuniksc.so.0 libuniksc.so.0.9 *~
|
||||
+ rm -f $(OBJS) uniksc libuniksc.so.0 *~
|
||||
|
||||
install:
|
||||
if ( test ! -d $(PREFIX)/bin ) ; then mkdir $(PREFIX)/bin ; fi
|
||||
if ( test ! -d $(PREFIX)/lib ) ; then mkdir $(PREFIX)/lib ; fi
|
||||
if ( test ! -d $(PREFIX)/include ) ; then mkdir $(PREFIX)/include ; fi
|
||||
cp -f uniksc $(PREFIX)/bin/uniksc
|
||||
- cp -f libuniksc.so.0.9 $(PREFIX)/lib/libuniksc.so.0.9
|
||||
- ln -sf libuniksc.so.0.9 $(PREFIX)/lib/libuniksc.so.0
|
||||
+ cp -f libuniksc.so.0 $(PREFIX)/lib/libuniksc.so.0
|
||||
+ #ln -sf libuniksc.so.0.9 $(PREFIX)/lib/libuniksc.so.0
|
||||
cp -f uniksc.h $(PREFIX)/include/uniksc.h
|
||||
|
||||
uninstall:
|
||||
rm -f $(PREFIX)/bin/uniksc
|
||||
rm -f $(PREFIX)/lib/libuniksc.so.0
|
||||
- rm -f $(PREFIX)/lib/libuniksc.so.0.9
|
||||
+# rm -f $(PREFIX)/lib/libuniksc.so.0.9
|
||||
rm -f $(PREFIX)/include/uniksc.h
|
1
korean/uniksc/pkg-comment
Normal file
1
korean/uniksc/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Converts data between Korean KSC-5601 and Unicode 3.0 UTF-16
|
8
korean/uniksc/pkg-descr
Normal file
8
korean/uniksc/pkg-descr
Normal file
@ -0,0 +1,8 @@
|
||||
uniksc converts data between Korean KSC-5601 and Unicode 3.0 UTF-16
|
||||
character sets. Currently, it can convert all characters including
|
||||
Hanja in KSC-5601 to UTF-16 characters. Converting UTF-16 to KSC-5601
|
||||
should work but is incomplete yet.
|
||||
|
||||
--
|
||||
Bang Jun-Young <bjy@mogua.org>
|
||||
WWW: http://kldp.org/~bangjy
|
3
korean/uniksc/pkg-plist
Normal file
3
korean/uniksc/pkg-plist
Normal file
@ -0,0 +1,3 @@
|
||||
bin/uniksc
|
||||
include/uniksc.h
|
||||
lib/libuniksc.so.0
|
Loading…
Reference in New Issue
Block a user