/[gentoo-x86]/dev-java/jdom/jdom-1.0_beta10-r4.ebuild
Gentoo

Diff of /dev-java/jdom/jdom-1.0_beta10-r4.ebuild

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

Revision 1.1 Revision 1.2
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2006 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/jdom/jdom-1.0_beta10-r4.ebuild,v 1.1 2006/09/11 12:13:07 nelchael Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-java/jdom/jdom-1.0_beta10-r4.ebuild,v 1.2 2006/09/11 22:11:06 nelchael Exp $
4 4
5inherit java-pkg-2 java-ant-2 5inherit java-pkg-2 java-ant-2
6 6
7MY_PN="jdom" 7MY_PN="jdom"
8MY_PV="b10" 8MY_PV="b10"
32 32
33 cd ${S}/lib 33 cd ${S}/lib
34 java-pkg_jar-from saxpath 34 java-pkg_jar-from saxpath
35 java-pkg_jar-from xerces-2 35 java-pkg_jar-from xerces-2
36 36
37 if has_version dev-java/jaxen; then 37 if has_version '=dev-java/jaxen-1.1*'; then
38 java-pkg_jar-from jaxen-1.1 38 java-pkg_jar-from jaxen-1.1
39 fi 39 fi
40} 40}
41 41
42src_compile() { 42src_compile() {
52 use doc && java-pkg_dohtml -r build/apidocs/* 52 use doc && java-pkg_dohtml -r build/apidocs/*
53 use source && java-pkg_dosrc src/java/* 53 use source && java-pkg_dosrc src/java/*
54} 54}
55 55
56pkg_postinst() { 56pkg_postinst() {
57 if ! has_version dev-java/jaxen; then 57 if ! has_version '=dev-java/jaxen-1.1*'; then
58 einfo "" 58 einfo ""
59 einfo "If you want jaxen support for jdom then" 59 einfo "If you want jaxen support for jdom then"
60 einfo "please emerge =dev-java/jaxen-1.1* first and" 60 einfo "please emerge =dev-java/jaxen-1.1* first and"
61 einfo "re-emerge jdom. Sorry for the" 61 einfo "re-emerge jdom. Sorry for the"
62 einfo "inconvenience, this is to break out of the" 62 einfo "inconvenience, this is to break out of the"

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20