summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-12-15 20:25:24 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-12-15 20:25:24 +0000
commit495ec8a06f517d69c02cebffddb3f7fc7b0362ba (patch)
treea58a2cea7c0d6d2af93467efb091d8e6653e2236 /dev-java/pat
parentCall java-ant_ignore-system-classes to fix bug #200918. (diff)
downloadgentoo-2-495ec8a06f517d69c02cebffddb3f7fc7b0362ba.tar.gz
gentoo-2-495ec8a06f517d69c02cebffddb3f7fc7b0362ba.tar.bz2
gentoo-2-495ec8a06f517d69c02cebffddb3f7fc7b0362ba.zip
Initial addition as a dependency of app-misc/jbidwatcher. Ebuild written by me.
(Portage version: 2.1.4_rc9)
Diffstat (limited to 'dev-java/pat')
-rw-r--r--dev-java/pat/ChangeLog10
-rw-r--r--dev-java/pat/Manifest17
-rw-r--r--dev-java/pat/files/digest-pat-1.5.36
-rw-r--r--dev-java/pat/metadata.xml9
-rw-r--r--dev-java/pat/pat-1.5.3.ebuild42
5 files changed, 84 insertions, 0 deletions
diff --git a/dev-java/pat/ChangeLog b/dev-java/pat/ChangeLog
new file mode 100644
index 000000000000..f8d3dc5aa695
--- /dev/null
+++ b/dev-java/pat/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/pat
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/pat/ChangeLog,v 1.1 2007/12/15 20:25:23 betelgeuse Exp $
+
+*pat-1.5.3 (15 Dec 2007)
+
+ 15 Dec 2007; Petteri Räty <betelgeuse@gentoo.org> +metadata.xml,
+ +pat-1.5.3.ebuild:
+ Initial addition as a dependency of app-misc/jbidwatcher. Ebuild written by me.
+
diff --git a/dev-java/pat/Manifest b/dev-java/pat/Manifest
new file mode 100644
index 000000000000..684dbe2fd0bb
--- /dev/null
+++ b/dev-java/pat/Manifest
@@ -0,0 +1,17 @@
+DIST patdocs15.jar 246030 RMD160 d1f61977062bff3f165a1e8656aeabb014a2dd66 SHA1 82775e1c07ab5061914449eea965e699701fd7f7 SHA256 19805bd985e473099b573d10e0809849c95affa288dd32dffde783ec6cd0b0d2
+DIST patsrcfree153.jar 135452 RMD160 7d8adac668eacf3a2d24705d1cc44281068a0dd0 SHA1 f7f31d862e974a3368457dc9ce4bdeadfb7d3a75 SHA256 6a64747899e0fc82f607e4da7d330d74d3f527c01cd8f2d605bb87c9be3f0367
+EBUILD pat-1.5.3.ebuild 959 RMD160 74ac2d37f7732803c8c69a2137d2cb915b14a57e SHA1 45a20b98f86463093370929b3b249182b958f23d SHA256 73608be8d1c146c3aa1f816c537400612b14cfe913507c77e705ac779a708368
+MD5 a52e1ef883fa23ee2a1d61b703481a52 pat-1.5.3.ebuild 959
+RMD160 74ac2d37f7732803c8c69a2137d2cb915b14a57e pat-1.5.3.ebuild 959
+SHA256 73608be8d1c146c3aa1f816c537400612b14cfe913507c77e705ac779a708368 pat-1.5.3.ebuild 959
+MISC ChangeLog 311 RMD160 0c7644d2d4ff5f9ba775137128a5b2b870cb6d9f SHA1 285b4f15899ff058db88a280dc8190d0a4e700f5 SHA256 1cc5f0f07a451b126946d057038ac6db1b15eef90ae8e8b983b8e88e8155ef12
+MD5 9f22bfd2a20d6dc8e7d8ae08b882bf28 ChangeLog 311
+RMD160 0c7644d2d4ff5f9ba775137128a5b2b870cb6d9f ChangeLog 311
+SHA256 1cc5f0f07a451b126946d057038ac6db1b15eef90ae8e8b983b8e88e8155ef12 ChangeLog 311
+MISC metadata.xml 300 RMD160 02a225f0e749e84dddf9a00aa7914fd96d0cbdda SHA1 895356b3fa248f1e5cd1b0459a93abc3e948b61e SHA256 76b13b6564f51354de19d46f09b385252aca55ddde0f7e7e7c63d6c1baf5a903
+MD5 537a470b2a1aa66b21ebc46a457d687c metadata.xml 300
+RMD160 02a225f0e749e84dddf9a00aa7914fd96d0cbdda metadata.xml 300
+SHA256 76b13b6564f51354de19d46f09b385252aca55ddde0f7e7e7c63d6c1baf5a903 metadata.xml 300
+MD5 7f64583fc8890e29643d6fd612d73bd6 files/digest-pat-1.5.3 452
+RMD160 ccb486c24f1376c218a769171a235c90f42361c2 files/digest-pat-1.5.3 452
+SHA256 934c7bea2d9de2ac8e469a0fe5faab28dc6a97a667bcf587500456eeb04f5c01 files/digest-pat-1.5.3 452
diff --git a/dev-java/pat/files/digest-pat-1.5.3 b/dev-java/pat/files/digest-pat-1.5.3
new file mode 100644
index 000000000000..4ca2264caf0a
--- /dev/null
+++ b/dev-java/pat/files/digest-pat-1.5.3
@@ -0,0 +1,6 @@
+MD5 1ee447ad7f43dc64b1bcfd75181c47f1 patdocs15.jar 246030
+RMD160 d1f61977062bff3f165a1e8656aeabb014a2dd66 patdocs15.jar 246030
+SHA256 19805bd985e473099b573d10e0809849c95affa288dd32dffde783ec6cd0b0d2 patdocs15.jar 246030
+MD5 af27d97fb78356fd6b8707ba6ded16b8 patsrcfree153.jar 135452
+RMD160 7d8adac668eacf3a2d24705d1cc44281068a0dd0 patsrcfree153.jar 135452
+SHA256 6a64747899e0fc82f607e4da7d330d74d3f527c01cd8f2d605bb87c9be3f0367 patsrcfree153.jar 135452
diff --git a/dev-java/pat/metadata.xml b/dev-java/pat/metadata.xml
new file mode 100644
index 000000000000..44346b6e6c3d
--- /dev/null
+++ b/dev-java/pat/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <longdescription lang="en">
+ Package pat provides a mechanism for compiling and matching regular
+ expressions in java.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-java/pat/pat-1.5.3.ebuild b/dev-java/pat/pat-1.5.3.ebuild
new file mode 100644
index 000000000000..4ff772ef3ce5
--- /dev/null
+++ b/dev-java/pat/pat-1.5.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/pat/pat-1.5.3.ebuild,v 1.1 2007/12/15 20:25:23 betelgeuse Exp $
+
+JAVA_PKG_IUSE="doc source"
+
+inherit versionator java-pkg-2
+
+DESCRIPTION="Regular Expressions in Java"
+HOMEPAGE="http://www.javaregex.com"
+
+MY_PV=$(delete_all_version_separators)
+MAJORMINOR=$(get_version_component_range 1-2)
+DOC_VER=$(delete_all_version_separators ${MAJORMINOR})
+MY_P=${PN}-${PV}
+
+SRC_URI="http://www.javaregex.com/binaries/${PN}srcfree${MY_PV}.jar
+ doc? ( http://www.javaregex.com/binaries/patdocs${DOC_VER}.jar )"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~x86"
+
+RDEPEND=">=virtual/jre-1.4"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip"
+
+S=${WORKDIR}
+
+src_compile() {
+ ejavac $(find . -name "*.java")
+ jar cf ${PN}.jar $(find . -name "*.class")
+}
+
+src_install() {
+ java-pkg_dojar *.jar
+ if use doc; then
+ dohtml docs/*.{html,jpg}
+ java-pkg_dojavadoc --symlink javadoc docs/*.javadoc
+ fi
+ use source && java-pkg_dosrc com
+}