summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin English <wizardedit@gentoo.org>2016-07-08 12:35:06 -0500
committerAustin English <wizardedit@gentoo.org>2016-07-08 12:57:42 -0500
commit779e3469e4c6e41abdefaa60d8aa5d24558ceb5b (patch)
tree3416e2e48bb92b0b6deadf3f45a280fabd2026a8 /dev-lang/ucblogo
parentdev-libs/libxdiff: bump to EAPI 6, add maintainer-needed (diff)
downloadgentoo-779e3469e4c6e41abdefaa60d8aa5d24558ceb5b.tar.gz
gentoo-779e3469e4c6e41abdefaa60d8aa5d24558ceb5b.tar.bz2
gentoo-779e3469e4c6e41abdefaa60d8aa5d24558ceb5b.zip
dev-lang/ucblogo: bump to EAPI 6, add maintainer-needed
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-lang/ucblogo')
-rw-r--r--dev-lang/ucblogo/metadata.xml1
-rw-r--r--dev-lang/ucblogo/ucblogo-6.0-r1.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-lang/ucblogo/metadata.xml b/dev-lang/ucblogo/metadata.xml
index 519b50b992e1..869a20f1c1f7 100644
--- a/dev-lang/ucblogo/metadata.xml
+++ b/dev-lang/ucblogo/metadata.xml
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+<!-- maintainer-needed -->
<longdescription>
Logo is the educational programming language best known for its "turtle
graphics" but also featuring easy and powerful facilities for computing
diff --git a/dev-lang/ucblogo/ucblogo-6.0-r1.ebuild b/dev-lang/ucblogo/ucblogo-6.0-r1.ebuild
new file mode 100644
index 000000000000..4214fe73d91e
--- /dev/null
+++ b/dev-lang/ucblogo/ucblogo-6.0-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils elisp-common flag-o-matic wxwidgets
+
+DESCRIPTION="a reflective, functional programming language"
+HOMEPAGE="https://www.cs.berkeley.edu/~bh/logo.html"
+SRC_URI="ftp://ftp.cs.berkeley.edu/pub/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="X"
+
+DEPEND="
+ app-text/texi2html
+ dev-libs/libbsd
+ virtual/tex-base
+ virtual/texi2dvi
+ X? ( x11-libs/wxGTK:2.8[X] )"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-wx.patch
+ "${FILESDIR}"/${P}-no-libtermcap.patch
+ "${FILESDIR}"/${P}-texi.patch
+ "${FILESDIR}"/${P}-destdir.patch
+)
+
+src_prepare() {
+ default
+
+ sed -i -e "/math.h/d" coms.c || die
+ sed -i -e "/math.h/d" graphics.c || die
+
+ WX_GTK_VER=2.8 need-wxwidgets unicode
+ sed -i -e "s_/usr/local/bin/wx-config_${WX_CONFIG}_g" configure-gtk || die
+ sed -i -e 's_--host=gtk__g' configure-gtk || die
+ sed -i -e "s_/lib/logo_/lib/${P}_" makefile.in || die
+ sed -i -e "/doc$/s_\$_/${P}_" docs/makefile || die
+
+ rm -rf csls/CVS || die
+}
+
+src_configure() {
+ local confsuffix
+
+ use X && confsuffix="-gtk"
+ "./configure${confsuffix}" --prefix=/usr $(use_with X x) || die
+}
+
+src_compile() {
+ strip-flags
+ emake CC="$(tc-getCC)" everything
+}