summaryrefslogtreecommitdiff
path: root/dev-java/byaccj
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/byaccj
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/byaccj')
-rw-r--r--dev-java/byaccj/Manifest6
-rw-r--r--dev-java/byaccj/byaccj-1.15-r1.ebuild28
-rw-r--r--dev-java/byaccj/files/Makefile99
-rw-r--r--dev-java/byaccj/metadata.xml11
4 files changed, 144 insertions, 0 deletions
diff --git a/dev-java/byaccj/Manifest b/dev-java/byaccj/Manifest
new file mode 100644
index 000000000000..cc15d5a33f89
--- /dev/null
+++ b/dev-java/byaccj/Manifest
@@ -0,0 +1,6 @@
+AUX Makefile 2003 SHA256 85d625ae63d5939f5654ca85b4228d2422ee997c46ad8c617b58c93e4294fc50 SHA512 d48f81fcf89ca5f6524572b75dcde4866cea5f434059233c234a664f56e80c0daadc8f314711cb9c55430a947cc9dbf48f4a0bead0433da5b333f5fd73fcbc68 WHIRLPOOL a6c0f56e66308e12aa05afe9412fed95cacf47cddb1dac509a952bd623f2a9c1638c89047de85b5362523e6cbbed7d18ba09c3c9c1f57c7e7ffc28efcc996eba
+DIST byaccj1.15_src.tar.gz 53646 SHA256 4d6ba21fa5bc4ec4b1be9eb6e6efbb367eb6df2577fd0eaff60be9c6614f6609 SHA512 6423ecca70d21dd0c1dd8366361f6c4420536e099090b18738013fbb6e8e0710ee739e51dfd7f603a64f8761f48cdd1d8dc7844d1b5ec6b792535254d290addc WHIRLPOOL 81846717ba6f7b19ddb3a8368f9ef26bc77b17b1862797b2b725e1ef504119a5904cefed314610f20c6161789583aca524c8439f813b95e514c6edda579cb6f9
+EBUILD byaccj-1.15-r1.ebuild 713 SHA256 854132417652e28323967edff3b262535cc5ac61c2b3443ce24c5f26b4a602ee SHA512 10336b2858825506e4693d5d1381a674dc3f43a131be9153f99fe296c5f675d3a0fba7de73036994ea43f1b7ce3aebaccac33b046ee7fd567d0092752210da3b WHIRLPOOL c65e2fb25720ed8e04e879d74938ca35cb006c20cdeecb512427004cc6048167cdc3ad38e58f082298671fb17d9798314c1e496ea4ef5b7e1814a2c644240442
+MISC ChangeLog 2714 SHA256 18a55a387551c31c5e7460b50512c36777ba11357948ac8fe15b563adaee391c SHA512 0c1181d3f31dad1449d8dd881835d7513de7eeb8a1ce7055285eece37f7e4cf2f339183262f011c34fd8e7b2db97c772781d13d7a1141099074d6d54e520831a WHIRLPOOL 557bd3f87c2b38515912b07e477978a556f5da7ff705d5166e47f5493088dd0947ea00b3a0380e5379e70514815b178e398330bc3e0a0312952ade64b59c295b
+MISC ChangeLog-2015 2365 SHA256 9caf1991d5d1f9f5a3aa7fe06aee15f58c4c7d0030c120fe26979c11f1a97b8a SHA512 ff850c07b69d297dbe7d086e3606f4eb57e8859de575e73a2bc1de7d5324056478ebe3727a22008982696d33c8583aaeedc638b813c69144550b8bfc1ed674f7 WHIRLPOOL 2cd27e4712de272a6c4454c15ce9368b60eb9bce3a63b381da2923a3d2ed05328c9ee6cd82e0b556064a55b33360921de54479798568ef4fdbaae28cadc3dbd5
+MISC metadata.xml 312 SHA256 35cba438f6e87216bf8783a984253aec3250b5e7657e92316ce760264a5ad6b6 SHA512 3ce25507ed5012c2f4c4961a9a9b739b04762e0a34bef6db4202240a65e6c1212a459ab35fa1c680dea52928c88f88301e36abc780228fb4b3591a37b3cff749 WHIRLPOOL f98f15cc084ede3c6d976e83687cfa2e5063392f98c550d797c9c6b9fb4bedda8f826615010fbf8ef133a8f2de658a7030e2d25b1c92b5ff5b7c2fc4c6c6fd79
diff --git a/dev-java/byaccj/byaccj-1.15-r1.ebuild b/dev-java/byaccj/byaccj-1.15-r1.ebuild
new file mode 100644
index 000000000000..03bf293aa05f
--- /dev/null
+++ b/dev-java/byaccj/byaccj-1.15-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit toolchain-funcs
+
+DESCRIPTION="A java extension of BSD YACC-compatible parser generator"
+HOMEPAGE="http://byaccj.sourceforge.net/"
+MY_P="${PN}${PV}_src"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~arm64 ppc64 x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos"
+IUSE=""
+
+S="${WORKDIR}/${PN}${PV}"
+
+src_compile() {
+ cp "${FILESDIR}/Makefile" src/Makefile || die
+ emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS}" -C src linux
+}
+
+src_install() {
+ newbin src/yacc.linux "${PN}"
+ dodoc docs/ACKNOWLEDGEMEN
+}
diff --git a/dev-java/byaccj/files/Makefile b/dev-java/byaccj/files/Makefile
new file mode 100644
index 000000000000..c46772a1de1b
--- /dev/null
+++ b/dev-java/byaccj/files/Makefile
@@ -0,0 +1,99 @@
+#################################################
+## Makefile for Byacc/Java
+## Date: 06 Aug 00
+## Author: Bob Jamison
+#################################################
+
+CC = gcc
+CFLAGS = -O
+LDFLAGS = -static
+TAR = tar
+GZIP = gzip
+VERS = byaccj1.15
+JAVA = /usr/java
+ZIP = zip
+
+INC = -I.
+
+OBJ = closure.o \
+ error.o \
+ lalr.o \
+ lr0.o \
+ main.o \
+ mkpar.o \
+ output.o \
+ reader.o \
+ skeleton.o \
+ symtab.o \
+ verbose.o \
+ warshall.o
+
+irix: yacc
+ mv yacc yacc.irix
+linux: yacc
+ mv yacc yacc.linux
+solaris: yacc
+ mv yacc yacc.solaris
+
+all: yacc
+
+dist:
+ ( \
+ cd .. ; \
+ /bin/rm -rf $(VERS) ; \
+ /bin/mkdir -p $(VERS) ; \
+ /bin/mkdir -p dist ; \
+ /bin/cp -r docs $(VERS) ; \
+ /bin/mkdir -p $(VERS)/src ; \
+ /bin/cp src/*.c $(VERS)/src ; \
+ /bin/cp src/*.h $(VERS)/src ; \
+ /bin/cp src/Makefile $(VERS)/src ; \
+ /bin/cp src/Makefile.bcc $(VERS)/src ; \
+ /bin/cp -f src/yacc.irix $(VERS) ; \
+ /bin/cp -f src/yacc.solaris $(VERS) ; \
+ /bin/cp -f src/yacc.linux $(VERS) ; \
+ /bin/cp -f src/yacc.exe $(VERS) ; \
+ /bin/cp src/README $(VERS) ; \
+ $(TAR) -cvf - $(VERS) | $(GZIP) > dist/$(VERS).tar.gz ;\
+ $(ZIP) dist/$(VERS).zip $(VERS) \
+ )
+
+SRCS = closure.c \
+ error.c \
+ lalr.c \
+ lr0.c \
+ main.c \
+ mkpar.c \
+ output.c \
+ reader.c \
+ skeleton.c \
+ symtab.c \
+ verbose.c \
+ warshall.c
+
+%.o : %.c
+ $(CC) -c $(CFLAGS) $(INC) $< -o $@
+
+yacc: $(OBJ)
+ $(CC) $(LDFLAGS) -o yacc $(OBJ)
+ @echo "done"
+
+clean:
+ /bin/rm -rf *.o *.obj yacc y.tab.c *.java *.class
+ /bin/rm -rf yacc.linux yacc.irix yacc.solaris yacc.exe
+ (cd .. ; /bin/rm -rf $(VERS) ; /bin/rm -rf dist )
+
+### Dependencies
+closure.o: closure.c defs.h
+error.o: error.c defs.h
+lalr.o: lalr.c defs.h
+lr0.o: lr0.c defs.h
+main.o: main.c defs.h
+mkpar.o: mkpar.c defs.h
+output.o: output.c defs.h
+reader.o: reader.c defs.h
+skeleton.o: skeleton.c defs.h
+symtab.o: symtab.c defs.h
+verbose.o: verbose.c defs.h
+warshall.o: warshall.c defs.h
+
diff --git a/dev-java/byaccj/metadata.xml b/dev-java/byaccj/metadata.xml
new file mode 100644
index 000000000000..11872579d69e
--- /dev/null
+++ b/dev-java/byaccj/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">byaccj</remote-id>
+ </upstream>
+</pkgmetadata>