ports/171789: commit references a PR
dfilter service
dfilter at FreeBSD.ORG
Thu Sep 20 14:30:14 UTC 2012
The following reply was made to PR ports/171789; it has been noted by GNATS.
From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/171789: commit references a PR
Date: Thu, 20 Sep 2012 14:22:25 +0000 (UTC)
Author: pawel
Date: Thu Sep 20 14:22:09 2012
New Revision: 304580
URL: http://svn.freebsd.org/changeset/ports/304580
Log:
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/
PR: ports/171789
Submitted by: nemysis at gmx.ch
Added:
head/textproc/unoconv/
head/textproc/unoconv/Makefile (contents, props changed)
head/textproc/unoconv/distinfo (contents, props changed)
head/textproc/unoconv/files/
head/textproc/unoconv/files/pkg-message.in (contents, props changed)
head/textproc/unoconv/files/unoconv.in (contents, props changed)
head/textproc/unoconv/pkg-descr (contents, props changed)
head/textproc/unoconv/pkg-plist (contents, props changed)
Modified:
head/textproc/Makefile
Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile Thu Sep 20 14:21:34 2012 (r304579)
+++ head/textproc/Makefile Thu Sep 20 14:22:09 2012 (r304580)
@@ -1429,6 +1429,7 @@
SUBDIR += uml2svg
SUBDIR += uncrustify
SUBDIR += uni2ascii
+ SUBDIR += unoconv
SUBDIR += unroff
SUBDIR += unrtf
SUBDIR += urlview
Added: head/textproc/unoconv/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/unoconv/Makefile Thu Sep 20 14:22:09 2012 (r304580)
@@ -0,0 +1,65 @@
+# $FreeBSD$
+
+PORTNAME= unoconv
+PORTVERSION= 0.6
+CATEGORIES= textproc python
+MASTER_SITES= http://dag.wieers.com/home-made/unoconv/
+DIST_SUBDIR= python
+
+MAINTAINER= nemysis at gmx.ch
+COMMENT= Convert any document from and to any LibreOffice supported format
+
+LICENSE= GPLv2
+
+RUN_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt
+
+USE_PYTHON= yes
+NO_BUILD= yes
+
+PORTDATA= *
+
+DOCSRCDIR1= ${WRKSRC}
+DOC_FILES1= AUTHORS ChangeLog README.asciidoc WISHLIST
+
+DOCSRCDIR2= ${WRKSRC}/doc
+DOCSDIR2= ${DOCSDIR}/doc
+DOC_FILES2= errcode.txt filters.txt formats.txt office-installations.txt \
+ selinux.txt unoconv.1.txt
+
+MAN1= ${PORTNAME}.1
+
+SUB_FILES= ${PORTNAME} pkg-message
+
+.include <bsd.port.options.mk>
+
+do-install:
+# Scripts
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
+
+# Executable
+ ${MKDIR} ${DATADIR}/tests
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${DATADIR}
+
+# Data
+.for f in *.odt *.csv
+ @(cd ${WRKSRC}/tests && ${INSTALL_DATA} ${f} ${DATADIR}/tests)
+.endfor
+
+# Pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/tests/dag.gif ${PREFIX}/share/pixmaps/${PORTNAME}.gif
+
+# Documentation
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${DOCSDIR}
+ ${MKDIR} ${DOCSDIR2}
+ ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${DOCSDIR2}
+ ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
+.endif
+
+# pkg-message
+ @${ECHO_CMD}
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO_CMD}
+
+.include <bsd.port.mk>
Added: head/textproc/unoconv/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/unoconv/distinfo Thu Sep 20 14:22:09 2012 (r304580)
@@ -0,0 +1,2 @@
+SHA256 (python/unoconv-0.6.tar.gz) = 790e614b8615217ef4588b187f0018b526ec2bb480c6b9b2ffb9b82f48da73d4
+SIZE (python/unoconv-0.6.tar.gz) = 91578
Added: head/textproc/unoconv/files/pkg-message.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/unoconv/files/pkg-message.in Thu Sep 20 14:22:09 2012 (r304580)
@@ -0,0 +1,11 @@
+===============================================================================
+
+Universal Office Converter (unoconv) has been installed.
+
+For Document conversions is needed that is LibreOffice or OpenOffice installed
+
+editors/libreoffice
+
+editors/openoffice*
+
+===============================================================================
Added: head/textproc/unoconv/files/unoconv.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/unoconv/files/unoconv.in Thu Sep 20 14:22:09 2012 (r304580)
@@ -0,0 +1,7 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+cd "%%DATADIR%%"
+./unoconv "$@"
Added: head/textproc/unoconv/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/unoconv/pkg-descr Thu Sep 20 14:22:09 2012 (r304580)
@@ -0,0 +1,9 @@
+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/
Added: head/textproc/unoconv/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/unoconv/pkg-plist Thu Sep 20 14:22:09 2012 (r304580)
@@ -0,0 +1,14 @@
+bin/unoconv
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/README.asciidoc
+%%PORTDOCS%%%%DOCSDIR%%/WISHLIST
+%%PORTDOCS%%%%DOCSDIR%%/doc/errcode.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/filters.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/formats.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/office-installations.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/selinux.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/unoconv.1.txt
+share/pixmaps/unoconv.gif
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
_______________________________________________
svn-ports-all at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe at freebsd.org"
More information about the freebsd-ports-bugs
mailing list