diff options
author | Mikael Hallendal <hallski@gentoo.org> | 2002-01-23 18:17:34 +0000 |
---|---|---|
committer | Mikael Hallendal <hallski@gentoo.org> | 2002-01-23 18:17:34 +0000 |
commit | abd068795bfcc8a97c2ea2712a7488d764b15905 (patch) | |
tree | b3ac5aaed5798dc95be3c9f03131d92775860116 /app-text/antiword | |
parent | updated to latest version (diff) | |
download | historical-abd068795bfcc8a97c2ea2712a7488d764b15905.tar.gz historical-abd068795bfcc8a97c2ea2712a7488d764b15905.tar.bz2 historical-abd068795bfcc8a97c2ea2712a7488d764b15905.zip |
updated to latest version, fixed bug #281, A=, try, ..., ...
Diffstat (limited to 'app-text/antiword')
-rw-r--r-- | app-text/antiword/antiword-0.31.ebuild | 46 | ||||
-rw-r--r-- | app-text/antiword/antiword-0.32.ebuild | 46 | ||||
-rw-r--r-- | app-text/antiword/files/digest-antiword-0.31 | 1 | ||||
-rw-r--r-- | app-text/antiword/files/digest-antiword-0.32 | 1 | ||||
-rw-r--r-- | app-text/antiword/files/gentoo-antiword.diff | 11 |
5 files changed, 58 insertions, 47 deletions
diff --git a/app-text/antiword/antiword-0.31.ebuild b/app-text/antiword/antiword-0.31.ebuild deleted file mode 100644 index ef239351cade..000000000000 --- a/app-text/antiword/antiword-0.31.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2000 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Author Your Name <your email> -# $Header: /var/cvsroot/gentoo-x86/app-text/antiword/antiword-0.31.ebuild,v 1.2 2001/07/30 16:25:29 danarmak Exp $ -# The orig. author didn't write his name. I (danarmak) added the instructions -# printed from pkg_postinst. - -#P= -A=${P}.tar.gz -S=${WORKDIR}/${PN}.0.31 -DESCRIPTION="Antiword is a free MS Word reader for Linux and RISC OS" -SRC_URI="http://www.winfield.demon.nl/linux/${A}" -HOMEPAGE="http://www.winfield.demon.nl" - -DEPEND="app-text/ghostscript" - -src_compile() { - - rm Makefile - sed -e '/pedantic/d' -e 's/$(CFLAGS)/$(CFLAGS) -D$(DB)/' Makefile.Linux > Makefile - try make - -} - -src_install () { - - exeinto /usr/bin - doexe antiword kantiword - cd Docs - doman antiword.1 - dodoc COPYING ChangeLog FAQ History Netscape QandA ReadMe - cd .. - insinto /usr/share/${PN} - doins Resources/* - -} - -pkg_postinst() { - - echo " - For word-to-text conversion, create a symlink from ~/.antiword to - /usr/share/antiword. Or, copy the directory if you want to customize - it per-user. What's accessed under ~/.antiword is encoding definitions. -" - -}
\ No newline at end of file diff --git a/app-text/antiword/antiword-0.32.ebuild b/app-text/antiword/antiword-0.32.ebuild new file mode 100644 index 000000000000..68d50961ba16 --- /dev/null +++ b/app-text/antiword/antiword-0.32.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2000 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author: Mikael Hallendal <hallski@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-text/antiword/antiword-0.32.ebuild,v 1.1 2002/01/23 18:17:34 hallski Exp $ + +S=${WORKDIR}/${PN}.0.32 +DESCRIPTION="Antiword is a free MS Word reader for Linux and RISC OS" +SRC_URI="http://www.winfield.demon.nl/linux/${P}.tar.gz" +HOMEPAGE="http://www.winfield.demon.nl" + +DEPEND="app-text/ghostscript + " + +src_unpack() { + unpack ${A} + + cd ${S} + patch -p0 < ${FILESDIR}/gentoo-antiword.diff + + rm Makefile + + sed -e '/pedantic/d' -e 's/$(CFLAGS)/$(CFLAGS) -D$(DB)/' \ + Makefile.Linux > Makefile +} + +src_compile() { + emake || die +} + +src_install () { + exeinto /usr/bin + doexe antiword + + if [`use kde`] + then + kantiword + fi + + cd Docs + doman antiword.1 + dodoc COPYING ChangeLog FAQ History Netscape QandA ReadMe + + cd .. + insinto /usr/share/${PN} + doins Resources/* +} diff --git a/app-text/antiword/files/digest-antiword-0.31 b/app-text/antiword/files/digest-antiword-0.31 deleted file mode 100644 index 384451adf5b0..000000000000 --- a/app-text/antiword/files/digest-antiword-0.31 +++ /dev/null @@ -1 +0,0 @@ -MD5 bacc1727e44453f8ae38f2cdb7b7c54d antiword-0.31.tar.gz 172032 diff --git a/app-text/antiword/files/digest-antiword-0.32 b/app-text/antiword/files/digest-antiword-0.32 new file mode 100644 index 000000000000..b94e708bfc04 --- /dev/null +++ b/app-text/antiword/files/digest-antiword-0.32 @@ -0,0 +1 @@ +MD5 bbbef871b7e7bea4df2102c8f634f81e antiword-0.32.tar.gz 196608 diff --git a/app-text/antiword/files/gentoo-antiword.diff b/app-text/antiword/files/gentoo-antiword.diff new file mode 100644 index 000000000000..19fc8d6f9d67 --- /dev/null +++ b/app-text/antiword/files/gentoo-antiword.diff @@ -0,0 +1,11 @@ +--- antiword.h.orig Wed Jan 23 19:01:31 2002 ++++ antiword.h Wed Jan 23 19:01:46 2002 +@@ -143,7 +143,7 @@ + #define ANTIWORD_DIR "antiword" + #define FONTNAMES_FILE "fontname.txt" + #else +-#define GLOBAL_ANTIWORD_DIR "/opt/antiword/share" ++#define GLOBAL_ANTIWORD_DIR "/usr/share/antiword" + #define ANTIWORD_DIR ".antiword" + #define FONTNAMES_FILE "fontnames" + #endif /* __dos */ |