summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/commons-email')
-rw-r--r--dev-java/commons-email/commons-email-1.4.ebuild17
1 files changed, 10 insertions, 7 deletions
diff --git a/dev-java/commons-email/commons-email-1.4.ebuild b/dev-java/commons-email/commons-email-1.4.ebuild
index c4837bb206fd..8821e566f647 100644
--- a/dev-java/commons-email/commons-email-1.4.ebuild
+++ b/dev-java/commons-email/commons-email-1.4.ebuild
@@ -12,21 +12,24 @@ HOMEPAGE="http://commons.apache.org/email/"
SRC_URI="mirror://apache/commons/email/source/${P}-src.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE=""
# Requires a slew of packages we don't ship yet.
RESTRICT="test"
CDEPEND="dev-java/oracle-javamail:0"
-RDEPEND=">=virtual/jre-1.6
- ${CDEPEND}"
-DEPEND=">=virtual/jdk-1.6
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.6"
+
+DEPEND="
+ ${CDEPEND}
test? (
dev-java/ant-junit:0
)
- ${CDEPEND}"
-IUSE=""
+ >=virtual/jdk-1.6"
S="${WORKDIR}/${P}-src"
@@ -44,7 +47,7 @@ src_test() {
}
src_install() {
- java-pkg_newjar target/${P}.jar ${PN}.jar
+ java-pkg_newjar "target/${P}.jar" "${PN}.jar"
dodoc {NOTICE,README,RELEASE-NOTES}.txt || die
use doc && java-pkg_dojavadoc target/site/apidocs
use source && java-pkg_dosrc src/main/java