summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2003-12-22 23:29:26 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2003-12-22 23:29:26 +0000
commit349aab384840716cb1d26dee776ad9c60736c158 (patch)
treee6651686c8883c5999522c38c89cdbeb65e99af1 /dev-lang/snobol
parentadd in the beta version, which is recommended upstream (diff)
downloadhistorical-349aab384840716cb1d26dee776ad9c60736c158.tar.gz
historical-349aab384840716cb1d26dee776ad9c60736c158.tar.bz2
historical-349aab384840716cb1d26dee776ad9c60736c158.zip
add in the beta version, which is recommended upstream
Diffstat (limited to 'dev-lang/snobol')
-rw-r--r--dev-lang/snobol/Manifest6
-rw-r--r--dev-lang/snobol/files/digest-snobol-0.99.441
-rw-r--r--dev-lang/snobol/snobol-0.99.44.ebuild49
3 files changed, 53 insertions, 3 deletions
diff --git a/dev-lang/snobol/Manifest b/dev-lang/snobol/Manifest
index 2ae7b5de9fca..286002d9590a 100644
--- a/dev-lang/snobol/Manifest
+++ b/dev-lang/snobol/Manifest
@@ -1,6 +1,6 @@
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/snobol/Manifest,v 1.3 2003/12/22 23:29:19 robbat2 Exp $
-MD5 0886cb41f16384fecfc8053d3024094c snobol-0.99.44.ebuild 1346
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/snobol/Manifest,v 1.4 2003/12/22 23:29:26 robbat2 Exp $
+MD5 cef022e674e89b86de7725e6017ad8c7 snobol-0.99.44.ebuild 1440
MD5 abeba48f98a3a54dc7c43a2ebd1af262 snobol-0.99.4.ebuild 1247
-MD5 190c4c3d484e42924e5ca4b90159d7c1 ChangeLog 451
+MD5 05be7e9879bdd6db0df4c2e2890ec7b9 ChangeLog 616
MD5 3ec06c6673caf4c21bcacdd0453a337b files/digest-snobol-0.99.44 67
MD5 fc15c8513d6f9fe07d1b57df53333938 files/digest-snobol-0.99.4 65
diff --git a/dev-lang/snobol/files/digest-snobol-0.99.44 b/dev-lang/snobol/files/digest-snobol-0.99.44
new file mode 100644
index 000000000000..9a9af7f0d84e
--- /dev/null
+++ b/dev-lang/snobol/files/digest-snobol-0.99.44
@@ -0,0 +1 @@
+MD5 632ade5e09eb9f511e1603485f5380d5 snobol4-0.99.44.tar.gz 528205
diff --git a/dev-lang/snobol/snobol-0.99.44.ebuild b/dev-lang/snobol/snobol-0.99.44.ebuild
new file mode 100644
index 000000000000..1ab17d820fef
--- /dev/null
+++ b/dev-lang/snobol/snobol-0.99.44.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/snobol/snobol-0.99.44.ebuild,v 1.1 2003/12/22 23:29:19 robbat2 Exp $
+
+DESCRIPTION="Phil Budne's port of Macro SNOBOL4 in C, for modern machines"
+HOMEPAGE="http://www.snobol4.org/csnobol4/"
+#SRC_URI="mirror://snobol4/${P}.tar.gz"
+MY_PN="snobol4"
+MY_P="${MY_PN}-${PV}"
+SRC_URI="ftp://ftp.snobol4.org/snobol4/beta/${MY_P}.tar.gz"
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND="sys-devel/gcc
+ sys-devel/m4"
+RDEPEND=""
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ sed '/autoconf/s:autoconf:./autoconf:g' -i ${S}/configure
+ echo "ADD_OPT([${CFLAGS}])" >>${S}/local-config
+ echo "ADD_CPPFLAGS([-DUSE_STDARG_H])" >>${S}/local-config
+ echo "ADD_CPPFLAGS([-DHAVE_STDARG_H])" >>${S}/local-config
+ echo "BINDEST=/usr/bin/snobol4" >>${S}/local-config
+ echo "MANDEST=/usr/share/man/man4/snobol4.1" >>${S}/local-config
+ echo "SNOLIB_DIR=/usr/lib/snobol4" >>${S}/local-config
+}
+
+src_compile() {
+ # WARNING
+ # The configure script is NOT what you expect
+ emake || die "emake failed"
+ emake doc/snobol4.1 || die "emake doc/snobol4.1 failed"
+}
+
+src_install() {
+ into /usr
+ newbin xsnobol4 snobol4
+ dodir /usr/lib/snobol4
+ insinto /usr/lib/snobol4
+ doins snolib.a snolib/bq.sno
+
+ doman doc/*.1
+ dohtml doc/*.html
+ rm doc/*.html
+ dodoc doc/*.ps doc/*.doc doc/*.txt doc/*.pdf
+}