Date: Sat, 5 Jan 2019 18:05:38 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r489359 - in head/textproc: . p5-docx2txt Message-ID: <201901051805.x05I5cxv017155@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <pkubaj@anongoth.pl> 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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901051805.x05I5cxv017155>