diff options
author | Matthew Kennedy <mkennedy@gentoo.org> | 2004-04-12 21:12:20 +0000 |
---|---|---|
committer | Matthew Kennedy <mkennedy@gentoo.org> | 2004-04-12 21:12:20 +0000 |
commit | 2e4f77d91a8b3da71cb6025c8da2cbaff6426858 (patch) | |
tree | 91ba7eebdfaf75d0542d9aaedb85d44458dccb72 /dev-java | |
parent | Initial commit. (Manifest recommit) (diff) | |
download | gentoo-2-2e4f77d91a8b3da71cb6025c8da2cbaff6426858.tar.gz gentoo-2-2e4f77d91a8b3da71cb6025c8da2cbaff6426858.tar.bz2 gentoo-2-2e4f77d91a8b3da71cb6025c8da2cbaff6426858.zip |
*** empty log message ***
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/aspectj/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/aspectj/Manifest | 4 | ||||
-rw-r--r-- | dev-java/aspectj/aspectj-1.1.1.ebuild | 58 | ||||
-rw-r--r-- | dev-java/aspectj/files/ajbrowser | 4 | ||||
-rw-r--r-- | dev-java/aspectj/files/ajc | 4 | ||||
-rw-r--r-- | dev-java/aspectj/files/aspectj-1.1.1-version-gentoo.patch | 20 | ||||
-rw-r--r-- | dev-java/aspectj/files/digest-aspectj-1.1.1 | 1 | ||||
-rw-r--r-- | dev-java/aspectj/metadata.xml | 22 |
8 files changed, 123 insertions, 0 deletions
diff --git a/dev-java/aspectj/ChangeLog b/dev-java/aspectj/ChangeLog new file mode 100644 index 000000000000..cac32c196e90 --- /dev/null +++ b/dev-java/aspectj/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/aspectj +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/aspectj/ChangeLog,v 1.1 2004/04/12 21:12:20 mkennedy Exp $ + +*aspectj-1.1.1 (12 Apr 2004) + + 12 Apr 2004; <mkennedy@gentoo.org> aspectj-1.1.1.ebuild, metadata.xml, + files/ajbrowser, files/ajc, files/aspectj-1.1.1-version-gentoo.patch: + Initial port. Ebuild contributed by Matthew Kennedy <mkennedy@gentoo.org> + diff --git a/dev-java/aspectj/Manifest b/dev-java/aspectj/Manifest new file mode 100644 index 000000000000..189dfe87ce9f --- /dev/null +++ b/dev-java/aspectj/Manifest @@ -0,0 +1,4 @@ +MD5 b0a18d2e1f3530468cae814f3ab35c51 aspectj-1.1.1.ebuild 725 +MD5 e41435ce3928243782c40bbbd783050a aspectj-1.1.1.ebuild~ 2067 +MD5 2f527afeabe034e153897369394878a5 files/aspectj-1.1.1-gentoo.patch 2504 +MD5 4038bffac6102552f95eac41c4239b94 files/digest-aspectj-1.1.1 73 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..66a607fa6f7a --- /dev/null +++ b/dev-java/aspectj/aspectj-1.1.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# 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.1 2004/04/12 21:12:20 mkennedy Exp $ + +inherit java-pkg + +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" +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. + +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/ajbrowser b/dev-java/aspectj/files/ajbrowser new file mode 100644 index 000000000000..88a930dc0bb2 --- /dev/null +++ b/dev-java/aspectj/files/ajbrowser @@ -0,0 +1,4 @@ +#!/bin/sh + +exec $(java-config --java) -classpath $(java-config --classpath=aspectj):${CLASSPATH} \ + -Xmx64M org.aspectj.tools.ajbrowser.Main "$@" diff --git a/dev-java/aspectj/files/ajc b/dev-java/aspectj/files/ajc new file mode 100644 index 000000000000..fea5eb776c97 --- /dev/null +++ b/dev-java/aspectj/files/ajc @@ -0,0 +1,4 @@ +#!/bin/sh + +exec $(java-config --java) -classpath $(java-config --classpath=aspectj):${CLASSPATH} \ + -Xmx64M org.aspectj.tools.ajc.Main "$@" 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/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 diff --git a/dev-java/aspectj/metadata.xml b/dev-java/aspectj/metadata.xml new file mode 100644 index 000000000000..bab7ae9535e8 --- /dev/null +++ b/dev-java/aspectj/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>java</herd> +<maintainer> + <email>mkennedy@gentoo.org</email> +</maintainer> +<longdescription> +AspectJ is + + - a seamless aspect-oriented extension to the Java(tm) programming language + - Java platform compatible + - easy to learn and use + +AspectJ enables + + - the clean modularization of crosscutting concerns such as: error + checking and handling, synchronization, context-sensitive behavior, + performance optimizations, monitoring and logging, debugging + support, multi-object protocols +</longdescription> +</pkgmetadata> |