blob: d4a420c089ab3a357085330bc23e916b2d540941 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/ant-dotnet/ant-dotnet-1.0.ebuild,v 1.3 2008/07/01 19:45:06 betelgeuse Exp $
inherit java-pkg-2 java-ant-2
DESCRIPTION="Library that allows using ant to build and test .NET parts of a project"
HOMEPAGE="http://ant.apache.org/antlibs/"
SRC_URI="mirror://apache/ant/antlibs/dotnet/source/apache-${P}-src.tar.bz2"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
RDEPEND=">=virtual/jre-1.4
>=dev-java/ant-core-1.7.0
>=dev-lang/mono-1.1"
DEPEND="${RDEPEND}
>=virtual/jdk-1.4"
S="${WORKDIR}/apache-${P}"
JAVA_ANT_REWRITE_CLASSPATH="true"
EANT_BUILD_TARGET="antlib"
EANT_DOC_TARGET=""
EANT_GENTOO_CLASSPATH="ant-core"
src_install() {
java-pkg_newjar build/lib/${P}.jar
java-pkg_register-ant-task
if use doc; then
insinto /usr/share/doc/${PF} || die "insinto failed"
doins -r docs/* || die "doins failed"
fi
dodoc NOTICE TODO WHATSNEW CONTRIBUTORS README || die "dodoc failed"
dohtml README.html || die "dohtml failed"
}
|