From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 641701382F6 for ; Fri, 8 Jul 2016 17:58:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C7A7021C063; Fri, 8 Jul 2016 17:58:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A7EE121C06C for ; Fri, 8 Jul 2016 17:58:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DDECE340F6C for ; Fri, 8 Jul 2016 17:58:20 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BCF3E2454 for ; Fri, 8 Jul 2016 17:58:15 +0000 (UTC) From: "Austin English" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Austin English" Message-ID: <1468000662.779e3469e4c6e41abdefaa60d8aa5d24558ceb5b.wizardedit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/ucblogo/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/ucblogo/metadata.xml dev-lang/ucblogo/ucblogo-6.0-r1.ebuild X-VCS-Directories: dev-lang/ucblogo/ X-VCS-Committer: wizardedit X-VCS-Committer-Name: Austin English X-VCS-Revision: 779e3469e4c6e41abdefaa60d8aa5d24558ceb5b X-VCS-Branch: master Date: Fri, 8 Jul 2016 17:58:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5be339d3-7ca1-4fd9-8f13-6e2e8b3ca79b X-Archives-Hash: 49ecb4d29bf50019e15ac713b4a2a097 commit: 779e3469e4c6e41abdefaa60d8aa5d24558ceb5b Author: Austin English gentoo org> AuthorDate: Fri Jul 8 17:35:06 2016 +0000 Commit: Austin English gentoo org> CommitDate: Fri Jul 8 17:57:42 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=779e3469 dev-lang/ucblogo: bump to EAPI 6, add maintainer-needed Package-Manager: portage-2.2.28 dev-lang/ucblogo/metadata.xml | 1 + dev-lang/ucblogo/ucblogo-6.0-r1.ebuild | 57 ++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/dev-lang/ucblogo/metadata.xml b/dev-lang/ucblogo/metadata.xml index 519b50b..869a20f 100644 --- a/dev-lang/ucblogo/metadata.xml +++ b/dev-lang/ucblogo/metadata.xml @@ -1,6 +1,7 @@ + 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 0000000..4214fe7 --- /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 +}