Lines 2-8
Link Here
|
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/log4j/log4j-1.2.16.ebuild,v 1.8 2012/04/15 18:40:55 vapier Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-java/log4j/log4j-1.2.16.ebuild,v 1.8 2012/04/15 18:40:55 vapier Exp $ |
4 |
|
4 |
|
5 |
EAPI=2 |
5 |
EAPI=4 |
6 |
JAVA_PKG_IUSE="doc javamail jms jmx source" |
6 |
JAVA_PKG_IUSE="doc javamail jms jmx source" |
7 |
|
7 |
|
8 |
inherit java-pkg-2 java-ant-2 |
8 |
inherit java-pkg-2 java-ant-2 |
Lines 63-69
Link Here
|
63 |
|
63 |
|
64 |
if use doc ; then |
64 |
if use doc ; then |
65 |
java-pkg_dohtml -r site/* |
65 |
java-pkg_dohtml -r site/* |
66 |
rm -fr "${D}/usr/share/doc/${PF}/html/apidocs" |
66 |
rm -fr "${ED}/usr/share/doc/${PF}/html/apidocs" |
67 |
java-pkg_dojavadoc --symlink apidocs site/apidocs |
67 |
java-pkg_dojavadoc --symlink apidocs site/apidocs |
68 |
fi |
68 |
fi |
69 |
use source && java-pkg_dosrc src/main/java/* |
69 |
use source && java-pkg_dosrc src/main/java/* |