Gentoo Archives: gentoo-commits

From: "Maciej Barć" <xgqt@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/lisp:master commit in: dev-scheme/mit-scheme-c/
Date: Tue, 05 Jul 2022 17:54:43
Message-Id: 1657043650.28340ac57d9586b81361d9814b80e49e794832db.xgqt@gentoo
1 commit: 28340ac57d9586b81361d9814b80e49e794832db
2 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 5 17:54:10 2022 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 5 17:54:10 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/lisp.git/commit/?id=28340ac5
7
8 dev-scheme/mit-scheme-c: drop - moved to ::gentoo as dev-scheme/mit-scheme
9
10 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
11
12 dev-scheme/mit-scheme-c/metadata.xml | 11 ---
13 dev-scheme/mit-scheme-c/mit-scheme-c-9.2.ebuild | 109 ------------------------
14 2 files changed, 120 deletions(-)
15
16 diff --git a/dev-scheme/mit-scheme-c/metadata.xml b/dev-scheme/mit-scheme-c/metadata.xml
17 deleted file mode 100644
18 index e699f5dd..00000000
19 --- a/dev-scheme/mit-scheme-c/metadata.xml
20 +++ /dev/null
21 @@ -1,11 +0,0 @@
22 -<?xml version="1.0" encoding="UTF-8"?>
23 -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
24 -
25 -<pkgmetadata>
26 - <longdescription lang="en">
27 - MIT/GNU Scheme is an implementation of the Scheme programming language,
28 - providing an interpreter, compiler, source-code debugger, integrated
29 - Emacs-like editor, and a large runtime library. MIT/GNU Scheme is best
30 - suited to programming large applications with a rapid development cycle.
31 - </longdescription>
32 -</pkgmetadata>
33
34 diff --git a/dev-scheme/mit-scheme-c/mit-scheme-c-9.2.ebuild b/dev-scheme/mit-scheme-c/mit-scheme-c-9.2.ebuild
35 deleted file mode 100644
36 index abbbbb33..00000000
37 --- a/dev-scheme/mit-scheme-c/mit-scheme-c-9.2.ebuild
38 +++ /dev/null
39 @@ -1,109 +0,0 @@
40 -# Copyright 1999-2022 Gentoo Authors
41 -# Distributed under the terms of the GNU General Public License v2
42 -
43 -EAPI=8
44 -
45 -# inherit multilib flag-o-matic #elisp-common
46 -
47 -DESCRIPTION="GNU/MIT-Scheme"
48 -HOMEPAGE="http://www.swiss.ai.mit.edu/projects/scheme/"
49 -SRC_URI="mirror://gnu/mit-scheme/stable.pkg/${PV}/${P}.tar.gz"
50 -
51 -LICENSE="GPL-2"
52 -SLOT="0"
53 -KEYWORDS="~amd64 ~x86"
54 -IUSE="doc" # emacs"
55 -
56 -#SITEFILE="50mitscheme-gentoo.el"
57 -
58 -RDEPEND="
59 - app-crypt/mhash
60 - dev-db/postgresql
61 - dev-libs/libmcrypt
62 - dev-libs/openssl
63 - sys-libs/gdbm
64 - sys-libs/ncurses
65 - x11-libs/libX11
66 -"
67 -DEPEND="${RDEPEND}"
68 -BDEPEND="doc? ( dev-texlive/texlive-latexextra )"
69 -
70 -src_prepare() {
71 - default
72 -
73 - sed "s:@for:@+for:" -i \
74 - Makefile || die "sed failed"
75 - sed "s:make:make -j1:" -i \
76 - src/etc/make-in-subdirs.sh || die "sed failed"
77 - sed "s:CFLAGS=\"\${CFLAGS} -O3\":CFLAGS=\"${CFLAGS}\":" -i \
78 - {src/lib/include,src/microcode}/configure{,.ac} || die "sed failed"
79 -}
80 -
81 -src_configure() {
82 - if use doc ; then
83 - cd "${S}"/doc
84 - econf
85 - fi
86 -}
87 -
88 -src_compile() {
89 - cd "${S}"/src || die
90 -
91 - ./etc/make-liarc.sh \
92 - --prefix=/usr --exec-prefix=/usr --libdir=/usr/$(get_libdir) ||
93 - die "making liar C failed"
94 -
95 -# if use emacs ; then
96 -# elisp-compile "${S}"/etc/*.el || die
97 -# fi
98 -
99 - use doc && emake -C "${S}"/doc -j1
100 -}
101 -
102 -src_install() {
103 - emake -C "${S}"/src DESTDIR="${D}" install || die "make install failed"
104 -
105 - # elisp
106 -
107 - cd "${S}"/doc
108 -
109 - doman scheme.1 || die "doman failed"
110 -
111 - if use doc ; then
112 - docinto html
113 - dodoc index.html || die "dhtml failed"
114 - doinfo ref-manual/mit-scheme-ref.info* || die "doinfo failed"
115 - dodoc ref-manual/mit-scheme-ref.{pdf,ps} || die "dodoc failed"
116 - doinfo user-manual/mit-scheme-user.info || die "doinfo failed"
117 - dodoc user-manual/mit-scheme-user.{pdf,ps} || die "dodoc failed"
118 - doinfo sos/mit-scheme-sos.info || die "doinfo failed"
119 - dodoc sos/mit-scheme-sos.{pdf,ps} || die "dodoc failed"
120 - doinfo imail/mit-scheme-imail.info || die "doinfo failed"
121 - dodoc imail/mit-scheme-imail.{pdf,ps} || die "dodoc failed"
122 -
123 - cd ref-manual
124 - docinto html
125 - dodoc -r mit-scheme-ref || die "dhtml failed"
126 -
127 - cd ../user-manual
128 - docinto html
129 - dodoc -r mit-scheme-user || die "dhtml failed"
130 -
131 - cd ../sos
132 - docinto html
133 - dodoc -r mit-scheme-sos || die "dhtml failed"
134 -
135 - cd ../imail
136 - docinto html
137 - dodoc -r mit-scheme-imail || die "dhtml failed"
138 - cd ../
139 - fi
140 -}
141 -
142 -#pkg_postinst() {
143 -# use emacs && elisp-site-regen
144 -#}
145 -
146 -#pkg_postrm() {
147 -# use emacs && elisp-site-regen
148 -#}