/[gentoo-x86]/dev-java/mx4j/mx4j-3.0.1-r2.ebuild
Gentoo

Diff of /dev-java/mx4j/mx4j-3.0.1-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.5 Revision 1.8
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/dev-java/mx4j/Attic/mx4j-3.0.1-r2.ebuild,v 1.5 2007/02/03 22:49:14 beandog Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-java/mx4j/Attic/mx4j-3.0.1-r2.ebuild,v 1.8 2009/07/23 13:20:03 ali_bush Exp $
4 4
5JAVA_PKG_OPT_USE="examples" 5JAVA_PKG_OPT_USE="examples"
6JAVA_PKG_IUSE="doc source examples"
6 7
7inherit java-pkg-opt-2 java-ant-2 8inherit java-pkg-opt-2 java-ant-2
8 9
9DESCRIPTION="Metapackage for mx4j" 10DESCRIPTION="Metapackage for mx4j"
10HOMEPAGE="http://mx4j.sourceforge.net/" 11HOMEPAGE="http://mx4j.sourceforge.net/"
15LICENSE="GPL-2" 16LICENSE="GPL-2"
16SLOT="3.0" 17SLOT="3.0"
17 18
18KEYWORDS="amd64 x86" 19KEYWORDS="amd64 x86"
19 20
20IUSE="doc examples source" 21IUSE=""
21 22
22COMMON_DEP=" 23COMMON_DEP="
23 examples? ( 24 examples? (
24 dev-java/bcel 25 dev-java/bcel
25 dev-java/log4j 26 dev-java/log4j
26 dev-java/commons-logging 27 dev-java/commons-logging
27 =www-servers/axis-1* 28 =www-servers/axis-1*
28 ~dev-java/servletapi-2.3 29 ~dev-java/servletapi-2.3
29 =dev-java/burlap-3.0* 30 =dev-java/burlap-3.0*
30 =dev-java/hessian-3.0.8* 31 =dev-java/hessian-3.0.8*
31 dev-java/jython 32 =dev-java/jython-2.2*
32 =dev-java/gnu-jaf-1* 33 =dev-java/gnu-jaf-1*
33 =dev-java/gnu-javamail-1* 34 =dev-java/gnu-javamail-1*
34 )" 35 )
35 36 =dev-java/mx4j-core-3.0*
37 =dev-java/mx4j-tools-3.0*
38 "
36 39
37RDEPEND=" 40RDEPEND="
38 =dev-java/mx4j-core-3.0*
39 =dev-java/mx4j-tools-3.0*
40 ${COMMON_DEP} 41 ${COMMON_DEP}
41 examples? ( >=virtual/jre-1.4 )" 42 examples? ( >=virtual/jre-1.4 )"
42 43
43# We always depend on a jdk to get the package.env created 44# We always depend on a jdk to get the package.env created
44DEPEND=">=virtual/jdk-1.4 45DEPEND=">=virtual/jdk-1.4
89 java-pkg_dohtml -r "${docdir}/images" 90 java-pkg_dohtml -r "${docdir}/images"
90 java-pkg_dohtml "${docdir}"/{*.html,*.css} 91 java-pkg_dohtml "${docdir}"/{*.html,*.css}
91 fi 92 fi
92 93
93 # Recording jars to get the same behaviour as before 94 # Recording jars to get the same behaviour as before
94 oldifs="${IFS}"
95 IFS=":"
96 for jar in $(java-pkg_getjars mx4j-core-3.0,mx4j-tools-3.0); do 95 local jars="$(java-pkg_getjars mx4j-core-3.0,mx4j-tools-3.0)"
96 for jar in ${jars//:/ }; do
97 java-pkg_regjar "${jar}" 97 java-pkg_regjar "${jar}"
98 done 98 done
99 IFS="${oldifs}"
100} 99}
101 100
102pkg_postinst() { 101pkg_postinst() {
103 elog "Although this package can be used directly with java-config," 102 elog "Although this package can be used directly with java-config,"
104 elog "ebuild developers should use mx4j-core and mx4j-tools directly." 103 elog "ebuild developers should use mx4j-core and mx4j-tools directly."

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20