blob: c0de4b6cfb3e7c7e916c82195da689825e130441 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 java-ant-2
DESCRIPTION="Java date chooser bean for graphically picking a date"
HOMEPAGE="https://www.toedter.com/en/jcalendar/"
SRC_URI="https://www.toedter.com/download/${P}.zip"
LICENSE="LGPL-2.1"
SLOT="1.2"
KEYWORDS="amd64 x86"
CDEPEND="dev-java/jgoodies-looks:2.6"
DEPEND="
${CDEPEND}
>=virtual/jdk-1.8:*"
RDEPEND="
${CDEPEND}
>=virtual/jre-1.8:*"
BDEPEND="app-arch/unzip"
S="${WORKDIR}"
RESTRICT="test"
JAVA_ANT_REWRITE_CLASSPATH="true"
EANT_GENTOO_CLASSPATH="jgoodies-looks-2.6"
EANT_BUILD_XML="src/build.xml"
EANT_BUILD_TARGET="jar"
EANT_DOC_TARGET=""
src_prepare() {
default
java-pkg_clean
}
src_install() {
java-pkg_newjar lib/${P}.jar
dodoc readme.txt
use doc && java-pkg_dohtml -r doc/*
use source && java-pkg_dosrc src/com
}
|