aboutsummaryrefslogtreecommitdiff
path: root/korean/uniksc
diff options
context:
space:
mode:
authorCHOI Junho <cjh@FreeBSD.org>2000-10-29 12:26:53 +0000
committerCHOI Junho <cjh@FreeBSD.org>2000-10-29 12:26:53 +0000
commit2d4b27837d6f37d903aa4c23593b031ce10cd996 (patch)
tree5eb563fe4cb7806483a0a3cbc8b71a118cc7240d /korean/uniksc
parent1da4d26bf87e1cdadbd8c4850b4779677b5da226 (diff)
downloadports-2d4b27837d6f37d903aa4c23593b031ce10cd996.tar.gz
ports-2d4b27837d6f37d903aa4c23593b031ce10cd996.zip
Notes
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 000000000000..ef66d3fe2a35
--- /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 000000000000..2ddc73653cc2
--- /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 000000000000..c7fe07f427fc
--- /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 000000000000..41a4962068e6
--- /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 000000000000..7dfd0db145c7
--- /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 000000000000..8377e7d7868b
--- /dev/null
+++ b/korean/uniksc/pkg-plist
@@ -0,0 +1,3 @@
+bin/uniksc
+include/uniksc.h
+lib/libuniksc.so.0