From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- dev-java/gnu-regexp/Manifest | 1 + dev-java/gnu-regexp/files/1.1.4/Makefile.diff | 19 ++++++++++++ dev-java/gnu-regexp/gnu-regexp-1.1.4-r2.ebuild | 42 ++++++++++++++++++++++++++ dev-java/gnu-regexp/metadata.xml | 5 +++ 4 files changed, 67 insertions(+) create mode 100644 dev-java/gnu-regexp/Manifest create mode 100644 dev-java/gnu-regexp/files/1.1.4/Makefile.diff create mode 100644 dev-java/gnu-regexp/gnu-regexp-1.1.4-r2.ebuild create mode 100644 dev-java/gnu-regexp/metadata.xml (limited to 'dev-java/gnu-regexp') 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 @@ + + + +java + -- cgit v1.2.3-65-gdbad