1 |
commit: ea48b4b5613b35d0f144b2b6f30dfaabd19a3739 |
2 |
Author: Chema Alonso Josa <nimiux <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 7 09:03:46 2017 +0000 |
4 |
Commit: José María Alonso <nimiux <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 7 09:03:46 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/lisp.git/commit/?id=ea48b4b5 |
7 |
|
8 |
dev-lisp/mcclim: Updates to common-lisp-3 eclass |
9 |
|
10 |
dev-lisp/mcclim/mcclim-0.9.6-r3.ebuild | 25 +++++++++++++++---------- |
11 |
1 file changed, 15 insertions(+), 10 deletions(-) |
12 |
|
13 |
diff --git a/dev-lisp/mcclim/mcclim-0.9.6-r3.ebuild b/dev-lisp/mcclim/mcclim-0.9.6-r3.ebuild |
14 |
index 79d97f14..3c66a9e7 100644 |
15 |
--- a/dev-lisp/mcclim/mcclim-0.9.6-r3.ebuild |
16 |
+++ b/dev-lisp/mcclim/mcclim-0.9.6-r3.ebuild |
17 |
@@ -1,8 +1,9 @@ |
18 |
-# Copyright 1999-2016 Gentoo Foundation |
19 |
+# Copyright 1999-2017 Gentoo Foundation |
20 |
# Distributed under the terms of the GNU General Public License v2 |
21 |
-# $Id$ |
22 |
|
23 |
-inherit common-lisp-2 elisp-common eutils |
24 |
+EAPI=6 |
25 |
+ |
26 |
+inherit common-lisp-3 elisp-common eutils |
27 |
|
28 |
DESCRIPTION="McCLIM is a free software implementation of CLIM." |
29 |
HOMEPAGE="http://common-lisp.net/project/mcclim |
30 |
@@ -42,27 +43,31 @@ ELISP_SOURCES="Tools/Emacs/indent-clim.el Tools/Emacs/hyperclim.el" |
31 |
|
32 |
src_unpack() { |
33 |
unpack ${A} && cd "${S}" |
34 |
- epatch "${FILESDIR}"/${PV}-mcclim.asd-cmucl.patch |
35 |
+} |
36 |
+ |
37 |
+src_prepare() { |
38 |
+ eapply "${FILESDIR}"/${PV}-mcclim.asd-cmucl.patch |
39 |
+ eapply_user |
40 |
} |
41 |
|
42 |
src_compile() { |
43 |
if use emacs ; then |
44 |
- mv ${ELISP_SOURCES} . |
45 |
+ mv ${ELISP_SOURCES} . || die |
46 |
rm -rf Tools/Emacs |
47 |
elisp-compile *.el |
48 |
fi |
49 |
if use doc ; then |
50 |
- cd Spec/src |
51 |
+ cd Spec/src || die |
52 |
VARTEXFONTS="${T}"/fonts \ |
53 |
texi2pdf clim.tex -o clim.pdf || die "Cannot build PDF docs" |
54 |
fi |
55 |
} |
56 |
|
57 |
src_install() { |
58 |
- common-lisp-install *.{lisp,asd} Apps Backends Drei \ |
59 |
- ESA Examples Experimental Extensions Goatee \ |
60 |
- Images Lisp-Dep Looks Tests Tools |
61 |
- common-lisp-symlink-asdf |
62 |
+ common-lisp-install-sources *.lisp Apps Backends Drei ESA Examples \ |
63 |
+ Experimental Extensions Goatee Images \ |
64 |
+ Lisp-Dep Looks Tests Tools |
65 |
+ common-lisp-install-asdf |
66 |
if use emacs; then |
67 |
elisp-install ${PN} *.el{,c} |
68 |
elisp-site-file-install ${SITEFILE} |