From 50b6c9e02e9b46e5151c40a6209f03b241bf3324 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Mon, 8 Nov 2004 02:55:44 +0000 Subject: *** empty log message *** --- dev-lisp/cl-zebu/ChangeLog | 10 ++++ dev-lisp/cl-zebu/Manifest | 3 + dev-lisp/cl-zebu/cl-zebu-3.5.5.ebuild | 43 ++++++++++++++ .../cl-zebu/files/3.5.5-zebu-compiler-gentoo.patch | 69 ++++++++++++++++++++++ dev-lisp/cl-zebu/files/digest-cl-zebu-3.5.5 | 1 + dev-lisp/cl-zebu/metadata.xml | 9 +++ 6 files changed, 135 insertions(+) create mode 100644 dev-lisp/cl-zebu/ChangeLog create mode 100644 dev-lisp/cl-zebu/Manifest create mode 100644 dev-lisp/cl-zebu/cl-zebu-3.5.5.ebuild create mode 100644 dev-lisp/cl-zebu/files/3.5.5-zebu-compiler-gentoo.patch create mode 100644 dev-lisp/cl-zebu/files/digest-cl-zebu-3.5.5 create mode 100644 dev-lisp/cl-zebu/metadata.xml (limited to 'dev-lisp/cl-zebu') diff --git a/dev-lisp/cl-zebu/ChangeLog b/dev-lisp/cl-zebu/ChangeLog new file mode 100644 index 000000000000..85edaa18f037 --- /dev/null +++ b/dev-lisp/cl-zebu/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-lisp/cl-zebu +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-zebu/ChangeLog,v 1.1 2004/11/08 02:55:44 mkennedy Exp $ + +*cl-zebu-3.5.5 (07 Nov 2004) + + 07 Nov 2004; Matthew Kenendy +metadata.xml, + +files/3.5.5-zebu-compiler-gentoo.patch, +cl-zebu-3.5.5.ebuild: + Initial port. Ebuild contributed by Matthew Kennedy + diff --git a/dev-lisp/cl-zebu/Manifest b/dev-lisp/cl-zebu/Manifest new file mode 100644 index 000000000000..283b478f7482 --- /dev/null +++ b/dev-lisp/cl-zebu/Manifest @@ -0,0 +1,3 @@ +MD5 376b83d813fca2963bfefdd666e5b009 cl-zebu-3.5.5.ebuild 685 +MD5 7f9d39dc3bb7911772366096336332e3 metadata.xml 304 +MD5 fec076f0b90e4802a051d5f378a77649 files/digest-cl-zebu-3.5.5 64 diff --git a/dev-lisp/cl-zebu/cl-zebu-3.5.5.ebuild b/dev-lisp/cl-zebu/cl-zebu-3.5.5.ebuild new file mode 100644 index 000000000000..ff83528eaef0 --- /dev/null +++ b/dev-lisp/cl-zebu/cl-zebu-3.5.5.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lisp/cl-zebu/cl-zebu-3.5.5.ebuild,v 1.1 2004/11/08 02:55:44 mkennedy Exp $ + +inherit common-lisp eutils + +DESCRIPTION="Zebu is a Library for LALR(1) parser generation." +HOMEPAGE="http://www.cliki.net/Zebu" +SRC_URI="http://constantly.at/lisp/zebu-${PV}-asdf.tgz" +LICENSE="GPL-1" +SLOT="0" +KEYWORDS="-*" +IUSE="" + +DEPEND="virtual/commonlisp + dev-lisp/cl-ppcre" + +CLPACKAGE='zebu zebu-rr zebu-compiler' + +S=${WORKDIR}/zebu-${PV} + +src_unpack() { + unpack ${A} + epatch ${FILESDIR}/${PV}-zebu-compiler-gentoo.patch + rm ${S}/{zebu-mg.tab,zmg-dom.lisp} +} + +src_install() { + dodir ${CLSYSTEMROOT} + for system in ${CLPACKAGE}; do + insinto ${CLSOURCEROOT}/${system}/ + doins *.{lisp,zb} ${system}.asd + dosym ${CLSOURCEROOT}/${system}/${system}.asd ${CLSYSTEMROOT}/ + done + dohtml examples.html + dodoc COPYRIGHT ChangeLog README* doc/Zebu_intro.ps +} + +# TODO: (see zebu-loader.lisp) +# +# Build error: error opening #P"/usr/share/common-lisp/source/zebu-compiler/zmg-dom.lisp": +# Permission denied +# Build failure diff --git a/dev-lisp/cl-zebu/files/3.5.5-zebu-compiler-gentoo.patch b/dev-lisp/cl-zebu/files/3.5.5-zebu-compiler-gentoo.patch new file mode 100644 index 000000000000..f1d359cf6f96 --- /dev/null +++ b/dev-lisp/cl-zebu/files/3.5.5-zebu-compiler-gentoo.patch @@ -0,0 +1,69 @@ +Common subdirectories: zebu-3.5.5.orig/doc and zebu-3.5.5/doc +Common subdirectories: zebu-3.5.5.orig/test and zebu-3.5.5/test +Only in zebu-3.5.5: zebra-debug.fasl +Only in zebu-3.5.5: zebu-actions.fasl +Only in zebu-3.5.5: zebu-asdf-setup.fasl +Only in zebu-3.5.5: zebu-aux.fasl +diff -u zebu-3.5.5.orig/zebu-aux.lisp zebu-3.5.5/zebu-aux.lisp +--- zebu-3.5.5.orig/zebu-aux.lisp 1998-12-09 14:22:24.000000000 -0600 ++++ zebu-3.5.5/zebu-aux.lisp 2004-11-07 17:15:37.400965600 -0600 +@@ -244,3 +244,9 @@ + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + ;; End of zebu-aux.lisp + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ++ ++;; http://www.sbcl.org/manual/Defining-Constants.html#Defining%20Constants ++ ++(defmacro define-constant (name value &optional doc) ++ `(defconstant ,name (if (boundp ',name) (symbol-value ',name) ,value) ++ ,@(when doc (list doc)))) +\ No newline at end of file +Only in zebu-3.5.5: zebu-aux.lisp~ +Only in zebu-3.5.5: zebu-closure.fasl +Only in zebu-3.5.5: zebu-compile-mg.fasl +Only in zebu-3.5.5: zebu-compile.fasl +Only in zebu-3.5.5: zebu-driver.fasl +Only in zebu-3.5.5: zebu-dump.fasl +Only in zebu-3.5.5: zebu-empty-st.fasl +Only in zebu-3.5.5: zebu-first.fasl +Only in zebu-3.5.5: zebu-follow.fasl +Only in zebu-3.5.5: zebu-g-symbol.fasl +Only in zebu-3.5.5: zebu-generator.fasl +diff -u zebu-3.5.5.orig/zebu-generator.lisp zebu-3.5.5/zebu-generator.lisp +--- zebu-3.5.5.orig/zebu-generator.lisp 1999-01-13 12:16:30.000000000 -0600 ++++ zebu-3.5.5/zebu-generator.lisp 2004-11-07 17:20:28.192758528 -0600 +@@ -421,7 +421,7 @@ + ; return: (1) (( ) ..) + ; (2) a lambda-list binding the %u .. variables used to accessors + ; derived from the paths. +-(defconstant *vars-to-use* '("%R" "%S" "%T" "%U" "%V" "%W" "%X" "%Y" "%Z")) ++(define-constant *vars-to-use* '("%R" "%S" "%T" "%U" "%V" "%W" "%X" "%Y" "%Z")) + + (defun gen-clauses (clauses KB-sequence-print-fn-AL + &aux (vars-to-use (mapcar #'intern *vars-to-use*)) +Only in zebu-3.5.5: zebu-generator.lisp~ +Only in zebu-3.5.5: zebu-kb-domain.fasl +Only in zebu-3.5.5: zebu-lalr1.fasl +Only in zebu-3.5.5: zebu-loader.fasl +Only in zebu-3.5.5: zebu-loadgram.fasl +Only in zebu-3.5.5: zebu-lr0-sets.fasl +Only in zebu-3.5.5: zebu-mg-hierarchy.fasl +diff -u zebu-3.5.5.orig/zebu-mg.tab zebu-3.5.5/zebu-mg.tab +--- zebu-3.5.5.orig/zebu-mg.tab 2002-05-24 14:01:41.000000000 -0500 ++++ zebu-3.5.5/zebu-mg.tab 2004-11-07 17:15:49.062192824 -0600 +@@ -1,5 +1,5 @@ + +-(:FILE "/home/rudi/lisp/zebu-3.5.5/zebu-mg.zb" :NAME "zebu-mg" :DOMAIN-FILE "zmg-dom" :PACKAGE "ZEBU" :GRAMMAR "null-grammar" :IDENTIFIER-START-CHARS "$-_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" :IDENTIFIER-CONTINUE-CHARS "$-_.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890" :DOMAIN-FILE "/home/rudi/lisp/zebu-3.5.5/zmg-dom.lisp") ++(:FILE "/mnt/space/tmp/zebu-3.5.5/zebu-mg.zb" :NAME "zebu-mg" :DOMAIN-FILE "zmg-dom" :PACKAGE "ZEBU" :GRAMMAR "null-grammar" :IDENTIFIER-START-CHARS "$-_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" :IDENTIFIER-CONTINUE-CHARS "$-_.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890" :DOMAIN-FILE "/mnt/space/tmp/zebu-3.5.5/zmg-dom.lisp") + #37(THE-EMPTY-STRING AUGMENTED-START THE-END-G-SYMBOL META-GRAMMAR DEF-TYPE ZB-RULE IDENTIFIER ":=" TYPED-CONJ PRINT-FUNCTION ";" CONJ "<<" "print-function:" ">>" ":" "[" LABEL-VALUE-PAIRS "]" FEAT-TERM NUMBER STRING "*" "+" LABEL-VALUE-PAIR "(" ")" NON-TERMINAL "-->" RHS RHS1 MORE-RHS CONSTITUENT-LIST "{" "}" CONSTITUENT "|" ) + + +Only in zebu-3.5.5: zebu-oset.fasl +Only in zebu-3.5.5: zebu-package.fasl +Only in zebu-3.5.5: zebu-printers.fasl +Only in zebu-3.5.5: zebu-regex.fasl +Only in zebu-3.5.5: zebu-slr.fasl +Only in zebu-3.5.5: zebu-tables.fasl +Only in zebu-3.5.5: zebu-tree-attributes.fasl +Only in zebu-3.5.5: zmg-dom.fasl +Only in zebu-3.5.5: zmg-dom.lisp diff --git a/dev-lisp/cl-zebu/files/digest-cl-zebu-3.5.5 b/dev-lisp/cl-zebu/files/digest-cl-zebu-3.5.5 new file mode 100644 index 000000000000..de05035c2119 --- /dev/null +++ b/dev-lisp/cl-zebu/files/digest-cl-zebu-3.5.5 @@ -0,0 +1 @@ +MD5 0b6cc4132db75a72d9db129731e4b3c6 zebu-3.5.5-asdf.tgz 221765 diff --git a/dev-lisp/cl-zebu/metadata.xml b/dev-lisp/cl-zebu/metadata.xml new file mode 100644 index 000000000000..bd44481a11bb --- /dev/null +++ b/dev-lisp/cl-zebu/metadata.xml @@ -0,0 +1,9 @@ + + + +common-lisp + +Zebu is a Library for LALR(1) parser generation -- similar to YACC, +but it generates Common Lisp code. + + -- cgit v1.2.3-65-gdbad