diff options
author | 2003-03-01 04:16:57 +0000 | |
---|---|---|
committer | 2003-03-01 04:16:57 +0000 | |
commit | 372aef2fdc952898df18c08c5b7e9e87af537d11 (patch) | |
tree | 4a372e2b02f20ccf5f8c37cd3e0e94d3035c4cba /app-text/antiword | |
parent | touchups (diff) | |
download | gentoo-2-372aef2fdc952898df18c08c5b7e9e87af537d11.tar.gz gentoo-2-372aef2fdc952898df18c08c5b7e9e87af537d11.tar.bz2 gentoo-2-372aef2fdc952898df18c08c5b7e9e87af537d11.zip |
touchups
Diffstat (limited to 'app-text/antiword')
-rw-r--r-- | app-text/antiword/antiword-0.32.ebuild | 33 | ||||
-rw-r--r-- | app-text/antiword/antiword-0.33.ebuild | 28 |
2 files changed, 22 insertions, 39 deletions
diff --git a/app-text/antiword/antiword-0.32.ebuild b/app-text/antiword/antiword-0.32.ebuild index 75f3c86ba714..19f1a006568a 100644 --- a/app-text/antiword/antiword-0.32.ebuild +++ b/app-text/antiword/antiword-0.32.ebuild @@ -1,26 +1,25 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/antiword/antiword-0.32.ebuild,v 1.10 2003/02/13 09:32:32 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/antiword/antiword-0.32.ebuild,v 1.11 2003/03/01 04:12:35 vapier Exp $ -S=${WORKDIR}/${PN}.0.32 -DESCRIPTION="Antiword is a free MS Word reader for Linux and RISC OS" +DESCRIPTION="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 - " IUSE="kde" SLOT="0" LICENSE="GPL-2" -KEYWORDS="x86 ppc sparc " +KEYWORDS="x86 ppc sparc" + +DEPEND="app-text/ghostscript" + +S=${WORKDIR}/${PN}.${PV} src_unpack() { unpack ${A} - cd ${S} - patch -p0 < ${FILESDIR}/gentoo-antiword.diff - rm Makefile + patch -p0 < ${FILESDIR}/gentoo-antiword.diff sed -e '/pedantic/d' -e 's/$(CFLAGS)/$(CFLAGS) -D$(DB)/' \ Makefile.Linux > Makefile @@ -30,20 +29,14 @@ src_compile() { emake || die } -src_install () { - exeinto /usr/bin - doexe antiword +src_install() { + dobin antiword + use kde && dobin kantiword - if [`use kde`] - then - kantiword - fi + insinto /usr/share/${PN} + doins Resources/* 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/antiword-0.33.ebuild b/app-text/antiword/antiword-0.33.ebuild index 08b35e607f54..68f2a1c8fea4 100644 --- a/app-text/antiword/antiword-0.33.ebuild +++ b/app-text/antiword/antiword-0.33.ebuild @@ -1,26 +1,21 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/antiword/antiword-0.33.ebuild,v 1.6 2003/02/13 09:32:36 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/antiword/antiword-0.33.ebuild,v 1.7 2003/03/01 04:12:35 vapier Exp $ -S=${WORKDIR}/${PN}-0.33 -DESCRIPTION="Antiword is a free MS Word reader for Linux and RISC OS" +DESCRIPTION="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 - " IUSE="kde" SLOT="0" LICENSE="GPL-2" -KEYWORDS="x86 ppc sparc " +KEYWORDS="x86 ppc sparc" + +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 @@ -30,19 +25,14 @@ src_compile() { emake || die } -src_install () { +src_install() { dobin antiword + use kde && dobin kantiword - if [ `use kde` ] - then - dobin kantiword - fi + insinto /usr/share/${PN} + doins Resources/* cd Docs doman antiword.1 dodoc COPYING ChangeLog FAQ History Netscape QandA ReadMe - - cd .. - insinto /usr/share/${PN} - doins Resources/* } |