Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

13
textproc/o3read/DESCR Normal file
View File

@@ -0,0 +1,13 @@
This 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.

11
textproc/o3read/Makefile Normal file
View File

@@ -0,0 +1,11 @@
# $NetBSD: Makefile,v 1.4 2013/04/13 07:55:03 ghen Exp $
DISTNAME= o3read-0.0.4
CATEGORIES= textproc
MASTER_SITES= http://siag.nu/pub/o3read/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://siag.nu/o3read/
COMMENT= Standalone converter for OpenOffice and OpenDocument file formats
.include "../../mk/bsd.pkg.mk"

9
textproc/o3read/PLIST Normal file
View File

@@ -0,0 +1,9 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2006/07/07 14:48:04 ghen Exp $
bin/o3read
bin/o3tohtml
bin/o3totxt
bin/utf8tolatin1
man/man1/o3read.1
man/man1/o3tohtml.1
man/man1/o3totxt.1
man/man1/utf8tolatin1.1

6
textproc/o3read/distinfo Normal file
View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.2 2009/07/07 20:58:04 joerg Exp $
SHA1 (o3read-0.0.4.tar.gz) = aa8bcfc82b5327f3d86a35193c0a434e33107d09
RMD160 (o3read-0.0.4.tar.gz) = c011a283fdc3ee6ff4c340519a4ef7f32c258f38
Size (o3read-0.0.4.tar.gz) = 21075 bytes
SHA1 (patch-aa) = ed5039ef9bf3a75955b102f6c0318a680d2f0dd4

View File

@@ -0,0 +1,30 @@
$NetBSD: patch-aa,v 1.2 2009/07/07 20:58:04 joerg 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
@@ -42,9 +39,9 @@ strip: $(BINS)
strip $(BINS)
install: $(BINS)
- mkdir -p $(BINDIR) $(MANDIR)
- cp $(BINS) $(BINDIR)
- cp $(MANS) $(MANDIR)
+ mkdir -p ${DESTDIR}$(BINDIR) ${DESTDIR}$(MANDIR)
+ cp $(BINS) ${DESTDIR}$(BINDIR)
+ cp $(MANS) ${DESTDIR}$(MANDIR)
uninstall:
cd $(BINDIR) && rm -f $(BINS)