diff options
author | Chris Aniszczyk <zx@gentoo.org> | 2004-08-25 23:27:19 +0000 |
---|---|---|
committer | Chris Aniszczyk <zx@gentoo.org> | 2004-08-25 23:27:19 +0000 |
commit | fda20f7d0d13faaaff0173309114a06351ac862d (patch) | |
tree | 745edcb7f18a82a28290afa357ca7693993c8f51 /dev-java/aspectj | |
parent | Fixed incorrect reference to amd64 patch (Manifest recommit) (diff) | |
download | gentoo-2-fda20f7d0d13faaaff0173309114a06351ac862d.tar.gz gentoo-2-fda20f7d0d13faaaff0173309114a06351ac862d.tar.bz2 gentoo-2-fda20f7d0d13faaaff0173309114a06351ac862d.zip |
Phoenix down
Diffstat (limited to 'dev-java/aspectj')
-rw-r--r-- | dev-java/aspectj/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/aspectj/Manifest | 2 | ||||
-rw-r--r-- | dev-java/aspectj/aspectj-1.1.1.ebuild | 66 | ||||
-rw-r--r-- | dev-java/aspectj/files/digest-aspectj-1.1.1 | 1 |
4 files changed, 75 insertions, 1 deletions
diff --git a/dev-java/aspectj/ChangeLog b/dev-java/aspectj/ChangeLog index 4905ca01673a..0b1c39985a7b 100644 --- a/dev-java/aspectj/ChangeLog +++ b/dev-java/aspectj/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/aspectj # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/aspectj/ChangeLog,v 1.6 2004/08/24 03:25:13 zx Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/aspectj/ChangeLog,v 1.7 2004/08/25 23:27:19 zx Exp $ + +*aspectj-1.1.1 (25 Aug 2004) + + 25 Aug 2004; Chris Aniszczyk <zx@gentoo.org> +aspectj-1.1.1.ebuild: + Phoenix down 23 Aug 2004; Chris Aniszczyk <zx@gentoo.org> -aspectj-1.1.1.ebuild, aspectj-1.2.ebuild: diff --git a/dev-java/aspectj/Manifest b/dev-java/aspectj/Manifest index 3c238757d025..76610ddd49d9 100644 --- a/dev-java/aspectj/Manifest +++ b/dev-java/aspectj/Manifest @@ -1,9 +1,11 @@ MD5 25a92862d8a1b1492ef491e7dcb5bb7c ChangeLog 1033 +MD5 9afb5eec21ee8c355d1b4d5e7fe2474f aspectj-1.1.1.ebuild 2248 MD5 72ba0dd87abe126d73774a74b1b4cbb1 metadata.xml 663 MD5 d8e528e31c85f42c4452712e6d706524 aspectj-1.2.ebuild 2346 MD5 46d9b1155eb3ab559158a93afe23b36c files/ajbrowser 149 MD5 c46c31665f413547763e5b2c860e1782 files/ajc 143 MD5 6f9b4aef0d744f489b6f506b3b83a542 files/aspectj-1.1.1-version-gentoo.patch 1263 +MD5 4038bffac6102552f95eac41c4239b94 files/digest-aspectj-1.1.1 73 MD5 15d8886f1eb56232e7d76c4e71c34763 files/aspectj-1.2-fix-examples-build.xml.patch 649 MD5 a28d4390d35f00659399d020dceaa71c files/aspectj-1.2-fix-javadoc.patch 939 MD5 d8e6e955badeb042ec37383717e5ca0c files/aspectj-1.2-version-gentoo.patch 964 diff --git a/dev-java/aspectj/aspectj-1.1.1.ebuild b/dev-java/aspectj/aspectj-1.1.1.ebuild new file mode 100644 index 000000000000..48b716329c0d --- /dev/null +++ b/dev-java/aspectj/aspectj-1.1.1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/aspectj/aspectj-1.1.1.ebuild,v 1.7 2004/08/25 23:27:19 zx Exp $ + +inherit java-pkg eutils + +DESCRIPTION="AspectJ is a seemless extension to the Java programming language for Aspect Oriented Programming (AOP)" +SRC_URI="mirror://gentoo/aspectj-CVS-V1_1_1.tar.bz2" +HOMEPAGE="http://www.eclipse.org/aspectj/" +DEPEND=">=virtual/jdk-1.3 + dev-java/ant" +SLOT="0" +LICENSE="CPL-1.0 Apache-1.1" +KEYWORDS="~x86 ~ppc" +IUSE="doc" +RESTRICT="nomirror" + +# 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_1_1 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} + epatch ${FILESDIR}/aspectj-${PV}-version-gentoo.patch + cd ${S} + 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 +} + +src_compile() { + cd build + ant -f build.xml || die +} + +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 + cp *.html ${D}/usr/share/doc/${PF}/ + 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.1.1 b/dev-java/aspectj/files/digest-aspectj-1.1.1 new file mode 100644 index 000000000000..b737e2c9a436 --- /dev/null +++ b/dev-java/aspectj/files/digest-aspectj-1.1.1 @@ -0,0 +1 @@ +MD5 bfe210b3c071e0827b4366c712734096 aspectj-CVS-V1_1_1.tar.bz2 24504831 |