diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2006-07-02 06:51:52 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2006-07-02 06:51:52 +0000 |
commit | 6ab01a90dd672b218fa96088208c5d7bd36a39a3 (patch) | |
tree | 52cbb28b719824d461f0772c24d18e25324c6554 /dev-java/aspectj | |
parent | need glade/pango #137902 (diff) | |
download | gentoo-2-6ab01a90dd672b218fa96088208c5d7bd36a39a3.tar.gz gentoo-2-6ab01a90dd672b218fa96088208c5d7bd36a39a3.tar.bz2 gentoo-2-6ab01a90dd672b218fa96088208c5d7bd36a39a3.zip |
Revision bump to support new Java system.
(Portage version: 2.1.1_pre1)
Diffstat (limited to 'dev-java/aspectj')
-rw-r--r-- | dev-java/aspectj/ChangeLog | 5 | ||||
-rw-r--r-- | dev-java/aspectj/aspectj-1.2-r2.ebuild | 111 | ||||
-rw-r--r-- | dev-java/aspectj/files/digest-aspectj-1.2 | 2 | ||||
-rw-r--r-- | dev-java/aspectj/files/digest-aspectj-1.2-r1 | 2 | ||||
-rw-r--r-- | dev-java/aspectj/files/digest-aspectj-1.2-r2 | 3 |
5 files changed, 122 insertions, 1 deletions
diff --git a/dev-java/aspectj/ChangeLog b/dev-java/aspectj/ChangeLog index 98de86e22891..88f2194ce17f 100644 --- a/dev-java/aspectj/ChangeLog +++ b/dev-java/aspectj/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-java/aspectj # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/aspectj/ChangeLog,v 1.16 2006/01/16 04:47:42 halcy0n Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/aspectj/ChangeLog,v 1.17 2006/07/02 06:51:52 nichoj Exp $ + + 02 Jul 2006; Joshua Nichols <nichoj@gentoo.org> +aspectj-1.2-r2.ebuild: + Revision bump to support new Java system. 16 Jan 2006; Mark Loeser <halcy0n@gentoo.org> aspectj-1.2-r1.ebuild: Whitespace fix diff --git a/dev-java/aspectj/aspectj-1.2-r2.ebuild b/dev-java/aspectj/aspectj-1.2-r2.ebuild new file mode 100644 index 000000000000..471339c6d5d8 --- /dev/null +++ b/dev-java/aspectj/aspectj-1.2-r2.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/aspectj/aspectj-1.2-r2.ebuild,v 1.1 2006/07/02 06:51:52 nichoj Exp $ + +inherit java-pkg-2 eutils + +DESCRIPTION="AspectJ is a seemless extension to the Java programming language for Aspect Oriented Programming (AOP)" +SRC_URI="mirror://gentoo/aspectj-CVS-V1_2_0.tar.bz2" +HOMEPAGE="http://www.eclipse.org/aspectj/" +DEPEND=">=virtual/jdk-1.3 + dev-java/ant-core + sys-apps/findutils" +RDEPEND=">=virtual/jre-1.3 + dev-java/xalan + dev-java/bcel + dev-java/junit + dev-java/jython + =dev-java/jakarta-regexp-1.3* + =dev-java/saxon-6.5* + dev-java/xml-commons + =dev-java/xerces-2*" + +SLOT="0" +LICENSE="CPL-1.0 Apache-1.1" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="doc" + +# Welcome to the AspectJ ebuild. An upstream source archive is not +# available directly. The AspectJ source .tar.bz2 snapshot is taken +# from CVS with the following command: +# +# cvs -z3 -d:pserver:anonymous@dev.eclipse.org:/home/technology \ +# co -rV1_2_0 org.aspectj/modules +# +# The source is then patched so that the installed binaries have +# version information which reflects the tagged source release. The +# AspectJ build system does not do this automatically. +# +# Useful documentation for this port: +# +# http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/org.aspectj/modules/build/readme-build-and-test-aspectj.html?rev=HEAD&content-type=text/html&cvsroot=Technology_Project +# +# http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/org.aspectj/modules/build/release-checklist.txt?rev=HEAD&content-type=text/plain&cvsroot=Technology_Project +# + +S=${WORKDIR}/org.aspectj/modules + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/aspectj-${PV}-version-gentoo.patch + epatch ${FILESDIR}/aspectj-${PV}-fix-javadoc.patch + epatch ${FILESDIR}/aspectj-${PV}-fix-examples-build.xml.patch + sed -i "s,DEVELOPMENT,${PV},g" build/build-properties.xml + sed -i -e "s,@PV@,${PV},g" -e "s,@PV_LONG@,${PV} (Gentoo Build),g" \ + org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/messages.properties + + cd lib/ant/lib + rm *.jar + java-pkg_jar-from xalan + java-pkg_jar-from ant-core + java-pkg_jar-from xml-commons xml-apis.jar + java-pkg_jar-from xerces-2 + + cd ../../commons + rm *.jar + + cd ../bcel + rm *.jar + java-pkg_jar-from bcel + + cd ../jdiff + rm *.jar + + cd ../junit + rm *.jar + java-pkg_jar-from junit + + cd ../jython + rm *.jar + java-pkg_jar-from jython + + cd ../regexp + rm *.jar + java-pkg_jar-from jakarta-regexp-1.3 + + cd ../saxon + rm *.jar + java-pkg_jar-from saxon-6.5 +} + +src_compile() { + cd build + eant -f build.xml +} + +src_install() { + mkdir aspectj-unpack + java -jar aj-build/dist/aspectj-${PV}.jar -to aspectj-unpack + cd aspectj-unpack + java-pkg_dojar lib/*.jar + dobin ${FILESDIR}/{ajc,ajbrowser} + + dohtml doc/*.html + dohtml README-AspectJ.html + if use doc; then + cp -R doc/{devguide,api,progguide} ${D}/usr/share/doc/${PF}/html + cp -R doc/examples ${D}/usr/share/doc/${PF} + cp doc/*.pdf ${D}/usr/share/doc/${PF} + fi +} diff --git a/dev-java/aspectj/files/digest-aspectj-1.2 b/dev-java/aspectj/files/digest-aspectj-1.2 index d12f0e29d230..3126a0944131 100644 --- a/dev-java/aspectj/files/digest-aspectj-1.2 +++ b/dev-java/aspectj/files/digest-aspectj-1.2 @@ -1 +1,3 @@ MD5 f90f1bde5f9076a9df555b5474254602 aspectj-CVS-V1_2_0.tar.bz2 25289180 +RMD160 7bcb9935a2e9992ca8eadb48bebbfa6c83479260 aspectj-CVS-V1_2_0.tar.bz2 25289180 +SHA256 51dae7feb7a3ce2e9c28c37d9440aa0cc7cb8c7d5731e593e466751f935cbef9 aspectj-CVS-V1_2_0.tar.bz2 25289180 diff --git a/dev-java/aspectj/files/digest-aspectj-1.2-r1 b/dev-java/aspectj/files/digest-aspectj-1.2-r1 index d12f0e29d230..3126a0944131 100644 --- a/dev-java/aspectj/files/digest-aspectj-1.2-r1 +++ b/dev-java/aspectj/files/digest-aspectj-1.2-r1 @@ -1 +1,3 @@ MD5 f90f1bde5f9076a9df555b5474254602 aspectj-CVS-V1_2_0.tar.bz2 25289180 +RMD160 7bcb9935a2e9992ca8eadb48bebbfa6c83479260 aspectj-CVS-V1_2_0.tar.bz2 25289180 +SHA256 51dae7feb7a3ce2e9c28c37d9440aa0cc7cb8c7d5731e593e466751f935cbef9 aspectj-CVS-V1_2_0.tar.bz2 25289180 diff --git a/dev-java/aspectj/files/digest-aspectj-1.2-r2 b/dev-java/aspectj/files/digest-aspectj-1.2-r2 new file mode 100644 index 000000000000..3126a0944131 --- /dev/null +++ b/dev-java/aspectj/files/digest-aspectj-1.2-r2 @@ -0,0 +1,3 @@ +MD5 f90f1bde5f9076a9df555b5474254602 aspectj-CVS-V1_2_0.tar.bz2 25289180 +RMD160 7bcb9935a2e9992ca8eadb48bebbfa6c83479260 aspectj-CVS-V1_2_0.tar.bz2 25289180 +SHA256 51dae7feb7a3ce2e9c28c37d9440aa0cc7cb8c7d5731e593e466751f935cbef9 aspectj-CVS-V1_2_0.tar.bz2 25289180 |