summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-09-22 03:02:02 +0000
committerMike Frysinger <vapier@gentoo.org>2005-09-22 03:02:02 +0000
commit7a9b7a4c9e9147043f9a2d4ea37fb50d95be910b (patch)
treeb386b9595c9a9a35b25a9e514e557307816e1ef1 /dev-lang
parentupdate copyright (diff)
downloadgentoo-2-7a9b7a4c9e9147043f9a2d4ea37fb50d95be910b.tar.gz
gentoo-2-7a9b7a4c9e9147043f9a2d4ea37fb50d95be910b.tar.bz2
gentoo-2-7a9b7a4c9e9147043f9a2d4ea37fb50d95be910b.zip
initial import
(Portage version: 2.0.52-r1 http://ronaldmcnightrider.ytmnd.com/ )
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/ucblogo/ChangeLog8
-rw-r--r--dev-lang/ucblogo/Manifest2
-rw-r--r--dev-lang/ucblogo/files/digest-ucblogo-5.51
-rw-r--r--dev-lang/ucblogo/files/ucblogo-5.5-destdir.patch43
-rw-r--r--dev-lang/ucblogo/files/ucblogo-5.5-fhs.patch28
-rw-r--r--dev-lang/ucblogo/ucblogo-5.5.ebuild35
6 files changed, 117 insertions, 0 deletions
diff --git a/dev-lang/ucblogo/ChangeLog b/dev-lang/ucblogo/ChangeLog
new file mode 100644
index 000000000000..00edf10f1deb
--- /dev/null
+++ b/dev-lang/ucblogo/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for dev-lang/ucblogo
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ucblogo/ChangeLog,v 1.1 2005/09/22 03:02:02 vapier Exp $
+
+*ucblogo-5.5 (21 Sep 2005)
+
+ 21 Sep 2005; Mike Frysinger <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by me.
diff --git a/dev-lang/ucblogo/Manifest b/dev-lang/ucblogo/Manifest
new file mode 100644
index 000000000000..ef867d6263b1
--- /dev/null
+++ b/dev-lang/ucblogo/Manifest
@@ -0,0 +1,2 @@
+MD5 208d5d07341ee2f60b96b2b4ef686a6a ucblogo-5.5.ebuild 427
+MD5 bf4574962bbaffaa1d55eeab946e5fce files/digest-ucblogo-5.5 64
diff --git a/dev-lang/ucblogo/files/digest-ucblogo-5.5 b/dev-lang/ucblogo/files/digest-ucblogo-5.5
new file mode 100644
index 000000000000..f377bb2422ea
--- /dev/null
+++ b/dev-lang/ucblogo/files/digest-ucblogo-5.5
@@ -0,0 +1 @@
+MD5 caf68577630645718492fd7d10fd4927 ucblogo-5.5.tar.gz 1290273
diff --git a/dev-lang/ucblogo/files/ucblogo-5.5-destdir.patch b/dev-lang/ucblogo/files/ucblogo-5.5-destdir.patch
new file mode 100644
index 000000000000..8f0f25efd217
--- /dev/null
+++ b/dev-lang/ucblogo/files/ucblogo-5.5-destdir.patch
@@ -0,0 +1,43 @@
+--- makefile.in
++++ makefile.in
+@@ -65,13 +65,13 @@
+ cd docs; $(MAKE) ship
+
+ install: all
+- for d in $(BINDIR) $(LIBLOC) $(LIBLOC)/logolib $(LIBLOC)/helpfiles $(LIBLOC)/csls; do [ -d $$d ] || mkdir -p $$d || exit 1; done
+- cp logo $(BINDIR)/.
+- cp -f logolib/* $(LIBLOC)/logolib/.
+- cp -f helpfiles/* $(LIBLOC)/helpfiles/.
+- cp -f csls/* $(LIBLOC)/csls/.
+- (cd emacs; prefix=$(prefix) LIBLOC=$(LIBLOC) BINDIR=$(BINDIR) $(MAKE) install)
+- (cd docs; prefix=$(prefix) LIBLOC=$(LIBLOC) BINDIR=$(BINDIR) $(MAKE) install)
++ for d in $(BINDIR) $(LIBLOC) $(LIBLOC)/logolib $(LIBLOC)/helpfiles $(LIBLOC)/csls; do [ -d $(DESTDIR)$$d ] || mkdir -p $(DESTDIR)$$d || exit 1; done
++ cp logo $(DESTDIR)$(BINDIR)/.
++ cp -f logolib/* $(DESTDIR)$(LIBLOC)/logolib/.
++ cp -f helpfiles/* $(DESTDIR)$(LIBLOC)/helpfiles/.
++ cp -f csls/* $(DESTDIR)$(LIBLOC)/csls/.
++ (cd emacs; prefix=$(prefix) LIBLOC=$(LIBLOC) BINDIR=$(BINDIR) DESTDIR=$(DESTDIR) $(MAKE) install)
++ (cd docs; prefix=$(prefix) LIBLOC=$(LIBLOC) BINDIR=$(BINDIR) DESTDIR=$(DESTDIR) $(MAKE) install)
+ # prefix=$(prefix); LIBLOC=$(LIBLOC); BINDIR=$(BINDIR); export prefix LIBLOC BINDIR; cd emacs; $(MAKE) install
+
+ logo-mode:
+--- docs/makefile.orig 2005-09-21 22:18:56.000000000 -0400
++++ docs/makefile 2005-09-21 22:19:20.000000000 -0400
+@@ -30,10 +30,10 @@
+ -rm -f *.{aux,cp,cps,dvi,fn,ky,log,pg,toc,tp,vr}
+
+ install: all
+- for d in $(INFODIR) $(DOCSDIR) $(HTMLDIR); do [ -d $$d ] || mkdir -p $$d || exit 1; done
+- -cp -f *.info* $(INFODIR)/.
+- -cp -f html/*.html $(HTMLDIR)/.
+- -cp -f usermanual.ps $(DOCSDIR)/.
+- -cp -f usermanual.pdf $(DOCSDIR)/.
+- -cp -f usermanual.texi $(DOCSDIR)/.
+- -cp -f ../usermanual $(DOCSDIR)/.
++ for d in $(INFODIR) $(DOCSDIR) $(HTMLDIR); do [ -d $(DESTDIR)$$d ] || mkdir -p $(DESTDIR)$$d || exit 1; done
++ -cp -f *.info* $(DESTDIR)$(INFODIR)/.
++ -cp -f html/*.html $(DESTDIR)$(HTMLDIR)/.
++ -cp -f usermanual.ps $(DESTDIR)$(DOCSDIR)/.
++ -cp -f usermanual.pdf $(DESTDIR)$(DOCSDIR)/.
++ -cp -f usermanual.texi $(DESTDIR)$(DOCSDIR)/.
++ -cp -f ../usermanual $(DESTDIR)$(DOCSDIR)/.
diff --git a/dev-lang/ucblogo/files/ucblogo-5.5-fhs.patch b/dev-lang/ucblogo/files/ucblogo-5.5-fhs.patch
new file mode 100644
index 000000000000..6cf6c32e0420
--- /dev/null
+++ b/dev-lang/ucblogo/files/ucblogo-5.5-fhs.patch
@@ -0,0 +1,28 @@
+--- makefile.in.orig 2005-09-21 22:20:28.000000000 -0400
++++ makefile.in 2005-09-21 22:20:39.000000000 -0400
+@@ -3,6 +3,7 @@
+ LDFLAGS = @LDFLAGS@
+ LIBS = @X_PRE_LIBS@ @X_LIBS@ @LIBS@ @X_EXTRA_LIBS@
+ prefix = @prefix@
++export infodir = @infodir@
+ BINDIR = $(prefix)/bin
+ LIBLOC = $(prefix)/lib/logo
+ MAKE = @MAKE@
+--- docs/makefile.orig 2005-09-21 22:40:04.000000000 -0400
++++ docs/makefile 2005-09-21 22:41:55.000000000 -0400
+@@ -1,6 +1,14 @@
+ BUILDIR = `pwd`
++ifdef infodir
++INFODIR = $(infodir)
++else
+ INFODIR = $(prefix)/info
+-DOCSDIR = $(LIBLOC)/docs
++endif
++ifdef PF
++DOCSDIR = $(prefix)/share/doc/$(PF)
++else
++DOCSDIR = $(prefix)/share/doc/logo
++endif
+ HTMLDIR = $(DOCSDIR)/html
+
+ all: usermanual.ps usermanual.pdf html/usermanual_1.html ucblogo.info
diff --git a/dev-lang/ucblogo/ucblogo-5.5.ebuild b/dev-lang/ucblogo/ucblogo-5.5.ebuild
new file mode 100644
index 000000000000..9088d73e1cd1
--- /dev/null
+++ b/dev-lang/ucblogo/ucblogo-5.5.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ucblogo/ucblogo-5.5.ebuild,v 1.1 2005/09/22 03:02:02 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="a reflective, functional programming language"
+HOMEPAGE="http://www.cs.berkeley.edu/~bh/logo.html"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="emacs X"
+
+DEPEND="X? ( virtual/x11 )
+ emacs? ( virtual/emacs )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-destdir.patch
+ epatch "${FILESDIR}"/${P}-fhs.patch
+ use emacs || echo 'all install:' > emacs/makefile
+}
+
+src_compile() {
+ econf $(use_with X x) || die
+ emake || die
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die
+ dodoc README
+}