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/gnu-regexp
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/gnu-regexp')
-rw-r--r--dev-java/gnu-regexp/Manifest1
-rw-r--r--dev-java/gnu-regexp/files/1.1.4/Makefile.diff19
-rw-r--r--dev-java/gnu-regexp/gnu-regexp-1.1.4-r2.ebuild42
-rw-r--r--dev-java/gnu-regexp/metadata.xml5
4 files changed, 67 insertions, 0 deletions
diff --git a/dev-java/gnu-regexp/Manifest b/dev-java/gnu-regexp/Manifest
new file mode 100644
index 000000000000..0442419f54a0
--- /dev/null
+++ b/dev-java/gnu-regexp/Manifest
@@ -0,0 +1 @@
+DIST gnu.regexp-1.1.4.tar.gz 164741 SHA256 493d9cbcb2cc08580be255f21543f3fe638a1eb93f605180583c91e1c5622080 SHA512 4397ecd2a485f67213ee74e1c942a1bfd1af5f261f964546cb3c7bc32fe88702a557d717f07d2a4d7d1db2d684ddc4191c120b35b44d1a68a126f7b81d8b0331 WHIRLPOOL 38b14b8dff8d214280f35893ad0c16ec6e8ec74e7ecd6d1d5df44bb3b88ef557589cf0d7011730bfd3fa40cb1c2861dc6655b73910aee4fc976a87da8e0e8de6
diff --git a/dev-java/gnu-regexp/files/1.1.4/Makefile.diff b/dev-java/gnu-regexp/files/1.1.4/Makefile.diff
new file mode 100644
index 000000000000..b947f9f36aad
--- /dev/null
+++ b/dev-java/gnu-regexp/files/1.1.4/Makefile.diff
@@ -0,0 +1,19 @@
+--- src/Makefile 2005-05-18 13:26:10.000000000 +0200
++++ src/Makefile.new 2005-05-18 13:26:27.000000000 +0200
+@@ -57,12 +57,12 @@
+ # Change JAVAC variable to your java compiler.
+ # Change JAVAFLAGS variable to any java flags you want to compile with.
+
+-JAVAC = jikes
+-JAVAFLAGS = -O
+-
+-#JAVAC = javac
++#JAVAC = jikes
+ #JAVAFLAGS = -O
+
++JAVAC = javac
++JAVAFLAGS = -O
++
+ JAVACOMPILE = $(JAVAC) -d "$(LIBPATH)" $(JAVAFLAGSCLASSPATH) $(JAVAFLAGS)
+
+ # This is the directory the gnu.regexp JAR file will be installed in when
diff --git a/dev-java/gnu-regexp/gnu-regexp-1.1.4-r2.ebuild b/dev-java/gnu-regexp/gnu-regexp-1.1.4-r2.ebuild
new file mode 100644
index 000000000000..1d1e775befaa
--- /dev/null
+++ b/dev-java/gnu-regexp/gnu-regexp-1.1.4-r2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit java-pkg-2 eutils
+
+MY_P=gnu.regexp-${PV}
+DESCRIPTION="GNU regular expression package for Java"
+HOMEPAGE="http://www.cacas.org/java/gnu/regexp/"
+SRC_URI="ftp://ftp.tralfamadore.com/pub/java/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="1"
+KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
+IUSE="doc source"
+
+DEPEND=">=virtual/jdk-1.4
+ source? ( app-arch/zip )"
+RDEPEND=">=virtual/jre-1.4"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ rm lib/*.jar
+ rm -rf docs/api
+}
+
+src_compile() {
+ cd "${S}/src"
+ emake -j1 JAVAC="${JAVAC}" JAVAFLAGS="${JAVACFLAGS}" || die "emake failed"
+ use doc && emake javadocs
+}
+
+src_install() {
+ java-pkg_newjar lib/gnu-regexp-${PV}.jar ${PN}.jar
+ dodoc README TODO
+ use doc && java-pkg_dohtml -r docs/*
+ use source && java-pkg_dosrc src/gnu
+}
diff --git a/dev-java/gnu-regexp/metadata.xml b/dev-java/gnu-regexp/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/gnu-regexp/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+</pkgmetadata>