Date: Sat, 21 Mar 2015 19:39:54 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r381831 - head/textproc/odt2txt Message-ID: <201503211939.t2LJdsBw084818@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sat Mar 21 19:39:53 2015 New Revision: 381831 URL: https://svnweb.freebsd.org/changeset/ports/381831 QAT: https://qat.redports.org/buildarchive/r381831/ Log: - Update to 0.5 - Convert to new USE_GITHUB usage and remove deprecated GH_COMMIT - Silence patch message - Cosmetic change - Update pkg-descr - Update WWW - Take maintainership Changes: https://github.com/dstosberg/odt2txt/commits/master Modified: head/textproc/odt2txt/Makefile head/textproc/odt2txt/distinfo head/textproc/odt2txt/pkg-descr Modified: head/textproc/odt2txt/Makefile ============================================================================== --- head/textproc/odt2txt/Makefile Sat Mar 21 19:39:46 2015 (r381830) +++ head/textproc/odt2txt/Makefile Sat Mar 21 19:39:53 2015 (r381831) @@ -2,34 +2,31 @@ # $FreeBSD$ PORTNAME= odt2txt -PORTVERSION= 0.4 -PORTREVISION= 2 +PORTVERSION= 0.5 CATEGORIES= textproc -MASTER_SITES= GHL -MAINTAINER= ports@FreeBSD.org +MAINTAINER= sunpoet@FreeBSD.org COMMENT= Simple converter from OpenDocument Text to plain text LICENSE= GPLv2 -USE_GITHUB= yes -GH_ACCOUNT= dstosberg -GH_PROJECT= odt2txt -GH_COMMIT= 97b8999 -GH_TAGNAME= ${GH_COMMIT} -USES= iconv gmake - CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +USES= gmake iconv +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PLIST_FILES= bin/odt2txt man/man1/odt2txt.1.gz +GH_ACCOUNT= dstosberg +GH_PROJECT= odt2txt +GH_TAGNAME= v${PORTVERSION} +USE_GITHUB= yes + post-patch: - ${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' \ - -e 's#-liconv#${ICONV_LIB}#' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g; s|-liconv|${ICONV_LIB}|' ${WRKSRC}/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/odt2txt ${STAGEDIR}${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/odt2txt.1 ${STAGEDIR}${MANPREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/odt2txt ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/odt2txt.1 ${STAGEDIR}${MANPREFIX}/man/man1/ .include <bsd.port.mk> Modified: head/textproc/odt2txt/distinfo ============================================================================== --- head/textproc/odt2txt/distinfo Sat Mar 21 19:39:46 2015 (r381830) +++ head/textproc/odt2txt/distinfo Sat Mar 21 19:39:53 2015 (r381831) @@ -1,2 +1,2 @@ -SHA256 (odt2txt-0.4.tar.gz) = fbc13db0b6fff4d702820e2b0a0db6e2c33c4730cedcc512b94a748f28c5b6e0 -SIZE (odt2txt-0.4.tar.gz) = 24483 +SHA256 (dstosberg-odt2txt-0.5-v0.5_GH0.tar.gz) = 23a889109ca9087a719c638758f14cc3b867a5dcf30a6c90bf6a0985073556dd +SIZE (dstosberg-odt2txt-0.5-v0.5_GH0.tar.gz) = 24460 Modified: head/textproc/odt2txt/pkg-descr ============================================================================== --- head/textproc/odt2txt/pkg-descr Sat Mar 21 19:39:46 2015 (r381830) +++ head/textproc/odt2txt/pkg-descr Sat Mar 21 19:39:53 2015 (r381831) @@ -1,13 +1,18 @@ -A simple converter from OpenDocument Text to plain text +odt2txt is a command-line tool which extracts the text out of OpenDocument Texts +produced by LibreOffice, OpenOffice, StarOffice, KOffice and others. - * small (size of binary is 25 KB on Linux/i386) - * fast (no xml parser involved) - * supports multiple output encodings, adopts to your locale - * can substitute common characters which the output charset does not - contain with ascii look-alikes - * portable (runs on Linux, *BSD, Solaris, Windows, Cygwin) - * mostly self-contained (only requirements are a POSIX-compatible regex - library and an iconv implementation) - * license: GPL, version 2 +odt2txt can also extract text from some file formats similar to OpenDocument +Text, such as OpenOffice.org XML, which was used by OpenOffice.org version 1.x +and older StarOffice versions. To a lesser extent, odt2txt may be useful to +extract content from OpenDocument spreadsheets and OpenDocument presentations. -WWW: http://stosberg.net/odt2txt/ +odt2txt is: +- small +- supports multiple output encodings +- adopts to your locale +- able to substitute common characters which the output charset does not contain + with ascii look-a-likes +- written in C, has few dependencies +- portable (runs on Linux, Mac OS X, Windows, *BSD, Cygwin, Solaris, HP-UX) + +WWW: https://github.com/dstosberg/odt2txt/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503211939.t2LJdsBw084818>