summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/fop-bin/fop-bin-0.20.4.ebuild')
-rw-r--r--dev-java/fop-bin/fop-bin-0.20.4.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/dev-java/fop-bin/fop-bin-0.20.4.ebuild b/dev-java/fop-bin/fop-bin-0.20.4.ebuild
index d44377896b80..386655cdf8ff 100644
--- a/dev-java/fop-bin/fop-bin-0.20.4.ebuild
+++ b/dev-java/fop-bin/fop-bin-0.20.4.ebuild
@@ -1,11 +1,10 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/fop-bin/fop-bin-0.20.4.ebuild,v 1.3 2003/03/01 04:51:11 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/fop-bin/fop-bin-0.20.4.ebuild,v 1.4 2003/04/23 15:11:05 vapier Exp $
-P=${P/-bin/}
-PN=${PN/-bin/}
+MY_P=${P/-bin/}
DESCRIPTION="Formatting Objects Processor is a print formatter driven by XSL"
-SRC_URI="http://xml.apache.org/dist/fop/${P}-bin.tar.gz"
+SRC_URI="http://xml.apache.org/dist/fop/${MY_P}-bin.tar.gz"
HOMEPAGE="http://xml.apache.org/fop/"
LICENSE="Apache-1.1"
@@ -14,12 +13,14 @@ KEYWORDS="~x86"
DEPEND=">=virtual/jdk-1.4"
+S=${WORKDIR}/${MY_P}
+
src_install() {
sed '2itest "$FOP_HOME" || FOP_HOME=/usr/share/fop/' fop.sh > fop
exeinto /usr/bin
doexe fop
- dojar lib/*.jar build/*.jar
+ env PN=${PN/-bin/} dojar lib/*.jar build/*.jar
dodoc LICENSE README CHANGES ReleaseNotes.html STATUS
dodoc lib/*.txt docs/*.pdf conf/*
dohtml -r docs/html-docs/*