summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-java/pat
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-java/pat')
-rw-r--r--dev-java/pat/Manifest2
-rw-r--r--dev-java/pat/metadata.xml9
-rw-r--r--dev-java/pat/pat-1.5.3.ebuild44
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-java/pat/Manifest b/dev-java/pat/Manifest
new file mode 100644
index 000000000000..fe92b6d9a764
--- /dev/null
+++ b/dev-java/pat/Manifest
@@ -0,0 +1,2 @@
+DIST patdocs15.jar 246030 SHA256 19805bd985e473099b573d10e0809849c95affa288dd32dffde783ec6cd0b0d2 SHA512 09bc354352c1c29727a37a81bda167bc5755c270028c85b030f1e775df1f96a5777d864c6dbb78351425f1706d97645320ba2b08634f924b2cc5aef91980138a WHIRLPOOL 5f85b9676b79b8af46696b5bb5698b2b3bbac69ed79a5f57f5101cae91b42bd511336f03feb346f9679a76a2732ad649a54fbd3e4dcf5cd67047cdbc3bb8f7b0
+DIST patsrcfree153.jar 135452 SHA256 6a64747899e0fc82f607e4da7d330d74d3f527c01cd8f2d605bb87c9be3f0367 SHA512 4c62906a9f236351f8de457198e746229c48dc983275a95546815fe5af0083a54e204226abaf71ef01cf407c8be34f8e5594f65b126d45ff3e4ba75630ccdabe WHIRLPOOL c3c7d6f159ff670847e634bc58b808dc41bb66a7e9fa33cd204771c109d3f0972d37c7cbfac468efb55915b747238486adaac7cd4dc3ac51ddaa0a1feb7f4b46
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..0ad1099da574
--- /dev/null
+++ b/dev-java/pat/pat-1.5.3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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="~amd64 ~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 docs/javadoc
+ fi
+
+ use source && java-pkg_dosrc com
+}