/[gentoo-x86]/dev-java/jfreesvg/jfreesvg-3.0.ebuild
Gentoo

Contents of /dev-java/jfreesvg/jfreesvg-3.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Jun 11 15:01:46 2015 UTC (4 years ago) by monsieurp
Branch: MAIN
CVS Tags: HEAD
Version bump. Fix bug 528400.

Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 93491BB8)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/jfreesvg/jfreesvg-2.1.ebuild,v 1.1 2015/06/09 16:38:14 monsieurp Exp $
4
5 EAPI=5
6
7 JAVA_PKG_IUSE="doc source"
8
9 inherit java-pkg-2 java-ant-2
10
11 DESCRIPTION="JFreeSVG is a fast, light-weight, vector graphics library for the Java platform"
12 HOMEPAGE="http://www.jfree.org/jfreesvg/"
13 SRC_URI="mirror://sourceforge/jfreegraphics2d/${P}.zip"
14
15 LICENSE="GPL-3"
16 SLOT="3.0"
17 KEYWORDS="~amd64 ~ppc ~x86"
18 IUSE="debug"
19
20 DEPEND=">=virtual/jdk-1.6
21 app-arch/unzip"
22 RDEPEND=">=virtual/jre-1.6"
23
24 java_prepare() {
25 find "${WORKDIR}" -name '*.jar' -print -delete || die
26 }
27
28 src_compile() {
29 if ! use debug; then
30 antflags="-Dbuild.debug=false -Dbuild.optimize=true"
31 fi
32 eant -f ant/build.xml compile $(use_doc) $antflags
33 }
34
35 src_install() {
36 java-pkg_newjar "./lib/${P}.jar" ${PN}.jar
37 dodoc README.md
38 use doc && java-pkg_dojavadoc javadoc
39 use source && java-pkg_dosrc src/main/java
40 }

  ViewVC Help
Powered by ViewVC 1.1.20