Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Aug 2009 22:58:10 +0200 (CEST)
From:      Nikola Lecic <nikola.lecic@anthesphoria.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/138212: [New Port] textproc/teckit: Toolkit for converting data between 8-bit legacy encodings and Unicode
Message-ID:  <200908262058.n7QKwAYS006376@anthesphoria.net>
Resent-Message-ID: <200908262100.n7QL01UF028589@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         138212
>Category:       ports
>Synopsis:       [New Port] textproc/teckit: Toolkit for converting data between 8-bit legacy encodings and Unicode
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 26 21:00:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Nikola Lecic
>Release:        FreeBSD 7.2-STABLE i386
>Organization:
>Environment:

System: FreeBSD black 7.2-STABLE FreeBSD 7.2-STABLE #0: Wed May 13 19:04:54 CEST 2009 nikola@black:/usr/obj/usr/src/sys/GENERIC i386

>Description:

pkg-descr:

TECkit (Text Encoding Conversion toolkit) is a toolkit for converting data
between 8-bit legacy encodings and Unicode. It can also be used for
transliteration of Unicode between different scripts.

TECkit uses a mapping description language (mapping byte encodings to Unicode). 
Mapping rules can be extended by (1) the use of character sequences rather than
single characters on either side; (2) by the addition of contextual constraints
(environments) determining when a rule should apply; (3) and by the use of
character classes, optional and repeatable elements, grouping and alternation
to express more complex patterns to be matched and processed.

TECkit is particularly useful with XeTeX (Unicode-aware derivate of TeX).

The following binaries are provided:

  teckit_compile  mapping compiler that allows binary mapping tables (.tec)
                  to be built from TECkit description files (.map)
  sfconv          a tool for converting Standard Format (SF) files
  txtconv         a utility to apply TECkit mappings to plain-text files

WWW: http://scripts.sil.org/TECkit
     http://scripts.sil.org/TECkitDownloads#5b6cf869

>How-To-Repeat:
	
>Fix:

--- teckit-2.5.1.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	teckit
#	teckit/pkg-descr
#	teckit/Makefile
#	teckit/distinfo
#	teckit/pkg-plist
#
echo c - teckit
mkdir -p teckit > /dev/null 2>&1
echo x - teckit/pkg-descr
sed 's/^X//' >teckit/pkg-descr << 'a3b9e2c9996f3253341824c019f8fce2'
XTECkit (Text Encoding Conversion toolkit) is a toolkit for converting data
Xbetween 8-bit legacy encodings and Unicode. It can also be used for
Xtransliteration of Unicode between different scripts.
X
XTECkit uses a mapping description language (mapping byte encodings to Unicode). 
XMapping rules can be extended by (1) the use of character sequences rather than
Xsingle characters on either side; (2) by the addition of contextual constraints
X(environments) determining when a rule should apply; (3) and by the use of
Xcharacter classes, optional and repeatable elements, grouping and alternation
Xto express more complex patterns to be matched and processed.
X
XTECkit is particularly useful with XeTeX (Unicode-aware derivate of TeX).
X
XThe following binaries are provided:
X
X  teckit_compile  mapping compiler that allows binary mapping tables (.tec)
X                  to be built from TECkit description files (.map)
X  sfconv          a tool for converting Standard Format (SF) files
X  txtconv         a utility to apply TECkit mappings to plain-text files
X
XWWW: http://scripts.sil.org/TECkit
X     http://scripts.sil.org/TECkitDownloads#5b6cf869
a3b9e2c9996f3253341824c019f8fce2
echo x - teckit/Makefile
sed 's/^X//' >teckit/Makefile << '1c9741664425c637e321420953c0d066'
X# New ports collection makefile for:    teckit
X# Date created:		24 August 2009
X# Whom:			Nikola Lecic <nikola.lecic@anthesphoria.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	teckit
XPORTVERSION=	2.5.1
XCATEGORIES=	textproc
XMASTER_SITES=	http://scripts.sil.org/svn-view/teckit/TAGS/ \
X		http://anthesphoria.net/FreeBSD/ports/distfiles/
XDISTNAME=	TECkit_${PORTVERSION:S|.|_|g}
X
XMAINTAINER=	nikola.lecic@anthesphoria.net
XCOMMENT=	Toolkit for converting data between 8-bit legacy encodings and Unicode
X
XLIB_DEPENDS=	expat.6:${PORTSDIR}/textproc/expat2
X
XUSE_AUTOTOOLS=	libtool:22
XUSE_LDCONFIG=	yes
XCONFIGURE_ENV+=	CPPFLAGS="-I${LOCALBASE}/include" \
X		LDFLAGS="-L${LOCALBASE}/lib"
X
XDOCS=		AUTHORS README NEWS docs/*.pdf license/LICENSING.txt
X
Xpost-patch:
X	${CHMOD} ${BINMODE} ${WRKSRC}/configure ${WRKSRC}/install-sh
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
1c9741664425c637e321420953c0d066
echo x - teckit/distinfo
sed 's/^X//' >teckit/distinfo << '80a5201fac241fdb66c4036f09ca0bc6'
XMD5 (TECkit_2_5_1.tar.gz) = 4913f71f0f42bfd9cf8f161688b35dea
XSHA256 (TECkit_2_5_1.tar.gz) = 59a01952684c4599a7f30b4f0deedcb6276f04fce73ac6fcbcbd55c4e2e6513a
XSIZE (TECkit_2_5_1.tar.gz) = 2630207
80a5201fac241fdb66c4036f09ca0bc6
echo x - teckit/pkg-plist
sed 's/^X//' >teckit/pkg-plist << '8afa2874482dbd2c17ce3c987668f73e'
Xbin/sfconv
Xbin/teckit_compile
Xbin/txtconv
Xinclude/teckit/TECkit_Common.h
Xinclude/teckit/TECkit_Compiler.h
Xinclude/teckit/TECkit_Engine.h
Xlib/libTECkit.a
Xlib/libTECkit.la		
Xlib/libTECkit.so
Xlib/libTECkit.so.0
Xlib/libTECkit_Compiler.a
Xlib/libTECkit_Compiler.la
Xlib/libTECkit_Compiler.so
Xlib/libTECkit_Compiler.so.0
X%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
X%%PORTDOCS%%%%DOCSDIR%%/LICENSING.txt
X%%PORTDOCS%%%%DOCSDIR%%/NEWS
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/TECkit_Binary_Format.doc.pdf
X%%PORTDOCS%%%%DOCSDIR%%/TECkit_Language_2.1.doc.pdf
X%%PORTDOCS%%%%DOCSDIR%%/TECkit_version_2.1.doc.pdf
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X@dirrm include/teckit
8afa2874482dbd2c17ce3c987668f73e
exit
--- teckit-2.5.1.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908262058.n7QKwAYS006376>