summaryrefslogtreecommitdiff
path: root/dev-lang/snobol
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-lang/snobol
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-lang/snobol')
-rw-r--r--dev-lang/snobol/Manifest11
-rw-r--r--dev-lang/snobol/metadata.xml8
-rw-r--r--dev-lang/snobol/snobol-0.99.4.ebuild45
-rw-r--r--dev-lang/snobol/snobol-0.99.44.ebuild51
-rw-r--r--dev-lang/snobol/snobol-1.1.ebuild59
-rw-r--r--dev-lang/snobol/snobol-1.4.1.ebuild52
6 files changed, 226 insertions, 0 deletions
diff --git a/dev-lang/snobol/Manifest b/dev-lang/snobol/Manifest
new file mode 100644
index 000000000000..daff416b9e41
--- /dev/null
+++ b/dev-lang/snobol/Manifest
@@ -0,0 +1,11 @@
+DIST snobol-0.99.4.tar.gz 388020 SHA256 f5ca03e4d2fe276d470c38bb6e75815949ff53853a3ee084c1b5e8b0090ec0df SHA512 4333c83302363ed47dd98318add93b584b67b8b38bdf01f9dd38981b7711978b5dbec71e9e4aa964e82a35700a927650d3abd3e3074651ab02a7021973af1a6c WHIRLPOOL 7b7722502b8040f0f0fb463e5458fbb5b6a7f402ed8e9935d7efcf16626a8ed39d771a77ec4f6a9d183fe2ed752f75c533006560c9b962ae10d3a6806fc7083e
+DIST snobol4-0.99.44.tar.gz 528205 SHA256 1018d8a7776b072972c0021ba7472baff632b63d8d535243c7cb277f89930d5c SHA512 46ffd03e4f392c7e7cb2a532b0ab6536750c57c78284bb02fa15a0a3a0166adb60779e068c3baf542d81cb01b7cd881d952ad4ecb9cf50a9c109e3b68e292720 WHIRLPOOL e48f35881e3e08effdd95a2e22974b68507cef0066bacb252c7787cecf4337c60fd330eb586ecdeaea33cf8e1034647e1ee5859812525f2e4a66ad77b19a539f
+DIST snobol4-1.1.tar.gz 677333 SHA256 53503e412953ddf31149cd36aa3cd7ce164c2a149e33309fe7c583be54c791ae SHA512 ae8482bc64f3d9020dc4d7e390296114e7498ef2764ebb69b6c4960d0c1b01daf4d77dff1aa583231a7f50d4c54f7f72cedc3e4744b03f4b2370fa6de837a3cc WHIRLPOOL 40730f2f8ec30a617636ad515f0f71b93638fa0bb9c3367ea562c8a74f37b411d7e7a865fbb7ce6b322c036d9d712e73bd609747e0524e6191b0cddfa453bbc9
+DIST snobol4-1.4.1.tar.gz 736837 SHA256 af346b9b8087ecc5432bc6d83c62b61a02e38ebd07d3b6f9477e1c0aef598d04 SHA512 5413af10018141e93f05c9ea637711bb3981f2b67557691d05dde8911178d90900f0fdef6c1d2416ebdda6afeeabd21b9e371b6711b2d093df629cc865fc61f9 WHIRLPOOL 9a82de95afff23d762e722220c0761694e2b807d1cb1564a075df955bfe2bbb049ea857d980ab0343284f15594ad9fde02b08e10fcd68fbaa024eeb786a5f5dc
+EBUILD snobol-0.99.4.ebuild 1103 SHA256 119b39c7c057a194d27147cfd370816c3c7213218e5c1b281eb5c12053e31b23 SHA512 62766693ddf26b30b7991cc12f1ff9efc03e1a82a8c5f95a15bb03d7f9d9ac4ccfc4b03802078e781ac5e34a8db4d3d016f5e2a5e770c3b81f2185fedd90ee02 WHIRLPOOL 21b65aab55cbeacfe2df4f31897ef49e46ba72241abcabf1186cd1e88f661f142c46a0a3c8d12da301d22c06c82d7c024455fe8ea07b8738cc15f1ce4fe0bc8c
+EBUILD snobol-0.99.44.ebuild 1314 SHA256 0385e5ea1c1d7b76970335396b68d673d1d5c4888a168e9911590a4d9c62d257 SHA512 af0778bd0e3dbd180f1ada5dc177527bef615dd91af7f8a4dbc0a82353b559c1fa7653418b6db598f11d348e5d58fa43c45004ed4c032d88fc36177d55b94e12 WHIRLPOOL 3f33c043ba3f0f0aa840e396bca7cd93d58fda7ab6ee6b376dcf85fa5b959fcbde1b81d0277acb8893a99c31c019c340102e088a282bfeab04d158f0bfad3051
+EBUILD snobol-1.1.ebuild 1418 SHA256 fafe570acd8537814b427ede107c7bf05482f11466c95b4a924f10f6bc0978b5 SHA512 f0ca27dd442231cb15fa95ea8d43ac0937afa8715defd4f6506de072b9a3a0ae74ffa3af8ddac7beebb6612775479a90f80fc045824a273e8b011ec57df8ca54 WHIRLPOOL ed2adf706790c5ef1946f9e27d7d07a05cf4dc04658208ebeaccdf4c9627e8bc0bb0b5c0c538ca3debe2b9d01425850088108d20308faf5bbf32323b026165b3
+EBUILD snobol-1.4.1.ebuild 1286 SHA256 573280cbf028901ff2ea6a94c567bc7d0899130971a96057c99b269fbcdd53a9 SHA512 f7da5f8ada4660b6d746cae936d959d26a0170d01a7791ffc68b3522ebd410eaa22aec5d20fee457726ffc4b11bba391d25ffb447558c0f5dbaa11708f632bac WHIRLPOOL ab1abebad359484906ae61d350f38aa5dce8cc5941cb02a06145313f85fe0c222cfbcde8f342d1571d141580e157b2f9e05d19efee3ace5fce495696c3d5b4f9
+MISC ChangeLog 2327 SHA256 3de385bd91faf810b8c0d4619b49148ae8c1258218995b94cd92f003ebd8246d SHA512 f45aa8fef89c7c522838c874988c205a5a3ea534079a3127bbb43581d17cb3b03a7f9f9cd388d20dec9ca8f461ca9078f5f30a638d5b54989ec714b61d0145fc WHIRLPOOL 74e85e5f69886f46ce46b0a7b36ac8bc6e8bb56ae30e4dc7930ae4c4d4531b6a4cd325ed382de46a0444e26a6b940dcf9e82e88291b5d198073d2b05240c5e5c
+MISC ChangeLog-2015 2237 SHA256 ad3d3210a6ca8664342102da6245312c3606047cc56aa9587b52b3a17b1c010c SHA512 f872a2be897103a645235b360154bbe17eeef6cff17d21f01b64bbb10fd6e36f5e0eccd2560226c818498071d788e12b7ba6e76c0eaeeb9f1e13375d11adb677 WHIRLPOOL 2cd6e2fc5f02444747b7dd8d1001a06151fe227b06776ad9a26930d830debe10674ff5816d1ecc07db32787f2e0cce22d332eaf36bce2c897f4948c028ac08ac
+MISC metadata.xml 268 SHA256 972faf76e6638f2159ef3c7dafdcfef26d582070e6f0064d9136d1c6b2bee905 SHA512 ffda1db3fd6ac952f41a970e2e496c6a9fd0b12ed11cdf363fd269c3b00f627c6e70421fd545aad61d69594af2e5f43d8ebc197232a39b596d012818fe758850 WHIRLPOOL 759c32dcdde671d2fda0269ee9326f6d0f0e44966f767ac7becc40e6efb5429237b683cb23867d76a8d13dde79fe257e090ef890761b20f9792172a90369296d
diff --git a/dev-lang/snobol/metadata.xml b/dev-lang/snobol/metadata.xml
new file mode 100644
index 000000000000..a4e0d354f696
--- /dev/null
+++ b/dev-lang/snobol/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>robbat2@gentoo.org</email>
+ <name>Robin H. Johnson</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-lang/snobol/snobol-0.99.4.ebuild b/dev-lang/snobol/snobol-0.99.4.ebuild
new file mode 100644
index 000000000000..aa7a39c5fae3
--- /dev/null
+++ b/dev-lang/snobol/snobol-0.99.4.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="sys-devel/gcc
+ sys-devel/m4"
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ sed '/autoconf/s:autoconf:./autoconf:g' -i ${S}/configure
+ echo "OPT=${CFLAGS}" >${S}/local-config
+ echo "ADD_CPPFLAGS(-DUSE_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
+}
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..5866890a27f8
--- /dev/null
+++ b/dev-lang/snobol/snobol-0.99.44.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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="BSD-2"
+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
+}
diff --git a/dev-lang/snobol/snobol-1.1.ebuild b/dev-lang/snobol/snobol-1.1.ebuild
new file mode 100644
index 000000000000..194e67486d81
--- /dev/null
+++ b/dev-lang/snobol/snobol-1.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+DESCRIPTION="Phil Budne's port of Macro SNOBOL4 in C, for modern machines"
+HOMEPAGE="http://www.snobol4.org/csnobol4/"
+MY_PN="snobol4"
+MY_P="${MY_PN}-${PV}"
+#SRC_URI="ftp://ftp.snobol4.org/snobol4/${MY_P}.tar.gz ftp://ftp.ultimate.com/snobol/${MY_P}.tar.gz"
+SRC_URI="mirror://snobol4/${MY_P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="sys-devel/gcc
+ sys-devel/m4"
+RDEPEND=""
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ #export CFLAGS="-O0 -pipe"
+ sed -i.orig -e '/autoconf/s:autoconf:./autoconf:g' \
+ -e '/ADD_LDFLAGS/s/-ldb/-lndbm/' \
+ "${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=${EPREFIX}/usr/bin/snobol4" >>${S}/local-config
+ echo "MANDEST=${EPREFIX}/usr/share/man/man4/snobol4.1" >>${S}/local-config
+ echo "SNOLIB_DIR=${EPREFIX}/usr/lib/snobol4" >>${S}/local-config
+}
+
+src_configure() {
+ # WARNING
+ # The configure script is NOT what you expect
+ :
+}
+
+src_compile() {
+ emake
+ emake doc/snobol4.1
+}
+
+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/*.txt doc/*.pdf
+}
diff --git a/dev-lang/snobol/snobol-1.4.1.ebuild b/dev-lang/snobol/snobol-1.4.1.ebuild
new file mode 100644
index 000000000000..bf9f75eca7c8
--- /dev/null
+++ b/dev-lang/snobol/snobol-1.4.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+MY_P="${PN}4-${PV}"
+
+DESCRIPTION="Phil Budne's port of Macro SNOBOL4 in C, for modern machines"
+HOMEPAGE="http://www.snobol4.org/csnobol4/"
+SRC_URI="mirror://snobol4/${MY_P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND="
+ sys-devel/gcc
+ sys-devel/m4
+ sys-libs/gdbm[berkdb]
+"
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ sed -e '/autoconf/s:autoconf:./autoconf:g' \
+ -i configure || die 'autoconf sed failed'
+ sed -e 's/$(INSTALL) -s/$(INSTALL)/' \
+ -i Makefile2.m4 || die 'strip sed failed'
+ 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
+
+ # this cannot work and will cause funny sandbox violations
+ sed -i -e 's~/usr/bin/emerge info~~' timing || die "Failed to exorcise the sandbox violations"
+}
+
+src_configure() {
+ ./configure --prefix="${EPREFIX%/}/usr" \
+ --snolibdir="${EPREFIX%/}/usr/lib/snobol4" \
+ --mandir="${EPREFIX%/}/usr/share/man" \
+ --add-cflags="${CFLAGS}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ rm "${ED%/}"/usr/lib/snobol4/{load.txt,README}
+
+ dodoc doc/*txt
+
+ use doc && dohtml doc/*html
+}