freebsd-ports/converters/o3read/Makefile
Dmitry Marakasov 96454e5450 This is a standalone converter for the OpenOffice.org swriter (*.sxw,*.odt)
and  scalc (*.sxc) formats.
It doesn't depend on Open Office or any other external tools or libraries.
There are three output modules:
    * o3read displays a dump of the parse tree
    * o3totxt creates plain text
    * o3tohtml creates html code
Example: unzip -p document.odt content.xml | o3totxt

WWW: http://siag.nu/o3read/

PR:		ports/126320
Submitted by:	Alex Samorukov <samm at os2 dot kiev dot ua>
2008-08-21 19:25:30 +00:00

37 lines
1.1 KiB
Makefile

# ex:ts=8
# New ports collection makefile for: o3read
# Date created: Aug 07, 2008
# Whom: samm
#
# $FreeBSD$
PORTNAME= o3read
PORTVERSION= 0.0.4
CATEGORIES= converters
MASTER_SITES= http://siag.nu/pub/o3read/ \
${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR= distfiles
MAINTAINER= samm@os2.kiev.ua
COMMENT= Standalone converter for the OpenOffice.org writer and scalc formats
MAN1= o3read.1 utf8tolatin1.1
MLINKS= o3read.1 o3totxt.1 o3read.1 o3tohtml.1
PORTDOCS= README COPYING ChangeLog
PLIST_FILES= bin/o3read bin/o3totxt bin/o3tohtml bin/utf8tolatin1
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/o3read ${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/o3totxt ${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/o3tohtml ${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/utf8tolatin1 ${PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/o3read.1 ${MANPREFIX}/man/man1
@${INSTALL_MAN} ${WRKSRC}/utf8tolatin1.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for FILE in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>