head 1.11; access; symbols pkgsrc-2023Q4:1.11.0.10 pkgsrc-2023Q4-base:1.11 pkgsrc-2023Q3:1.11.0.8 pkgsrc-2023Q3-base:1.11 pkgsrc-2023Q2:1.11.0.6 pkgsrc-2023Q2-base:1.11 pkgsrc-2023Q1:1.11.0.4 pkgsrc-2023Q1-base:1.11 pkgsrc-2022Q4:1.11.0.2 pkgsrc-2022Q4-base:1.11 pkgsrc-2022Q3:1.10.0.18 pkgsrc-2022Q3-base:1.10 pkgsrc-2022Q2:1.10.0.16 pkgsrc-2022Q2-base:1.10 pkgsrc-2022Q1:1.10.0.14 pkgsrc-2022Q1-base:1.10 pkgsrc-2021Q4:1.10.0.12 pkgsrc-2021Q4-base:1.10 pkgsrc-2021Q3:1.10.0.10 pkgsrc-2021Q3-base:1.10 pkgsrc-2021Q2:1.10.0.8 pkgsrc-2021Q2-base:1.10 pkgsrc-2021Q1:1.10.0.6 pkgsrc-2021Q1-base:1.10 pkgsrc-2020Q4:1.10.0.4 pkgsrc-2020Q4-base:1.10 pkgsrc-2020Q3:1.10.0.2 pkgsrc-2020Q3-base:1.10 pkgsrc-2020Q2:1.6.0.22 pkgsrc-2020Q2-base:1.6 pkgsrc-2020Q1:1.6.0.2 pkgsrc-2020Q1-base:1.6 pkgsrc-2019Q4:1.6.0.24 pkgsrc-2019Q4-base:1.6 pkgsrc-2019Q3:1.6.0.20 pkgsrc-2019Q3-base:1.6 pkgsrc-2019Q2:1.6.0.18 pkgsrc-2019Q2-base:1.6 pkgsrc-2019Q1:1.6.0.16 pkgsrc-2019Q1-base:1.6 pkgsrc-2018Q4:1.6.0.14 pkgsrc-2018Q4-base:1.6 pkgsrc-2018Q3:1.6.0.12 pkgsrc-2018Q3-base:1.6 pkgsrc-2018Q2:1.6.0.10 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.6.0.8 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.6.0.6 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.6.0.4 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.5.0.4 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.5.0.2 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.4.0.16 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.14 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.12 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.10 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.8 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.6 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.4 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.2 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.3.0.8 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.6 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.4 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.2 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.2.0.10 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.8 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.6 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.4 pkgsrc-2013Q1-base:1.2 pkgsrc-2012Q4:1.2.0.2 pkgsrc-2012Q4-base:1.2 pkgsrc-2012Q3:1.1.1.1.0.12 pkgsrc-2012Q3-base:1.1.1.1 pkgsrc-2012Q2:1.1.1.1.0.10 pkgsrc-2012Q2-base:1.1.1.1 pkgsrc-2012Q1:1.1.1.1.0.8 pkgsrc-2012Q1-base:1.1.1.1 pkgsrc-2011Q4:1.1.1.1.0.6 pkgsrc-2011Q4-base:1.1.1.1 pkgsrc-2011Q3:1.1.1.1.0.4 pkgsrc-2011Q3-base:1.1.1.1 pkgsrc-2011Q2:1.1.1.1.0.2 pkgsrc-2011Q2-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.11 date 2022.12.15.10.38.32; author jperkin; state Exp; branches; next 1.10; commitid RNCPC5P2NCOnQD5E; 1.10 date 2020.08.28.19.35.46; author scole; state Exp; branches; next 1.9; commitid XxSPRnHeVMWIMRlC; 1.9 date 2020.08.28.16.59.43; author scole; state Exp; branches; next 1.8; commitid fqtPZUgqCDYbVQlC; 1.8 date 2020.08.13.16.22.40; author scole; state Exp; branches; next 1.7; commitid cDXSzCaYwVyncVjC; 1.7 date 2020.07.30.02.13.56; author scole; state Exp; branches; next 1.6; commitid CEGefSpz9ZX6X2iC; 1.6 date 2017.09.04.18.08.29; author wiz; state Exp; branches; next 1.5; commitid H3CpyvMOZDCWiU5A; 1.5 date 2017.01.19.18.52.28; author agc; state Exp; branches; next 1.4; commitid ufZDMu4cgHZdRBCz; 1.4 date 2015.03.15.17.15.01; author hiramatsu; state Exp; branches; next 1.3; commitid 1EDq0VaXB9sf4Jdy; 1.3 date 2014.02.27.12.43.31; author obache; state Exp; branches; next 1.2; commitid jFFy9aUvvOqrOJqx; 1.2 date 2012.10.25.06.57.02; author asau; state Exp; branches; next 1.1; 1.1 date 2011.04.06.11.43.39; author obache; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2011.04.06.11.43.39; author obache; state Exp; branches; next ; desc @@ 1.11 log @swath: Requires libiconv. @ text @# $NetBSD: Makefile,v 1.10 2020/08/28 19:35:46 scole Exp $ # DISTNAME= swath-0.6.1 PKGREVISION= 3 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_GITHUB:=tlwg/} GITHUB_TAG= f5b0a9b804cc3f4a3d40f2de3d54a99d1c0a5643 MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://linux.thai.net/projects/swath COMMENT= Smart Word Analysis for THai LICENSE= gnu-gpl-v2 GNU_CONFIGURE= yes USE_LIBTOOL= yes USE_LANGUAGES= c c++ USE_TOOLS= gmake pkg-config sh aclocal autoconf automake touch pre-configure: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SH} ./autogen.sh post-configure: cd ${WRKSRC} && ${TOUCH} lib/libcompat.la .include "../../converters/libiconv/buildlink3.mk" .include "../../devel/libdatrie/buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.10 log @Update to swath-0.6.1nb3 - increment version in autoconf patch @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2020/08/28 16:59:43 scole Exp $ d26 1 @ 1.9 log @Update to swath-0.6.1nb2 - add fix for darwin build and other OS that have wcpcpy. configure scripts not working properly for above case. upstream author is aware and hopefully will have a proper fix included in next official release @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2020/08/13 16:22:40 scole Exp $ d5 1 a5 1 PKGREVISION= 2 @ 1.8 log @- Use github home URL now - Github changes from author to fix NetBSD's missing wcpcpy & wcpncpy @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2020/07/30 02:13:56 scole Exp $ d5 1 a5 1 PKGREVISION= 1 d11 1 a11 1 HOMEPAGE= https://linux.thai.net/projects/thailatex d18 1 a18 1 USE_TOOLS= gmake pkg-config sh aclocal autoconf automake d23 3 @ 1.7 log @doc: Updated textproc/swath to 0.6.1 0.6.1 (2018-08-20) ===== - Updated word break dictionary. - Fix a defect in RTF parsing, so RTF gets more complete word break positions. - Compiler warning fixes. - Minor code cleanups. - Useful installation instructions in INSTALL file. (Thanks @@pepa65 for the pull request.) 0.6.0 (2017-11-28) ===== - Updated word break dictionary. - Drop undocumented option '-l'. - Revamped internal word break engine. - Updated manpage. 0.5.5 (2016-12-25) ===== - Updated word break dictionary. 0.5.4 (2016-07-08) ===== - Updated word break dictionary. - Fix segfault on extremely long input lines. - Support longer input lines. (Bug report by Santi Romeyen) - Support non-ASCII word break string. https://github.com/tlwg/swath/issues/1 - Some source code clean-ups. - Add test suite. 0.5.3 (2014-09-01) ===== - Updated word break dictionary. - Fix premature output ending on long UTF-8 input line. (Bug report by Sorawee Porncharoenwase) - Fix excessive break positions in plain text mode. (Bug report by Sorawee Porncharoenwase) - Remove dead codes, resulting in a little smaller binary. 0.5.2 (2013-12-23) ===== - Fix infinite loops in LaTeX filter. (Bug report and patch by Neutron Soutmun) - Fix off-by-one character loss in long HTML tokens. (Bug report and analysis by Nicolas Brouard) 0.5.1 (2013-10-30) ===== - Correct word break code for Lambda. - Updated word break dictionary. - Adjust file filters to prevent potential buffer overflow. 0.5.0 (2013-02-11) ===== - Character encoding conversion is now spontaneous, no more buffering via temporary file. - Rewritten RTF filter. It's now tested to work with real RTF document. - Process characters as Unicode internally, so that characters not present in TIS-620 are not lost in output. - Fix potential buffer overflow vulnerability in Mule mode. - Updated word break dictionary. - Significant source clean-ups. - Switch to XZ tarball compression. For pkgsrc, use gmake and add patch to compile wchar functions on NetBSD @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2017/09/04 18:08:29 wiz Exp $ d5 1 d7 2 a8 3 MASTER_SITES= ftp://linux.thai.net/pub/ThaiLinux/software/swath/ MASTER_SITES+= http://linux.thai.net/pub/ThaiLinux/software/swath/ EXTRACT_SUFX= .tar.xz d18 4 a21 1 USE_TOOLS+= gmake pkg-config @ 1.6 log @Follow some redirects. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2017/01/19 18:52:28 agc Exp $ d4 1 a4 1 DISTNAME= swath-0.4.3 d8 1 d18 1 a18 1 USE_TOOLS+= pkg-config @ 1.5 log @Convert all occurrences (353 by my count) of MASTER_SITES= site1 \ site2 style continuation lines to be simple repeated MASTER_SITES+= site1 MASTER_SITES+= site2 lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint accordingly. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2015/03/15 17:15:01 hiramatsu Exp $ d10 1 a10 1 HOMEPAGE= http://linux.thai.net/projects/thailatex @ 1.4 log @Set MAINTAINER to pkgsrc-users. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2014/02/27 12:43:31 obache Exp $ d6 2 a7 2 MASTER_SITES= ftp://linux.thai.net/pub/ThaiLinux/software/swath/ \ http://linux.thai.net/pub/ThaiLinux/software/swath/ @ 1.3 log @Update swath to 0.4.3. 0.4.3 (2012-06-13) ===== - Replace word break dictionary with the word lists used to prepare hyphenation patterns for the upcoming ThaiLaTeX, for best results. 0.4.2 (2012-02-08) ===== - Fix wrong word break within punctuation sequences like LaTeX `` and ''. - Reformat source for readability. - Significant source clean-ups. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2012/10/25 06:57:02 asau Exp $ d9 1 a9 1 MAINTAINER= obache@@NetBSD.org @ 1.2 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2011/04/06 11:43:39 obache Exp $ d4 1 a4 1 DISTNAME= swath-0.4.1 @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ a13 2 PKG_DESTDIR_SUPPORT= user-destdir @ 1.1.1.1 log @Import swath-0.4.1 as textproc/swath. Swath is a general-purpose utility to workaround the lack of such capability in applications. It analyzes the given Thai text by consulting a Thai word list for word boundaries, before outputting the same text with the predefined word delimitors inserted. It can read many kinds of input, including plain text and structured documents like HTML, RTF, LaTeX and Lambda (Unicode version of LaTeX with Omega typesetter kernel). @ text @@