1 |
commit: 779e3469e4c6e41abdefaa60d8aa5d24558ceb5b |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 8 17:35:06 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 8 17:57:42 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=779e3469 |
7 |
|
8 |
dev-lang/ucblogo: bump to EAPI 6, add maintainer-needed |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
dev-lang/ucblogo/metadata.xml | 1 + |
13 |
dev-lang/ucblogo/ucblogo-6.0-r1.ebuild | 57 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 58 insertions(+) |
15 |
|
16 |
diff --git a/dev-lang/ucblogo/metadata.xml b/dev-lang/ucblogo/metadata.xml |
17 |
index 519b50b..869a20f 100644 |
18 |
--- a/dev-lang/ucblogo/metadata.xml |
19 |
+++ b/dev-lang/ucblogo/metadata.xml |
20 |
@@ -1,6 +1,7 @@ |
21 |
<?xml version="1.0" encoding="UTF-8"?> |
22 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
23 |
<pkgmetadata> |
24 |
+<!-- maintainer-needed --> |
25 |
<longdescription> |
26 |
Logo is the educational programming language best known for its "turtle |
27 |
graphics" but also featuring easy and powerful facilities for computing |
28 |
|
29 |
diff --git a/dev-lang/ucblogo/ucblogo-6.0-r1.ebuild b/dev-lang/ucblogo/ucblogo-6.0-r1.ebuild |
30 |
new file mode 100644 |
31 |
index 0000000..4214fe7 |
32 |
--- /dev/null |
33 |
+++ b/dev-lang/ucblogo/ucblogo-6.0-r1.ebuild |
34 |
@@ -0,0 +1,57 @@ |
35 |
+# Copyright 1999-2016 Gentoo Foundation |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+# $Id$ |
38 |
+ |
39 |
+EAPI=6 |
40 |
+ |
41 |
+inherit eutils elisp-common flag-o-matic wxwidgets |
42 |
+ |
43 |
+DESCRIPTION="a reflective, functional programming language" |
44 |
+HOMEPAGE="https://www.cs.berkeley.edu/~bh/logo.html" |
45 |
+SRC_URI="ftp://ftp.cs.berkeley.edu/pub/${PN}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="GPL-2" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+IUSE="X" |
51 |
+ |
52 |
+DEPEND=" |
53 |
+ app-text/texi2html |
54 |
+ dev-libs/libbsd |
55 |
+ virtual/tex-base |
56 |
+ virtual/texi2dvi |
57 |
+ X? ( x11-libs/wxGTK:2.8[X] )" |
58 |
+ |
59 |
+PATCHES=( |
60 |
+ "${FILESDIR}"/${P}-wx.patch |
61 |
+ "${FILESDIR}"/${P}-no-libtermcap.patch |
62 |
+ "${FILESDIR}"/${P}-texi.patch |
63 |
+ "${FILESDIR}"/${P}-destdir.patch |
64 |
+) |
65 |
+ |
66 |
+src_prepare() { |
67 |
+ default |
68 |
+ |
69 |
+ sed -i -e "/math.h/d" coms.c || die |
70 |
+ sed -i -e "/math.h/d" graphics.c || die |
71 |
+ |
72 |
+ WX_GTK_VER=2.8 need-wxwidgets unicode |
73 |
+ sed -i -e "s_/usr/local/bin/wx-config_${WX_CONFIG}_g" configure-gtk || die |
74 |
+ sed -i -e 's_--host=gtk__g' configure-gtk || die |
75 |
+ sed -i -e "s_/lib/logo_/lib/${P}_" makefile.in || die |
76 |
+ sed -i -e "/doc$/s_\$_/${P}_" docs/makefile || die |
77 |
+ |
78 |
+ rm -rf csls/CVS || die |
79 |
+} |
80 |
+ |
81 |
+src_configure() { |
82 |
+ local confsuffix |
83 |
+ |
84 |
+ use X && confsuffix="-gtk" |
85 |
+ "./configure${confsuffix}" --prefix=/usr $(use_with X x) || die |
86 |
+} |
87 |
+ |
88 |
+src_compile() { |
89 |
+ strip-flags |
90 |
+ emake CC="$(tc-getCC)" everything |
91 |
+} |