From owner-svn-ports-all@freebsd.org Sat Jan 5 18:05:40 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 294AA1419728; Sat, 5 Jan 2019 18:05:40 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C15718C4DE; Sat, 5 Jan 2019 18:05:39 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B17CB1C22C; Sat, 5 Jan 2019 18:05:39 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x05I5d4B017159; Sat, 5 Jan 2019 18:05:39 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x05I5cxv017155; Sat, 5 Jan 2019 18:05:38 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201901051805.x05I5cxv017155@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Sat, 5 Jan 2019 18:05:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r489359 - in head/textproc: . p5-docx2txt X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: in head/textproc: . p5-docx2txt X-SVN-Commit-Revision: 489359 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: C15718C4DE X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.968,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jan 2019 18:05:40 -0000 Author: swills Date: Sat Jan 5 18:05:38 2019 New Revision: 489359 URL: https://svnweb.freebsd.org/changeset/ports/489359 Log: textproc/p5-docx2txt: create port docx2txt is a perl based command line utility to convert Microsoft Office(Tm) Docx documents to equivalent Text documents. Latest version supports following features during text extraction. * Character conversions (" ' < & > - ... fraction and some mathematical symbols etc.); currency characters are converted to respective names like Euro. * Capitalisation of text blocks. * Center and right justification of text fitting in a line of (configurable) 80 columns. * Horizontal ruler, line breaks, paragraphs separation, tabs * Indicating hyperlinked text along with the hyperlink. (configurable) * Handling (bullet, decimal, letter, roman) lists along with (attempt at) indentation. WWW: https://sourceforge.net/projects/docx2txt/ PR: 225113 Submitted by: Piotr Kubaj Added: head/textproc/p5-docx2txt/ head/textproc/p5-docx2txt/Makefile (contents, props changed) head/textproc/p5-docx2txt/distinfo (contents, props changed) head/textproc/p5-docx2txt/pkg-descr (contents, props changed) head/textproc/p5-docx2txt/pkg-plist (contents, props changed) Modified: head/textproc/Makefile (contents, props changed) Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Sat Jan 5 17:49:15 2019 (r489358) +++ head/textproc/Makefile Sat Jan 5 18:05:38 2019 (r489359) @@ -1159,6 +1159,7 @@ SUBDIR += p5-YAPE-Regex-Explain SUBDIR += p5-ack SUBDIR += p5-dTemplate + SUBDIR += p5-docx2txt SUBDIR += p5-libsoldout SUBDIR += p5-libxml SUBDIR += p5-pod2pdf Added: head/textproc/p5-docx2txt/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/p5-docx2txt/Makefile Sat Jan 5 18:05:38 2019 (r489359) @@ -0,0 +1,28 @@ +# $FreeBSD$ + +PORTNAME= docx2txt +PORTVERSION= 1.4 +CATEGORIES= textproc perl5 +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/v${PORTVERSION} +PKGNAMEPREFIX= p5- + +MAINTAINER= pkubaj@anongoth.pl +COMMENT= Utility to convert Docx documents to equivalent Text documents + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= perl5 tar:tgz + +NO_ARCH= yes +NO_BUILD= yes + +pre-patch: + ${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' ${WRKSRC}/docx2txt.pl + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/docx2txt.pl ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/docx2txt.sh ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/docx2txt.config ${STAGEDIR}${PREFIX}/etc/docx2txt.config.sample + +.include Added: head/textproc/p5-docx2txt/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/p5-docx2txt/distinfo Sat Jan 5 18:05:38 2019 (r489359) @@ -0,0 +1,3 @@ +TIMESTAMP = 1515770114 +SHA256 (docx2txt-1.4.tgz) = b297752910a404c1435e703d5aedb4571222bd759fa316c86ad8c8bbe58c6d1b +SIZE (docx2txt-1.4.tgz) = 31302 Added: head/textproc/p5-docx2txt/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/p5-docx2txt/pkg-descr Sat Jan 5 18:05:38 2019 (r489359) @@ -0,0 +1,16 @@ +docx2txt is a perl based command line utility to convert Microsoft Office(Tm) +Docx documents to equivalent Text documents. Latest version supports +following features during text extraction. + +* Character conversions (" ' < & > - ... fraction and some mathematical + symbols etc.); currency characters are converted to respective names + like Euro. +* Capitalisation of text blocks. +* Center and right justification of text fitting in a line of + (configurable) 80 columns. +* Horizontal ruler, line breaks, paragraphs separation, tabs +* Indicating hyperlinked text along with the hyperlink. (configurable) +* Handling (bullet, decimal, letter, roman) lists along with (attempt at) + indentation. + +WWW: https://sourceforge.net/projects/docx2txt/ Added: head/textproc/p5-docx2txt/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/p5-docx2txt/pkg-plist Sat Jan 5 18:05:38 2019 (r489359) @@ -0,0 +1,3 @@ +bin/docx2txt.pl +bin/docx2txt.sh +@sample etc/docx2txt.config.sample