diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-06 11:47:33 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-06 11:47:33 +0000 |
commit | b73fbf0af013065e3eb7e75da7c80f6822c7b4dc (patch) | |
tree | d03830a086f3c1360c34366cc878cd940a4ab133 /dev-java | |
parent | Added license for dev-java/freemarker (diff) | |
download | historical-b73fbf0af013065e3eb7e75da7c80f6822c7b4dc.tar.gz historical-b73fbf0af013065e3eb7e75da7c80f6822c7b4dc.tar.bz2 historical-b73fbf0af013065e3eb7e75da7c80f6822c7b4dc.zip |
Initial version.
Package-Manager: portage-2.1.1_pre2-r4
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/freemarker/ChangeLog | 11 | ||||
-rw-r--r-- | dev-java/freemarker/Manifest | 30 | ||||
-rw-r--r-- | dev-java/freemarker/files/digest-freemarker-2.3.6 | 3 | ||||
-rw-r--r-- | dev-java/freemarker/files/freemarker-2.3.6-gentoo.patch | 17 | ||||
-rw-r--r-- | dev-java/freemarker/freemarker-2.3.6.ebuild | 49 | ||||
-rw-r--r-- | dev-java/freemarker/metadata.xml | 8 |
6 files changed, 118 insertions, 0 deletions
diff --git a/dev-java/freemarker/ChangeLog b/dev-java/freemarker/ChangeLog new file mode 100644 index 000000000000..b0413bc1644d --- /dev/null +++ b/dev-java/freemarker/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-java/freemarker +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/freemarker/ChangeLog,v 1.1 2006/07/06 11:47:33 nelchael Exp $ + +*freemarker-2.3.6 (06 Jul 2006) + + 06 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org> + +files/freemarker-2.3.6-gentoo.patch, +metadata.xml, + +freemarker-2.3.6.ebuild: + Initial version. + diff --git a/dev-java/freemarker/Manifest b/dev-java/freemarker/Manifest new file mode 100644 index 000000000000..d111122fb196 --- /dev/null +++ b/dev-java/freemarker/Manifest @@ -0,0 +1,30 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX freemarker-2.3.6-gentoo.patch 969 RMD160 b2c3fdaffedddb8d49fa2489c8bdc50c31131adf SHA1 73a66cd36c018216c634e895c051e2e1b263e0f5 SHA256 18fc56480b35b3ab0841d772f2d99217cb7563b9913ca569a35e0be59457f30b +MD5 3dca30f16ab39ce16f1bb2c93c586f34 files/freemarker-2.3.6-gentoo.patch 969 +RMD160 b2c3fdaffedddb8d49fa2489c8bdc50c31131adf files/freemarker-2.3.6-gentoo.patch 969 +SHA256 18fc56480b35b3ab0841d772f2d99217cb7563b9913ca569a35e0be59457f30b files/freemarker-2.3.6-gentoo.patch 969 +DIST freemarker-2.3.6.tar.gz 1986196 RMD160 0916693e765c08c3db2522822f754f70ff980b94 SHA1 eacf2cd92dbff44eba26429bb546d491f9f4ba0d SHA256 a2055455d0909a929bd6284af8e939ebe7bfad43c51ea2df4da6f8f89e8819a1 +EBUILD freemarker-2.3.6.ebuild 1155 RMD160 3d6e2a11116e94c20b7cfbd49e881622f8ae0313 SHA1 2b535fc312399524dd47f4257eb422c6f741f893 SHA256 a8457c22defd78de849a071ccd23dc2694fb07371f78c2d10837fd93f9ff0fba +MD5 1a93d290178c33a57862bb8eac236610 freemarker-2.3.6.ebuild 1155 +RMD160 3d6e2a11116e94c20b7cfbd49e881622f8ae0313 freemarker-2.3.6.ebuild 1155 +SHA256 a8457c22defd78de849a071ccd23dc2694fb07371f78c2d10837fd93f9ff0fba freemarker-2.3.6.ebuild 1155 +MISC ChangeLog 402 RMD160 72cb505234bfdcfcb56a831be1fbe90b8c68fc65 SHA1 9acca0033d404d0f8c837b901d4f451072a66231 SHA256 35f47eea353dc3017d9ecc9e90f5e4ef52e11f25d2e2b1df76df0712c499a61d +MD5 35fd3fdb0097852071cf97c5241b8a14 ChangeLog 402 +RMD160 72cb505234bfdcfcb56a831be1fbe90b8c68fc65 ChangeLog 402 +SHA256 35f47eea353dc3017d9ecc9e90f5e4ef52e11f25d2e2b1df76df0712c499a61d ChangeLog 402 +MISC metadata.xml 229 RMD160 a9b4042458f9aae459c108c2917745af68bd1d45 SHA1 087c10f53259e3702a47b6c43c4365fd16d8c201 SHA256 79bb370ed491d8c5f4c42086fcbd3affc893943b56254f98b5a9c9f369792884 +MD5 2696a2548331ef205bf10abad6802180 metadata.xml 229 +RMD160 a9b4042458f9aae459c108c2917745af68bd1d45 metadata.xml 229 +SHA256 79bb370ed491d8c5f4c42086fcbd3affc893943b56254f98b5a9c9f369792884 metadata.xml 229 +MD5 5994d68fed2b2597f2366554afaf8c94 files/digest-freemarker-2.3.6 253 +RMD160 a907521e5da87bde219354fd1ef3969aaa7d8695 files/digest-freemarker-2.3.6 253 +SHA256 cf6727d1b1a6ece297efe38e3da543ee1daa14e230f1b408170aed6600f9eaf2 files/digest-freemarker-2.3.6 253 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.4 (GNU/Linux) + +iD8DBQFErPhkgo/w9rxVVVERAlBGAJ4kf5SrIOeMDneCKVqG1jUB+TA2egCgwxJw +FRzbLD7VDA1Xiy/eUJWLmno= +=ie// +-----END PGP SIGNATURE----- diff --git a/dev-java/freemarker/files/digest-freemarker-2.3.6 b/dev-java/freemarker/files/digest-freemarker-2.3.6 new file mode 100644 index 000000000000..119d2b3cff62 --- /dev/null +++ b/dev-java/freemarker/files/digest-freemarker-2.3.6 @@ -0,0 +1,3 @@ +MD5 86b65f283d5c57322cdd794f306a08d3 freemarker-2.3.6.tar.gz 1986196 +RMD160 0916693e765c08c3db2522822f754f70ff980b94 freemarker-2.3.6.tar.gz 1986196 +SHA256 a2055455d0909a929bd6284af8e939ebe7bfad43c51ea2df4da6f8f89e8819a1 freemarker-2.3.6.tar.gz 1986196 diff --git a/dev-java/freemarker/files/freemarker-2.3.6-gentoo.patch b/dev-java/freemarker/files/freemarker-2.3.6-gentoo.patch new file mode 100644 index 000000000000..4270d49100b5 --- /dev/null +++ b/dev-java/freemarker/files/freemarker-2.3.6-gentoo.patch @@ -0,0 +1,17 @@ +diff -Nru freemarker-2.3.6.vanilla/src/freemarker/ext/rhino/RhinoFunctionModel.java freemarker-2.3.6/src/freemarker/ext/rhino/RhinoFunctionModel.java +--- freemarker-2.3.6.vanilla/src/freemarker/ext/rhino/RhinoFunctionModel.java 2006-05-13 11:30:05.000000000 +0200 ++++ freemarker-2.3.6/src/freemarker/ext/rhino/RhinoFunctionModel.java 2006-05-13 11:31:16.000000000 +0200 +@@ -37,7 +37,11 @@ + for (int i = 0; i < args.length; i++) {
+ args[i] = wrapper.unwrap((TemplateModel)args[i], Scriptable.class);
+ }
+- return wrapper.wrap(((Function)getScriptable()).call(cx,
+- ScriptableObject.getTopLevelScope(fnThis), fnThis, args));
++ try {
++ return wrapper.wrap(((Function)getScriptable()).call(cx,
++ ScriptableObject.getTopLevelScope(fnThis), fnThis, args));
++ } catch (Exception e) {
++ throw new TemplateModelException(e.getMessage());
++ }
+ }
+ }
diff --git a/dev-java/freemarker/freemarker-2.3.6.ebuild b/dev-java/freemarker/freemarker-2.3.6.ebuild new file mode 100644 index 000000000000..604596aea615 --- /dev/null +++ b/dev-java/freemarker/freemarker-2.3.6.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/freemarker/freemarker-2.3.6.ebuild,v 1.1 2006/07/06 11:47:33 nelchael Exp $ + +inherit eutils java-pkg-2 + +DESCRIPTION=" FreeMarker is a template engine; a generic tool to generate text output (anything from HTML to autogenerated source code) based on templates." +HOMEPAGE="http://freemarker.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="freemarker" +SLOT="2.3" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-core" +RDEPEND=">=virtual/jre-1.4 + =dev-java/servletapi-2.3* + =dev-java/jaxen-1.1* + dev-java/javacc" + +GETJARS_ARG="servletapi-2.3,jaxen-1.1" + +src_unpack() { + + unpack ${A} + epatch "${FILESDIR}/${P}-gentoo.patch" + +} + +src_compile() { + + local antflags="jar -Djavacc.home=/usr/share/javacc/lib -lib $(java-pkg_getjars ${GETJARS_ARG})" + + use doc && antflags="${antflags} javadoc" + + eant clean ${antflags} || die "Compilation failed" + +} + +src_install() { + + java-pkg_dojar lib/${PN}.jar + dodoc README.txt + + use doc && java-pkg_dohtml -r build/api + +} diff --git a/dev-java/freemarker/metadata.xml b/dev-java/freemarker/metadata.xml new file mode 100644 index 000000000000..39fffcd80808 --- /dev/null +++ b/dev-java/freemarker/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> + <maintainer> + <email>nelchael@gentoo.org</email> + </maintainer> +</pkgmetadata> |