aboutsummaryrefslogtreecommitdiff
path: root/converters/libutf-8
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-04-16 23:34:30 +0000
committerSteve Price <steve@FreeBSD.org>1999-04-16 23:34:30 +0000
commitd97dd5cbb926051b37fd34ede368d1b4eefaa0fe (patch)
tree58200f1ca2abe51b8d88edcf3f9111d1809e10e9 /converters/libutf-8
parent8041963b563b2f935292e1788ecbd2fe781bf505 (diff)
downloadports-d97dd5cbb926051b37fd34ede368d1b4eefaa0fe.tar.gz
ports-d97dd5cbb926051b37fd34ede368d1b4eefaa0fe.zip
Initial import of libutf-8 version 1.0.
A library of routines for the conversion between 31-bit Unicode values (UCS-4) and their 8-bit encoding (UTF-9) defined in RFC 2044. The routines can handle input and output from/to files and memory. Useful for i18n programmers. PR: 10919 Submitted by: G. Adam Stanislav <zen@buddhist.com>
Notes
Notes: svn path=/head/; revision=17942
Diffstat (limited to 'converters/libutf-8')
-rw-r--r--converters/libutf-8/Makefile33
-rw-r--r--converters/libutf-8/distinfo1
-rw-r--r--converters/libutf-8/files/patch-aa9
-rw-r--r--converters/libutf-8/pkg-comment1
-rw-r--r--converters/libutf-8/pkg-descr7
-rw-r--r--converters/libutf-8/pkg-plist5
6 files changed, 56 insertions, 0 deletions
diff --git a/converters/libutf-8/Makefile b/converters/libutf-8/Makefile
new file mode 100644
index 000000000000..64f859e08d55
--- /dev/null
+++ b/converters/libutf-8/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: libutf-8
+# Version required: 1.0
+# Date created: 1 April 1999
+# Whom: G. Adam Stanislav <adam@whizkidtech.net>
+#
+# $Id$
+#
+
+DISTNAME= libutf-8-1.0
+PKGNAME= libutf-8.1.0
+CATEGORIES= converters
+MASTER_SITES= http://www.whizkidtech.net/fports/ \
+ ftp://ftp.whizkidtech.net/unix/ \
+ http://www.whizkidtech.net/ISO-8859-2/
+
+MAINTAINER= adam@whizkidtech.net
+
+MAN3= libutf-8.3 fgetu8.3 fputu8.3 sgetu8.3 sputu8.3
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/libutf-8.so.1 ${PREFIX}/lib
+ ln -fs ${PREFIX}/lib/libutf-8.so.1 ${PREFIX}/lib/libutf-8.so
+ ${INSTALL_DATA} ${WRKSRC}/utf-8.h ${PREFIX}/include
+ $(INSTALL_MAN) ${WRKSRC}/libutf-8.3 ${PREFIX}/man/man3
+ $(INSTALL_MAN) ${WRKSRC}/fgetu8.3 ${PREFIX}/man/man3
+ $(INSTALL_MAN) ${WRKSRC}/fputu8.3 ${PREFIX}/man/man3
+ $(INSTALL_MAN) ${WRKSRC}/sgetu8.3 ${PREFIX}/man/man3
+ $(INSTALL_MAN) ${WRKSRC}/sputu8.3 ${PREFIX}/man/man3
+
+post-install:
+ ${SETENV} OBFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
+
+.include <bsd.port.mk>
diff --git a/converters/libutf-8/distinfo b/converters/libutf-8/distinfo
new file mode 100644
index 000000000000..2cc5ecdc0dc9
--- /dev/null
+++ b/converters/libutf-8/distinfo
@@ -0,0 +1 @@
+MD5 (libutf-8-1.0.tar.gz) = 349d87497e23227fea3bea15e8a8614d
diff --git a/converters/libutf-8/files/patch-aa b/converters/libutf-8/files/patch-aa
new file mode 100644
index 000000000000..05f4eaf2dd15
--- /dev/null
+++ b/converters/libutf-8/files/patch-aa
@@ -0,0 +1,9 @@
+--- Makefile.orig Thu Apr 1 01:00:12 1999
++++ Makefile Fri Apr 16 18:11:12 1999
+@@ -29,5 +29,5 @@
+ all: libutf-8.so.1
+
+ libutf-8.so.1: fget.utf-8.o sget.utf-8.o fput.utf-8.o sput.utf-8.o nomacros.o
+- ld -o libutf-8.so.1 fget.utf-8.o sget.utf-8.o fput.utf-8.o sput.utf-8.o nomacros.o -shared -soname libutf-8.so
++ ld -o $@ fget.utf-8.o sget.utf-8.o fput.utf-8.o sput.utf-8.o nomacros.o -shared -soname $@
+
diff --git a/converters/libutf-8/pkg-comment b/converters/libutf-8/pkg-comment
new file mode 100644
index 000000000000..690895d584bf
--- /dev/null
+++ b/converters/libutf-8/pkg-comment
@@ -0,0 +1 @@
+Unicode conversion routines between UCS-4 and UTF-8
diff --git a/converters/libutf-8/pkg-descr b/converters/libutf-8/pkg-descr
new file mode 100644
index 000000000000..2dc03129435f
--- /dev/null
+++ b/converters/libutf-8/pkg-descr
@@ -0,0 +1,7 @@
+A library of routines for the conversion between 31-bit Unicode values (UCS-4)
+and their 8-bit encoding (UTF-9) defined in RFC 2044. The routines can handle
+input and output from/to files and memory. Useful for i18n programmers.
+
+G. Adam Stanislav
+adam@whizkidtech.net
+http://www.whizkidtech.net/
diff --git a/converters/libutf-8/pkg-plist b/converters/libutf-8/pkg-plist
new file mode 100644
index 000000000000..04594e27fe37
--- /dev/null
+++ b/converters/libutf-8/pkg-plist
@@ -0,0 +1,5 @@
+include/utf-8.h
+lib/libutf-8.so
+lib/libutf-8.so.1
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D/lib
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R