[Midnightbsd-cvs] mports [19565] trunk/textproc: add teckit

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Jul 9 17:07:17 EDT 2015


Revision: 19565
          http://svnweb.midnightbsd.org/mports/?rev=19565
Author:   laffer1
Date:     2015-07-09 17:07:16 -0400 (Thu, 09 Jul 2015)
Log Message:
-----------
add teckit

Modified Paths:
--------------
    trunk/textproc/Makefile

Added Paths:
-----------
    trunk/textproc/teckit/
    trunk/textproc/teckit/Makefile
    trunk/textproc/teckit/distinfo
    trunk/textproc/teckit/files/
    trunk/textproc/teckit/files/patch-source_Compiler.cpp
    trunk/textproc/teckit/pkg-descr
    trunk/textproc/teckit/pkg-plist

Modified: trunk/textproc/Makefile
===================================================================
--- trunk/textproc/Makefile	2015-07-09 20:55:52 UTC (rev 19564)
+++ trunk/textproc/Makefile	2015-07-09 21:07:16 UTC (rev 19565)
@@ -161,6 +161,7 @@
 SUBDIR += sgmlformat
 SUBDIR += soprano
 SUBDIR += sphinxsearch
+SUBDIR += teckit
 SUBDIR += texi2html
 SUBDIR += tidyp
 SUBDIR += urlview

Added: trunk/textproc/teckit/Makefile
===================================================================
--- trunk/textproc/teckit/Makefile	                        (rev 0)
+++ trunk/textproc/teckit/Makefile	2015-07-09 21:07:16 UTC (rev 19565)
@@ -0,0 +1,37 @@
+# Created by: Nikola Lecic <nikola.lecic at anthesphoria.net>
+# $FreeBSD: head/textproc/teckit/Makefile 365071 2014-08-16 10:05:45Z marino $
+# $MidnightBSD$
+
+PORTNAME=	teckit
+PORTVERSION=	2.5.1
+CATEGORIES=	textproc converters
+MASTER_SITES=	http://scripts.sil.org/svn-view/teckit/TAGS/ \
+		http://anthesphoria.net/FreeBSD/ports/distfiles/
+DISTNAME=	TECkit_${PORTVERSION:S|.|_|g}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Toolkit for converting data between 8-bit legacy encodings and Unicode
+
+LICENSE=	lgpl2.1
+
+LIB_DEPENDS=	libexpat.so:${PORTSDIR}/textproc/expat2
+
+USES=		libtool
+GNU_CONFIGURE=	yes
+USE_LDCONFIG=	yes
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+INSTALL_TARGET=	install-strip
+
+DOCS=		AUTHORS README NEWS docs/*.pdf license/LICENSING.txt
+
+OPTIONS_DEFINE=	DOCS
+
+post-patch:
+	${CHMOD} ${BINMODE} ${WRKSRC}/configure ${WRKSRC}/install-sh
+
+post-install:
+	${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${DOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+
+.include <bsd.port.mk>


Property changes on: trunk/textproc/teckit/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/textproc/teckit/distinfo
===================================================================
--- trunk/textproc/teckit/distinfo	                        (rev 0)
+++ trunk/textproc/teckit/distinfo	2015-07-09 21:07:16 UTC (rev 19565)
@@ -0,0 +1,2 @@
+SHA256 (TECkit_2_5_1.tar.gz) = 59a01952684c4599a7f30b4f0deedcb6276f04fce73ac6fcbcbd55c4e2e6513a
+SIZE (TECkit_2_5_1.tar.gz) = 2630207


Property changes on: trunk/textproc/teckit/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/textproc/teckit/files/patch-source_Compiler.cpp
===================================================================
--- trunk/textproc/teckit/files/patch-source_Compiler.cpp	                        (rev 0)
+++ trunk/textproc/teckit/files/patch-source_Compiler.cpp	2015-07-09 21:07:16 UTC (rev 19565)
@@ -0,0 +1,10 @@
+--- source/Compiler.cpp.orig	2008-04-07 14:21:12 UTC
++++ source/Compiler.cpp
+@@ -33,6 +33,7 @@ Description:
+ #include <iomanip>
+ #include <algorithm>
+ #include <cstring>
++#include <cstdio>
+ 
+ #include "zlib.h"
+ 


Property changes on: trunk/textproc/teckit/files/patch-source_Compiler.cpp
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/textproc/teckit/pkg-descr
===================================================================
--- trunk/textproc/teckit/pkg-descr	                        (rev 0)
+++ trunk/textproc/teckit/pkg-descr	2015-07-09 21:07:16 UTC (rev 19565)
@@ -0,0 +1,22 @@
+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


Property changes on: trunk/textproc/teckit/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/textproc/teckit/pkg-plist
===================================================================
--- trunk/textproc/teckit/pkg-plist	                        (rev 0)
+++ trunk/textproc/teckit/pkg-plist	2015-07-09 21:07:16 UTC (rev 19565)
@@ -0,0 +1,21 @@
+bin/sfconv
+bin/teckit_compile
+bin/txtconv
+include/teckit/TECkit_Common.h
+include/teckit/TECkit_Compiler.h
+include/teckit/TECkit_Engine.h
+lib/libTECkit.a
+lib/libTECkit.so
+lib/libTECkit.so.0
+lib/libTECkit.so.0.0.0
+lib/libTECkit_Compiler.a
+lib/libTECkit_Compiler.so
+lib/libTECkit_Compiler.so.0
+lib/libTECkit_Compiler.so.0.0.0
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/LICENSING.txt
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TECkit_Binary_Format.doc.pdf
+%%PORTDOCS%%%%DOCSDIR%%/TECkit_Language_2.1.doc.pdf
+%%PORTDOCS%%%%DOCSDIR%%/TECkit_version_2.1.doc.pdf


Property changes on: trunk/textproc/teckit/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list