aboutsummaryrefslogtreecommitdiffstats
path: root/converters
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-04-17 07:34:30 +0800
committersteve <steve@FreeBSD.org>1999-04-17 07:34:30 +0800
commit0486d317d596c6fb4365dbd37372cd58a14c5e07 (patch)
tree606d0c99b6b2ada5531ab8ae4770e82af1c034ec /converters
parentfeda8970bd5860d0859f08d141c429438438c110 (diff)
downloadfreebsd-ports-gnome-0486d317d596c6fb4365dbd37372cd58a14c5e07.tar.gz
freebsd-ports-gnome-0486d317d596c6fb4365dbd37372cd58a14c5e07.tar.zst
freebsd-ports-gnome-0486d317d596c6fb4365dbd37372cd58a14c5e07.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>
Diffstat (limited to 'converters')
-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