Date: Wed, 19 Sep 2012 19:41:30 +0200 From: nemysis <nemysis@gmx.ch> To: FreeBSD-gnats-submit@FreeBSD.org Cc: jgh@FreeBSD.org Subject: ports/171789: [NEW PORT] textproc/unoconv: Convert any document from and to any LibreOffice supported format Message-ID: <20120919174135.C4ABF1065673@hub.freebsd.org> Resent-Message-ID: <201209191750.q8JHoB0G059683@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 171789 >Category: ports >Synopsis: [NEW PORT] textproc/unoconv: Convert any document from and to any LibreOffice supported format >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Sep 19 17:50:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: nemysis >Release: FreeBSD 9.0-RELEASE amd64 >Organization: >Environment: System: FreeBSD FreeBSD_Ports 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC >Description: Universal Office Converter (unoconv) is a command line tool to convert any document format that LibreOffice can import to any document format that LibreOffice can export. It makes use of the LibreOffice's UNO bindings for non-interactive conversion of documents. For practical reasons we mention LibreOffice, but OpenOffice is supported by unoconv as well. WWW: http://dag.wieers.com/home-made/unoconv/ Generated and tested manually, tested with port test and with RedPorts (all RELEASES, CLANG), sent with FreeBSD Port Tools 0.99_6 (mode: new) >How-To-Repeat: portlint -A WARN: Makefile: [7]: possible direct use of command "python" found. use ${PYTHON_CMD} instead. WARN: Makefile: only one MASTER_SITE configured. Consider adding additional mirrors. 0 fatal errors and 2 warnings found. WARN: Makefile: [7] because is used DIST_SUBDIR= python Build log RedPorts https://redports.org/buildarchive/20120919171929-31061/ >Fix: --- .shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # unoconv # unoconv/files # unoconv/files/pkg-message.in # unoconv/files/unoconv.in # unoconv/Makefile # unoconv/pkg-descr # unoconv/distinfo # unoconv/pkg-plist # echo c - unoconv mkdir -p unoconv > /dev/null 2>&1 echo c - unoconv/files mkdir -p unoconv/files > /dev/null 2>&1 echo x - unoconv/files/pkg-message.in sed 's/^X//' >unoconv/files/pkg-message.in << '4f1c741c7b79b0c7f57e19d8e58d1948' X=============================================================================== X XUniversal Office Converter (unoconv) has been installed. X XFor Document conversions is needed that is LibreOffice or OpenOffice installed X Xeditors/libreoffice X Xeditors/openoffice* X X=============================================================================== 4f1c741c7b79b0c7f57e19d8e58d1948 echo x - unoconv/files/unoconv.in sed 's/^X//' >unoconv/files/unoconv.in << 'bdaaa1cb84dc0f5185aa43f2e556b60d' X#!/bin/sh X# X# $FreeBSD$ X# X Xcd "%%DATADIR%%" X./unoconv "$@" bdaaa1cb84dc0f5185aa43f2e556b60d echo x - unoconv/Makefile sed 's/^X//' >unoconv/Makefile << '7c5e881d4bd0857e26fdc35344cc59f7' X# $FreeBSD$ X XPORTNAME= unoconv XPORTVERSION= 0.6 XCATEGORIES= textproc python XMASTER_SITES= http://dag.wieers.com/home-made/unoconv/ XDIST_SUBDIR= python X XMAINTAINER= nemysis@gmx.ch XCOMMENT= Convert any document from and to any LibreOffice supported format X XLICENSE= GPLv2 X XRUN_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt X XUSE_PYTHON= yes XNO_BUILD= yes X XPORTDATA= * X XDOCSRCDIR1= ${WRKSRC} XDOC_FILES1= AUTHORS ChangeLog README.asciidoc WISHLIST X XDOCSRCDIR2= ${WRKSRC}/doc XDOCSDIR2= ${DOCSDIR}/doc XDOC_FILES2= errcode.txt filters.txt formats.txt office-installations.txt \ X selinux.txt unoconv.1.txt X XMAN1= ${PORTNAME}.1 X XSUB_FILES= ${PORTNAME} pkg-message X X.include <bsd.port.options.mk> X Xdo-install: X# Scripts X ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin X X# Executable X ${MKDIR} ${DATADIR}/tests X ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${DATADIR} X X# Data X.for f in *.odt *.csv X @(cd ${WRKSRC}/tests && ${INSTALL_DATA} ${f} ${DATADIR}/tests) X.endfor X X# Pixmaps X ${INSTALL_DATA} ${WRKSRC}/tests/dag.gif ${PREFIX}/share/pixmaps/${PORTNAME}.gif X X# Documentation X.if ${PORT_OPTIONS:MDOCS} X ${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${DOCSDIR} X ${MKDIR} ${DOCSDIR2} X ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${DOCSDIR2} X ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${MAN1PREFIX}/man/man1 X.endif X X# pkg-message X @${ECHO_CMD} X @${CAT} ${PKGMESSAGE} X @${ECHO_CMD} X X.include <bsd.port.mk> 7c5e881d4bd0857e26fdc35344cc59f7 echo x - unoconv/pkg-descr sed 's/^X//' >unoconv/pkg-descr << '66ed8bd95d63d37450fa5af260004e7e' XUniversal Office Converter (unoconv) is a command line tool to convert any Xdocument format that LibreOffice can import to any document format that XLibreOffice can export. It makes use of the LibreOffice's UNO bindings for Xnon-interactive conversion of documents. X XFor practical reasons we mention LibreOffice, but OpenOffice is supported by Xunoconv as well. X XWWW: http://dag.wieers.com/home-made/unoconv/ 66ed8bd95d63d37450fa5af260004e7e echo x - unoconv/distinfo sed 's/^X//' >unoconv/distinfo << 'b8c13ea2d6da960dc5ff5a5b05d78807' XSHA256 (python/unoconv-0.6.tar.gz) = 790e614b8615217ef4588b187f0018b526ec2bb480c6b9b2ffb9b82f48da73d4 XSIZE (python/unoconv-0.6.tar.gz) = 91578 b8c13ea2d6da960dc5ff5a5b05d78807 echo x - unoconv/pkg-plist sed 's/^X//' >unoconv/pkg-plist << '9598e2313b9cf113111425e248554c4f' Xbin/unoconv X%%PORTDOCS%%%%DOCSDIR%%/AUTHORS X%%PORTDOCS%%%%DOCSDIR%%/ChangeLog X%%PORTDOCS%%%%DOCSDIR%%/README.asciidoc X%%PORTDOCS%%%%DOCSDIR%%/WISHLIST X%%PORTDOCS%%%%DOCSDIR%%/doc/errcode.txt X%%PORTDOCS%%%%DOCSDIR%%/doc/filters.txt X%%PORTDOCS%%%%DOCSDIR%%/doc/formats.txt X%%PORTDOCS%%%%DOCSDIR%%/doc/office-installations.txt X%%PORTDOCS%%%%DOCSDIR%%/doc/selinux.txt X%%PORTDOCS%%%%DOCSDIR%%/doc/unoconv.1.txt Xshare/pixmaps/unoconv.gif X%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc X%%PORTDOCS%%@dirrm %%DOCSDIR%% 9598e2313b9cf113111425e248554c4f exit --- .shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120919174135.C4ABF1065673>