pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/converters/odt2txt New package: odt2txt
details: https://anonhg.NetBSD.org/pkgsrc/rev/62b7d52f8a04
branches: trunk
changeset: 541242:62b7d52f8a04
user: reed <reed%pkgsrc.org@localhost>
date: Thu Apr 17 12:33:55 2008 +0000
description:
New package: odt2txt
odt2txt is a small, command-line tool which extracts the text out
of OpenDocument Texts, as produced by OpenOffice.org, KOffice,
StarOffice, and others. It supports multiple output encodings, has
locale support, and is able to substitute unknown characters.
(After I packaged this I also found o3read already packaged.)
diffstat:
converters/odt2txt/DESCR | 4 ++++
converters/odt2txt/Makefile | 20 ++++++++++++++++++++
converters/odt2txt/PLIST | 3 +++
converters/odt2txt/distinfo | 6 ++++++
converters/odt2txt/patches/patch-aa | 19 +++++++++++++++++++
5 files changed, 52 insertions(+), 0 deletions(-)
diffs (72 lines):
diff -r 037619711e65 -r 62b7d52f8a04 converters/odt2txt/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/odt2txt/DESCR Thu Apr 17 12:33:55 2008 +0000
@@ -0,0 +1,4 @@
+odt2txt is a small, command-line tool which extracts the text out
+of OpenDocument Texts, as produced by OpenOffice.org, KOffice,
+StarOffice, and others. It supports multiple output encodings, has
+locale support, and is able to substitute unknown characters.
diff -r 037619711e65 -r 62b7d52f8a04 converters/odt2txt/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/odt2txt/Makefile Thu Apr 17 12:33:55 2008 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/04/17 12:33:56 reed Exp $
+#
+
+DISTNAME= odt2txt-0.3
+CATEGORIES= converters textproc
+MASTER_SITES= http://stosberg.net/odt2txt/
+
+MAINTAINER= reed%reedmedia.net@localhost
+HOMEPAGE= http://stosberg.net/odt2txt/
+COMMENT= Simple converter from OpenDocument Text to plain text
+
+USE_TOOLS+= gmake
+MAKE_ENV+= DESTDIR="${LOCALBASE}" MANDIR="/${PKGMANDIR}"
+
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
+
+# TODO: maybe -m 644 for install of man page
+# TODO: iconv or not?
+# TODO: maybe package odf2html, odfread, odfreader
diff -r 037619711e65 -r 62b7d52f8a04 converters/odt2txt/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/odt2txt/PLIST Thu Apr 17 12:33:55 2008 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/04/17 12:33:56 reed Exp $
+bin/odt2txt
+man/man1/odt2txt.1
diff -r 037619711e65 -r 62b7d52f8a04 converters/odt2txt/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/odt2txt/distinfo Thu Apr 17 12:33:55 2008 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/04/17 12:33:56 reed Exp $
+
+SHA1 (odt2txt-0.3.tar.gz) = efebf01e77a2bfa44ce7f4f24fc244889c480d77
+RMD160 (odt2txt-0.3.tar.gz) = 0648959ab64018c0376045e8ae6d284d804cff9c
+Size (odt2txt-0.3.tar.gz) = 28810 bytes
+SHA1 (patch-aa) = fb517f02b831c27bdab1a0bfad4bb1013299f32c
diff -r 037619711e65 -r 62b7d52f8a04 converters/odt2txt/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/odt2txt/patches/patch-aa Thu Apr 17 12:33:55 2008 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/04/17 12:33:56 reed Exp $
+
+--- Makefile.orig 2007-05-21 15:50:37.000000000 -0500
++++ Makefile 2008-04-14 15:30:47.000000000 -0500
+@@ -19,10 +19,14 @@
+ INSTALL = install
+ GROFF = groff
+
++ifndef DESTDIR
+ DESTDIR = /usr/local
++endif
+ PREFIX =
+ BINDIR = $(PREFIX)/bin
++ifndef MANDIR
+ MANDIR = $(PREFIX)/share/man
++endif
+ MAN1DIR = $(MANDIR)/man1
+
+ ifeq ($(UNAME_S),FreeBSD)
Home |
Main Index |
Thread Index |
Old Index