pkgsrc/textproc/o3read/patches/patch-aa
ghen 1e0a54ac5f Import o3read package from http://siag.nu/o3read/
o3read is a standalone converter for the OpenOffice.org swriter (*.sxw) and
scalc (*.sxc) formats. It doesn't depend on OpenOffice or any other external
tools or libraries.

Example: unzip -p filformat.sxw content.xml | o3read | utf8tolatin1

There are three output modules:

    * o3read displays a dump of the parse tree
    * o3totxt creates plain text
    * o3tohtml creates html code

The utility utf8tolatin1 converts from utf8 to 8859-1.
2006-07-07 14:48:04 +00:00

17 lines
515 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2006/07/07 14:48:04 ghen Exp $
--- Makefile.orig 2005-01-07 09:28:47.000000000 +0100
+++ Makefile
@@ -2,11 +2,8 @@
PACKAGE = o3read
VERSION = 0.0.4
-CC = gcc
-CFLAGS = -Wall -ansi -pedantic -O -g
-PREFIX = /usr/local
BINDIR = $(PREFIX)/bin
-MANDIR = $(PREFIX)/man/man1
+MANDIR = $(PREFIX)/$(PKGMANDIR)/man1
DOCS = COPYING INSTALL README TODO ChangeLog filformat.sxw
BINS = o3read o3totxt o3tohtml utf8tolatin1
SRCS = o3read.h main.c o3read.c o3totxt.c o3tohtml.c utf8tolatin1.c