diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-lang/snobol | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-lang/snobol')
-rw-r--r-- | dev-lang/snobol/Manifest | 5 | ||||
-rw-r--r-- | dev-lang/snobol/metadata.xml | 8 | ||||
-rw-r--r-- | dev-lang/snobol/snobol-1.1.ebuild | 59 | ||||
-rw-r--r-- | dev-lang/snobol/snobol-1.4.1.ebuild | 52 |
4 files changed, 124 insertions, 0 deletions
diff --git a/dev-lang/snobol/Manifest b/dev-lang/snobol/Manifest new file mode 100644 index 000000000000..bd0263fe3968 --- /dev/null +++ b/dev-lang/snobol/Manifest @@ -0,0 +1,5 @@ +DIST snobol4-1.1.tar.gz 677333 BLAKE2B a6ccecaa66657438b2c05dfca9f7db95270b4d1a3502ad06c8d217d50d54ac33b0195eb8b2e045ac0b6c49c19a5bf3ee46e4a35b45555d67fc669317c7a5db2b SHA512 ae8482bc64f3d9020dc4d7e390296114e7498ef2764ebb69b6c4960d0c1b01daf4d77dff1aa583231a7f50d4c54f7f72cedc3e4744b03f4b2370fa6de837a3cc +DIST snobol4-1.4.1.tar.gz 736837 BLAKE2B bb86d2cd3788ad66b7246d86ebd9f289189f5bd059238d2df3fb621aa4a1e910a8ad029f482077eb78916a84c3a28d868e8ac6eef83b48d7f09a8964c57a855d SHA512 5413af10018141e93f05c9ea637711bb3981f2b67557691d05dde8911178d90900f0fdef6c1d2416ebdda6afeeabd21b9e371b6711b2d093df629cc865fc61f9 +EBUILD snobol-1.1.ebuild 1418 BLAKE2B 23431276ddfcb476dafca64bfe424f1be1d5571467e022bc1a7071e6178e60479f083d6377070e4c0b4bde181615d435d71c2ad843b34926879476b3fb947e8a SHA512 f0ca27dd442231cb15fa95ea8d43ac0937afa8715defd4f6506de072b9a3a0ae74ffa3af8ddac7beebb6612775479a90f80fc045824a273e8b011ec57df8ca54 +EBUILD snobol-1.4.1.ebuild 1286 BLAKE2B 7476a992fb502c100f60ee90b1842223dc789e98ae8b2b30ba02f84b94e79b9f61325ec1f90ca5dc3aaca669e153a02f154029ea6d66a8a6952f39025ef4dd25 SHA512 f7da5f8ada4660b6d746cae936d959d26a0170d01a7791ffc68b3522ebd410eaa22aec5d20fee457726ffc4b11bba391d25ffb447558c0f5dbaa11708f632bac +MISC metadata.xml 268 BLAKE2B 914b6995ad966e2b83ec718b2598969b181c119d8805241b0046f69e161ac22a9f769204f4783240056804008475aa406cbd91b9de499ec7840f9595158bd291 SHA512 ffda1db3fd6ac952f41a970e2e496c6a9fd0b12ed11cdf363fd269c3b00f627c6e70421fd545aad61d69594af2e5f43d8ebc197232a39b596d012818fe758850 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-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 +} |