import odt2txt 0.4
odt2txt is a simple converter from OpenDocument Text to plain text. It's a command-line tool which extracts the text out of OpenDocument Texts produced by OpenOffice.org, StarOffice, KOffice and others.
This commit is contained in:
parent
ce64bd6718
commit
c4c768d070
28
textproc/odt2txt/Makefile
Normal file
28
textproc/odt2txt/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2009/04/14 11:28:12 jasper Exp $
|
||||
|
||||
COMMENT= convert OpenDocument Text to plain text
|
||||
|
||||
DISTNAME= odt2txt-0.4
|
||||
CATEGORIES= textproc
|
||||
|
||||
HOMEPAGE= http://stosberg.net/odt2txt/
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE}
|
||||
|
||||
WANTLIB += c z
|
||||
|
||||
USE_GMAKE= Yes
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/odt2txt ${PREFIX}/bin/
|
||||
${INSTALL_MAN} ${WRKSRC}/odt2txt.1 ${PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
5
textproc/odt2txt/distinfo
Normal file
5
textproc/odt2txt/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (odt2txt-0.4.tar.gz) = b+O9Jhzi3eKBAkS76Wm7xQ==
|
||||
RMD160 (odt2txt-0.4.tar.gz) = u27xpYprGPQIVb5BJOMrHVFOi8o=
|
||||
SHA1 (odt2txt-0.4.tar.gz) = Mx7vHGTOyAmlx7fPuXInnMT5yRQ=
|
||||
SHA256 (odt2txt-0.4.tar.gz) = pfS9+BzcKvtg+nTtXaNCNer9x4Jj9aqjJRk8K/jRZvg=
|
||||
SIZE (odt2txt-0.4.tar.gz) = 23997
|
12
textproc/odt2txt/patches/patch-Makefile
Normal file
12
textproc/odt2txt/patches/patch-Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2009/04/14 11:28:12 jasper Exp $
|
||||
--- Makefile.orig Mon Jun 23 21:32:28 2008
|
||||
+++ Makefile Tue Apr 14 13:23:40 2009
|
||||
@@ -7,7 +7,7 @@ CFLAGS = -O0 -g -Wextra -DMEMDEBUG -DSTRBUF_CHECK
|
||||
#LDFLAGS = -lefence
|
||||
LDFLAGS += -g
|
||||
else
|
||||
-CFLAGS = -O2
|
||||
+CFLAGS ?= -O2
|
||||
endif
|
||||
|
||||
ifdef NO_ICONV
|
3
textproc/odt2txt/pkg/DESCR
Normal file
3
textproc/odt2txt/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
odt2txt is a simple converter from OpenDocument Text to plain text. It's
|
||||
a command-line tool which extracts the text out of OpenDocument Texts
|
||||
produced by OpenOffice.org, StarOffice, KOffice and others.
|
3
textproc/odt2txt/pkg/PLIST
Normal file
3
textproc/odt2txt/pkg/PLIST
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/04/14 11:28:12 jasper Exp $
|
||||
@bin bin/odt2txt
|
||||
@man man/man1/odt2txt.1
|
Loading…
Reference in New Issue
Block a user