diff options
Diffstat (limited to 'dev-lang/blassic')
-rw-r--r-- | dev-lang/blassic/Manifest | 1 | ||||
-rw-r--r-- | dev-lang/blassic/blassic-0.10.2.ebuild | 33 | ||||
-rw-r--r-- | dev-lang/blassic/files/blassic-0.10.2-tinfo.patch | 12 | ||||
-rw-r--r-- | dev-lang/blassic/metadata.xml | 14 |
4 files changed, 60 insertions, 0 deletions
diff --git a/dev-lang/blassic/Manifest b/dev-lang/blassic/Manifest new file mode 100644 index 000000000000..382955a9885d --- /dev/null +++ b/dev-lang/blassic/Manifest @@ -0,0 +1 @@ +DIST blassic-0.10.2.tgz 361603 SHA256 b0ef334d5c1c710643f1dd11e651ce091e7059aa5e9895b547dfa86c3638bdfa SHA512 20f7210fd42ff58e11d7238aee37c21f18b733faf11edeb1d1a3e78c8fb524e37f0c871a2ab6b6608daaf593c4b4e8da4e2f86cddb8ad5e23905b0ce081feffa WHIRLPOOL ba571518104e319c47a341654f241e0b53ece0b614f200a824440fd0e67795a375d4f1703ccaa42ac8c85572c0ee6b0d3c980379094bc836fc4d866e2678cf1a diff --git a/dev-lang/blassic/blassic-0.10.2.ebuild b/dev-lang/blassic/blassic-0.10.2.ebuild new file mode 100644 index 000000000000..bb82254467ac --- /dev/null +++ b/dev-lang/blassic/blassic-0.10.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils + +DESCRIPTION="classic Basic interpreter" +HOMEPAGE="http://blassic.org" +SRC_URI="http://blassic.org/bin/${P}.tgz" + +LICENSE="GPL-2" +KEYWORDS="amd64 hppa ppc x86 ~x86-linux ~ppc-macos ~x86-macos" +SLOT="0" +IUSE="X" + +RDEPEND="sys-libs/ncurses + X? ( x11-libs/libICE x11-libs/libX11 x11-libs/libSM )" +DEPEND="${RDEPEND} + X? ( x11-proto/xproto )" + +src_prepare() { + epatch "${FILESDIR}"/${P}-tinfo.patch + eautoreconf +} + +src_configure() { + econf \ + --disable-svgalib \ + $(use_with X x) +} + +DOCS=( AUTHORS NEWS README THANKS TODO ) diff --git a/dev-lang/blassic/files/blassic-0.10.2-tinfo.patch b/dev-lang/blassic/files/blassic-0.10.2-tinfo.patch new file mode 100644 index 000000000000..3253532a6bc2 --- /dev/null +++ b/dev-lang/blassic/files/blassic-0.10.2-tinfo.patch @@ -0,0 +1,12 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -191,7 +191,8 @@ + AC_CHECK_HEADERS([ncurses.h],,[ncurses_found=no]) + if test "$ncurses_found" = yes + then +- AC_CHECK_LIB([ncurses],[tputs],,[ncurses_found=no]) ++ AC_CHECK_LIB([tinfo],[tputs],, ++ AC_CHECK_LIB([ncurses],[tputs],,[ncurses_found=no])) + if test "$ncurses_found" = yes + then + AC_DEFINE(BLASSIC_CONFIG_USE_NCURSES) diff --git a/dev-lang/blassic/metadata.xml b/dev-lang/blassic/metadata.xml new file mode 100644 index 000000000000..6e8b0800bd5e --- /dev/null +++ b/dev-lang/blassic/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>mr_bones_@gentoo.org</email> + <name>Michael Sterrett</name> +</maintainer> +<longdescription> +Blassic is a classic Basic interpreter. The line numbers are mandatory, +and it has PEEK & POKE. The main goal is to execute programs written in +old interpreters, but it can be used as a scripting language. Many examples +are included in /usr/share/blassic/examples/. +</longdescription> +</pkgmetadata> |