summaryrefslogtreecommitdiffstats
path: root/korean/uniksc
diff options
context:
space:
mode:
authorcjh <cjh@FreeBSD.org>2000-10-29 12:26:53 +0000
committercjh <cjh@FreeBSD.org>2000-10-29 12:26:53 +0000
commitb1a30af4ada2815b3847d010d4d6da447a0a4ca2 (patch)
tree47ca2c198dadaac9a63eba4e2655a06e26f7c4ab /korean/uniksc
parent8a2f2be1513eba203137f83b76c0f58ea2e92eae (diff)
downloadFreeBSD-ports-b1a30af4ada2815b3847d010d4d6da447a0a4ca2.zip
FreeBSD-ports-b1a30af4ada2815b3847d010d4d6da447a0a4ca2.tar.gz
Converts data between Korean KSC-5601 and Unicode 3.0 UTF-16
Activate ko-uniksc.
Diffstat (limited to 'korean/uniksc')
-rw-r--r--korean/uniksc/Makefile17
-rw-r--r--korean/uniksc/distinfo1
-rw-r--r--korean/uniksc/files/patch-makefile46
-rw-r--r--korean/uniksc/pkg-comment1
-rw-r--r--korean/uniksc/pkg-descr8
-rw-r--r--korean/uniksc/pkg-plist3
6 files changed, 76 insertions, 0 deletions
diff --git a/korean/uniksc/Makefile b/korean/uniksc/Makefile
new file mode 100644
index 0000000..ef66d3f
--- /dev/null
+++ b/korean/uniksc/Makefile
@@ -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>
diff --git a/korean/uniksc/distinfo b/korean/uniksc/distinfo
new file mode 100644
index 0000000..2ddc736
--- /dev/null
+++ b/korean/uniksc/distinfo
@@ -0,0 +1 @@
+MD5 (uniksc-0.9.tar.gz) = ae18f22f03fdfce0cf87e91a027bf405
diff --git a/korean/uniksc/files/patch-makefile b/korean/uniksc/files/patch-makefile
new file mode 100644
index 0000000..c7fe07f
--- /dev/null
+++ b/korean/uniksc/files/patch-makefile
@@ -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
diff --git a/korean/uniksc/pkg-comment b/korean/uniksc/pkg-comment
new file mode 100644
index 0000000..41a4962
--- /dev/null
+++ b/korean/uniksc/pkg-comment
@@ -0,0 +1 @@
+Converts data between Korean KSC-5601 and Unicode 3.0 UTF-16
diff --git a/korean/uniksc/pkg-descr b/korean/uniksc/pkg-descr
new file mode 100644
index 0000000..7dfd0db
--- /dev/null
+++ b/korean/uniksc/pkg-descr
@@ -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
diff --git a/korean/uniksc/pkg-plist b/korean/uniksc/pkg-plist
new file mode 100644
index 0000000..8377e7d
--- /dev/null
+++ b/korean/uniksc/pkg-plist
@@ -0,0 +1,3 @@
+bin/uniksc
+include/uniksc.h
+lib/libuniksc.so.0
OpenPOWER on IntegriCloud