summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2004-07-09 04:34:37 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2004-07-09 04:34:37 +0000
commit8c0473d60c37cb9e54cce3173079f76da150aa2b (patch)
tree814b2a23e7ba27a19fad2aaad97d8a501d34dff7 /dev-lang/gnu-smalltalk
parentadd =net-mail/mailutils-0.3 (diff)
downloadgentoo-2-8c0473d60c37cb9e54cce3173079f76da150aa2b.tar.gz
gentoo-2-8c0473d60c37cb9e54cce3173079f76da150aa2b.tar.bz2
gentoo-2-8c0473d60c37cb9e54cce3173079f76da150aa2b.zip
*** empty log message ***
Diffstat (limited to 'dev-lang/gnu-smalltalk')
-rw-r--r--dev-lang/gnu-smalltalk/ChangeLog11
-rw-r--r--dev-lang/gnu-smalltalk/Manifest4
-rw-r--r--dev-lang/gnu-smalltalk/files/2.1.8-gst-package-mktemp-gentoo.patch20
-rw-r--r--dev-lang/gnu-smalltalk/files/50gnu-smalltalk-gentoo.el5
-rw-r--r--dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.1.81
-rw-r--r--dev-lang/gnu-smalltalk/gnu-smalltalk-2.1.8.ebuild62
-rw-r--r--dev-lang/gnu-smalltalk/metadata.xml15
7 files changed, 118 insertions, 0 deletions
diff --git a/dev-lang/gnu-smalltalk/ChangeLog b/dev-lang/gnu-smalltalk/ChangeLog
new file mode 100644
index 000000000000..793a29cf9a12
--- /dev/null
+++ b/dev-lang/gnu-smalltalk/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-lang/gnu-smalltalk
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnu-smalltalk/ChangeLog,v 1.1 2004/07/09 04:34:37 mkennedy Exp $
+
+*gnu-smalltalk-2.1.8 (08 Jul 2004)
+
+ 08 Jul 2004; <mkennedy@gentoo.org> +metadata.xml,
+ +files/2.1.8-gst-package-mktemp-gentoo.patch,
+ +files/50gnu-smalltalk-gentoo.el, +gnu-smalltalk-2.1.8.ebuild:
+ Initial port. Ebuild contributed by Matthew Kennedy <mkennedy@gentoo.org>
+
diff --git a/dev-lang/gnu-smalltalk/Manifest b/dev-lang/gnu-smalltalk/Manifest
new file mode 100644
index 000000000000..8188bcdb56d5
--- /dev/null
+++ b/dev-lang/gnu-smalltalk/Manifest
@@ -0,0 +1,4 @@
+MD5 381e4c2332281d7db7744ba7fa23368a gnu-smalltalk-2.1.8.ebuild~ 1434
+MD5 258106bd90a4f29da0fcfa959177a562 gnu-smalltalk-2.1.8.ebuild 1422
+MD5 c67d223b05922d506793147ed4a212f4 metadata.xml 562
+MD5 66ddf9dc07f2331955851bc54cb3b17f files/digest-gnu-smalltalk-2.1.8 68
diff --git a/dev-lang/gnu-smalltalk/files/2.1.8-gst-package-mktemp-gentoo.patch b/dev-lang/gnu-smalltalk/files/2.1.8-gst-package-mktemp-gentoo.patch
new file mode 100644
index 000000000000..5159e099abb7
--- /dev/null
+++ b/dev-lang/gnu-smalltalk/files/2.1.8-gst-package-mktemp-gentoo.patch
@@ -0,0 +1,20 @@
+Only in smalltalk-2.1.8.orig/: gnu-smalltalk.spec
+diff -ur smalltalk-2.1.8.orig/gst-package.in smalltalk-2.1.8/gst-package.in
+--- smalltalk-2.1.8.orig/gst-package.in 2003-05-27 12:41:10.000000000 -0500
++++ smalltalk-2.1.8/gst-package.in 2004-07-05 16:11:46.795594856 -0500
+@@ -138,8 +138,13 @@
+
+ echo "Merging $files and $IMAGE_PATH/packages.xml..."
+ $dry_run || {
+- sed -e '$i\' -e '</packages>' -e '/<.packages>/,/<packages>/d' $files > $IMAGE_PATH/packages.tmp
+- mv $IMAGE_PATH/packages.tmp $IMAGE_PATH/packages.xml
++ tmpfile=$(mktemp)
++ sed -e '$i\' -e '</packages>' -e '/<.packages>/,/<packages>/d' $files > $tmpfile
++ if [ -n ${EBUILD_PHASE} ]; then
++ mv $tmpfile ${D}/usr/share/smalltalk/packages.xml
++ else
++ mv $tmpfile $IMAGE_PATH/packages.xml
++ fi
+ }
+
+
diff --git a/dev-lang/gnu-smalltalk/files/50gnu-smalltalk-gentoo.el b/dev-lang/gnu-smalltalk/files/50gnu-smalltalk-gentoo.el
new file mode 100644
index 000000000000..1915d5c15d97
--- /dev/null
+++ b/dev-lang/gnu-smalltalk/files/50gnu-smalltalk-gentoo.el
@@ -0,0 +1,5 @@
+
+;;; gnu-smalltalk site-lisp configuration
+
+(add-to-list 'load-path "@SITELISP@")
+(add-to-list 'auto-mode-alist '("\\.st\\'" . smalltalk-mode)) \ No newline at end of file
diff --git a/dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.1.8 b/dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.1.8
new file mode 100644
index 000000000000..7759ca897ca6
--- /dev/null
+++ b/dev-lang/gnu-smalltalk/files/digest-gnu-smalltalk-2.1.8
@@ -0,0 +1 @@
+MD5 dd55006e41c87ddbf90f7cd2166b290b smalltalk-2.1.8.tar.gz 3403467
diff --git a/dev-lang/gnu-smalltalk/gnu-smalltalk-2.1.8.ebuild b/dev-lang/gnu-smalltalk/gnu-smalltalk-2.1.8.ebuild
new file mode 100644
index 000000000000..e53ab3add5db
--- /dev/null
+++ b/dev-lang/gnu-smalltalk/gnu-smalltalk-2.1.8.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnu-smalltalk/gnu-smalltalk-2.1.8.ebuild,v 1.1 2004/07/09 04:34:37 mkennedy Exp $
+
+inherit elisp-common flag-o-matic eutils gcc
+
+DESCRIPTION="GNU Smalltalk"
+HOMEPAGE="http://www.gnu.org/software/smalltalk/smalltalk.html"
+SRC_URI="http://ftp.gnu.org/gnu/smalltalk/smalltalk-${PV}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="tcltk readline emacs gtk gmp"
+
+DEPEND="dev-libs/gmp
+ sys-libs/gdbm
+ sys-apps/debianutils
+ emacs? ( virtual/emacs )
+ readline? ( sys-libs/readline )
+ tcltk? ( dev-lang/tcl dev-lang/tk )
+ gtk? ( =x11-libs/gtk+-2* )
+ gmp? ( dev-libs/gmp )"
+
+S=${WORKDIR}/smalltalk-${PV}
+
+SITEFILE=50gnu-smalltalk-gentoo.el
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/${PV}-gst-package-mktemp-gentoo.patch
+}
+
+src_compile() {
+ replace-flags '-O3' '-O2'
+ econf \
+ `use_with emacs emacs` \
+ `use_with readline readline` \
+ `use_with tcltk tcl=/usr/lib` \
+ `use_with tcltk tk=/usr/lib` \
+ `use_with gmp gmp` \
+ `use_enable gtk gtk` \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} lispdir=/usr/share/emacs/site-lisp/gnu-smalltalk install || die
+ rm -rf ${D}/usr/include/sigsegv.h \
+ ${D}/usr/include/snprintfv \
+ ${D}/usr/share/aclocal/snprintfv.m4
+ dodoc AUTHORS COPYING* ChangeLog NEWS PATCHES README THANKS TODO
+ use emacs && elisp-site-file-install ${FILESDIR}/${SITEFILE}
+
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/dev-lang/gnu-smalltalk/metadata.xml b/dev-lang/gnu-smalltalk/metadata.xml
new file mode 100644
index 000000000000..7ea302df6fe0
--- /dev/null
+++ b/dev-lang/gnu-smalltalk/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>mkennedy@gentoo.org</email>
+ </maintainer>
+ <longdescription>
+ GNU Smalltalk is a free implementation of the Smalltalk-80
+ language which runs on most versions on Unix and, in general,
+ everywhere you can find a POSIX-compliance library. An uncommon
+ feature of it is that it is well-versed to scripting tasks and
+ headless processing.
+ </longdescription>
+</pkgmetadata>