/[gentoo-x86]/dev-java/kunststoff/kunststoff-2.0.2-r1.ebuild
Gentoo

Contents of /dev-java/kunststoff/kunststoff-2.0.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Wed Dec 27 22:39:25 2006 UTC (13 years, 2 months ago) by betelgeuse
Branch: MAIN
Migrated to generation 2 and added the source use flag.
(Portage version: 2.1.2_rc4-r1)

1 betelgeuse 1.1 # Copyright 1999-2006 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: /var/cvsroot/gentoo-x86/dev-java/kunststoff/kunststoff-2.0.2.ebuild,v 1.4 2005/07/12 19:40:12 axxo Exp $
4    
5     inherit java-pkg-2 java-ant-2
6    
7     DESCRIPTION="Kunststoff Look&Feel"
8     SRC_URI="http://www.incors.org/archive/${P//./_}.zip"
9     HOMEPAGE="http://www.incors.org/archive"
10     LICENSE="LGPL-2.1"
11     SLOT="2.0"
12     KEYWORDS="~x86 ~amd64 ~ppc"
13     IUSE="doc source"
14     DEPEND=">=virtual/jdk-1.4
15     >=dev-java/ant-core-1.4
16     >=app-arch/unzip-5.50-r1"
17     RDEPEND=">=virtual/jre-1.4"
18    
19     S=${WORKDIR}
20    
21     src_unpack() {
22     unpack ${A}
23     cd ${S}
24    
25     rm -f *.jar
26     cp ${FILESDIR}/build.xml .
27     }
28    
29     EANT_DOC_TARGET="docs"
30    
31     src_install() {
32     java-pkg_dojar dist/kunststoff.jar
33    
34     use doc && java-pkg_dojavadoc docs
35     use source && java-pkg_dosrc src/com
36     }

  ViewVC Help
Powered by ViewVC 1.1.20