diff options
author | Thomas Matthijs <axxo@gentoo.org> | 2005-10-18 11:06:23 +0000 |
---|---|---|
committer | Thomas Matthijs <axxo@gentoo.org> | 2005-10-18 11:06:23 +0000 |
commit | 6e9e893e03b644057b09149514edf1edf9ec2183 (patch) | |
tree | 48c4c80c24bc9cc5a073597d0608e301451dd282 /dev-java/aspectj | |
parent | mark stable (diff) | |
download | historical-6e9e893e03b644057b09149514edf1edf9ec2183.tar.gz historical-6e9e893e03b644057b09149514edf1edf9ec2183.tar.bz2 historical-6e9e893e03b644057b09149514edf1edf9ec2183.zip |
grr
Package-Manager: portage-2.0.53_rc5
Diffstat (limited to 'dev-java/aspectj')
-rw-r--r-- | dev-java/aspectj/ChangeLog | 5 | ||||
-rw-r--r-- | dev-java/aspectj/Manifest | 12 | ||||
-rw-r--r-- | dev-java/aspectj/aspectj-1.1.1.ebuild | 68 | ||||
-rw-r--r-- | dev-java/aspectj/files/aspectj-1.1.1-version-gentoo.patch | 20 | ||||
-rw-r--r-- | dev-java/aspectj/files/aspectj-1.1.1.build.xml.patch | 12 | ||||
-rw-r--r-- | dev-java/aspectj/files/digest-aspectj-1.1.1 | 1 |
6 files changed, 110 insertions, 8 deletions
diff --git a/dev-java/aspectj/ChangeLog b/dev-java/aspectj/ChangeLog index cc15ae71274b..4ffdb8e88530 100644 --- a/dev-java/aspectj/ChangeLog +++ b/dev-java/aspectj/ChangeLog @@ -1,9 +1,6 @@ # ChangeLog for dev-java/aspectj # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/aspectj/ChangeLog,v 1.12 2005/10/18 09:52:11 axxo Exp $ - - 18 Oct 2005; Thomas Matthijs <axxo@gentoo.org> -aspectj-1.1.1.ebuild: - remove 1.1.1 +# $Header: /var/cvsroot/gentoo-x86/dev-java/aspectj/ChangeLog,v 1.13 2005/10/18 11:06:23 axxo Exp $ 08 Oct 2005; Petteri Räty <betelgeuse@gentoo.org> +files/aspectj-1.1.1.build.xml.patch, aspectj-1.1.1.ebuild, diff --git a/dev-java/aspectj/Manifest b/dev-java/aspectj/Manifest index 406a4aa6a51c..c50f6cc12308 100644 --- a/dev-java/aspectj/Manifest +++ b/dev-java/aspectj/Manifest @@ -1,19 +1,23 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 15c78c530ecb8ff4287a71ebb3fa32e6 ChangeLog 1705 +MD5 14835a20770e79facfa5862fef957e82 ChangeLog 1617 +MD5 7e80d3b8d68ab9162097a68b797aacd3 aspectj-1.1.1.ebuild 2358 MD5 5f80accb3c4baa44ed55ccfa8c0f08f3 aspectj-1.2.ebuild 2383 MD5 46d9b1155eb3ab559158a93afe23b36c files/ajbrowser 149 MD5 c46c31665f413547763e5b2c860e1782 files/ajc 143 +MD5 6f9b4aef0d744f489b6f506b3b83a542 files/aspectj-1.1.1-version-gentoo.patch 1263 +MD5 6d54bb03fec483072f2b33b8f2600d9d files/aspectj-1.1.1.build.xml.patch 545 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 +MD5 4038bffac6102552f95eac41c4239b94 files/digest-aspectj-1.1.1 73 MD5 941140894bda896b874057612f14b88c files/digest-aspectj-1.2 73 MD5 72ba0dd87abe126d73774a74b1b4cbb1 metadata.xml 663 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) -iD8DBQFDVMci/rLF9B432nYRAszgAKC7GbiHzkigi1XM7CwKf/zH+7da7ACdEQUj -LefdpALN6Hm2ky8ZE1K6N8g= -=3Zf/ +iD8DBQFDVNdR/rLF9B432nYRAh2TAJ9w/VPzMLaYC34fr8ZQIq/WDEQs7wCeNFMz +3K74IUFyzUfK057Rg3CUGhA= +=feAI -----END PGP SIGNATURE----- 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..bb55b38282e6 --- /dev/null +++ b/dev-java/aspectj/aspectj-1.1.1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2005 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.14 2005/10/18 11:06:23 axxo 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-core" +RDEPEND=">=virtual/jre-1.3" +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_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}/${P}-version-gentoo.patch + cd ${S} + epatch ${FILESDIR}/${P}.build.xml.patch + epatch ${FILESDIR}/${PN}-1.2-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 +} + +src_compile() { + cd build + ant -f build.xml || die "build failed" +} + +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/aspectj-1.1.1-version-gentoo.patch b/dev-java/aspectj/files/aspectj-1.1.1-version-gentoo.patch new file mode 100644 index 000000000000..45d76f6534cc --- /dev/null +++ b/dev-java/aspectj/files/aspectj-1.1.1-version-gentoo.patch @@ -0,0 +1,20 @@ +diff -ur org.aspectj.orig/modules/org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/messages.properties org.aspectj/modules/org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/messages.properties +--- org.aspectj.orig/modules/org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/messages.properties 2003-06-06 06:54:56.000000000 -0500 ++++ org.aspectj/modules/org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc/messages.properties 2004-04-12 11:33:30.193430889 -0500 +@@ -4,11 +4,13 @@ + The -Xlintfile:lint.properties allows fine-grained control. In tools.jar, see + org/aspectj/weaver/XlintDefault.properties for the default behavior and a template to copy. + ### AspectJ-specific messages +-configure.version = AspectJ Compiler 1.1 ++configure.version = AspectJ Compiler @PV_LONG@ + configure.directoryNotExist = invalid option: {0} + ## 3456789012345678901234567890123456789012345678901234567890123456789012345 + ### miscellaneous +-misc.usage = AspectJ Compiler 1.1\n\ ++misc.usage = AspectJ Compiler @PV@\n\ ++Built by Portage in Gentoo Linux http://www.gentoo.org\n\ ++Send bug reports to http://bugs.gentoo.org\n\ + \n\ + \tUsage: <options> <source file | @argfile>..\n\ + \n\ +Only in org.aspectj/modules/org.aspectj.ajdt.core/src/org/aspectj/ajdt/ajc: messages.properties.~1.9.~ diff --git a/dev-java/aspectj/files/aspectj-1.1.1.build.xml.patch b/dev-java/aspectj/files/aspectj-1.1.1.build.xml.patch new file mode 100644 index 000000000000..cbc6898bceb4 --- /dev/null +++ b/dev-java/aspectj/files/aspectj-1.1.1.build.xml.patch @@ -0,0 +1,12 @@ +diff -ur org.aspectj.orig/modules/build/build.xml org.aspectj/modules/build/build.xml +--- org.aspectj.orig/modules/build/build.xml 2005-10-08 13:44:14.709485640 +0300 ++++ org.aspectj/modules/build/build.xml 2005-10-08 13:44:32.585768032 +0300 +@@ -13,7 +13,7 @@ + <!-- ========================================================================= --> + + <!DOCTYPE project [ +-<!ENTITY build-properties SYSTEM "file:build-properties.xml"> ++<!ENTITY build-properties SYSTEM "build-properties.xml"> + ]> + <project name="build" default="all" basedir="."> + 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 |