mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
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>
This commit is contained in:
parent
8041963b56
commit
d97dd5cbb9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=17942
6 changed files with 56 additions and 0 deletions
33
converters/libutf-8/Makefile
Normal file
33
converters/libutf-8/Makefile
Normal file
|
@ -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>
|
1
converters/libutf-8/distinfo
Normal file
1
converters/libutf-8/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (libutf-8-1.0.tar.gz) = 349d87497e23227fea3bea15e8a8614d
|
9
converters/libutf-8/files/patch-aa
Normal file
9
converters/libutf-8/files/patch-aa
Normal file
|
@ -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 $@
|
||||
|
1
converters/libutf-8/pkg-comment
Normal file
1
converters/libutf-8/pkg-comment
Normal file
|
@ -0,0 +1 @@
|
|||
Unicode conversion routines between UCS-4 and UTF-8
|
7
converters/libutf-8/pkg-descr
Normal file
7
converters/libutf-8/pkg-descr
Normal file
|
@ -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/
|
5
converters/libutf-8/pkg-plist
Normal file
5
converters/libutf-8/pkg-plist
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue