Lines 30-36
Link Here
|
30 |
|
30 |
|
31 |
S="${WORKDIR}/${PN}" |
31 |
S="${WORKDIR}/${PN}" |
32 |
|
32 |
|
33 |
SITEFILE="71cm-gentoo.el" |
33 |
SITEFILE=50${PN}-gentoo.el |
34 |
|
34 |
|
35 |
# for easy testing of any implementation |
35 |
# for easy testing of any implementation |
36 |
#FORCEIMPL="guile" |
36 |
#FORCEIMPL="guile" |
Lines 68-74
Link Here
|
68 |
} |
68 |
} |
69 |
|
69 |
|
70 |
src_compile() { |
70 |
src_compile() { |
71 |
use emacs && elisp-comp etc/xemacs/*.el |
71 |
if use emacs; then |
|
|
72 |
elisp-compile etc/xemacs/*.el || die |
73 |
fi |
72 |
|
74 |
|
73 |
einfo "Detected $(is_compiler && echo "compiler" || echo "interpreter"): $(implementation)" |
75 |
einfo "Detected $(is_compiler && echo "compiler" || echo "interpreter"): $(implementation)" |
74 |
|
76 |
|
Lines 102-116
Link Here
|
102 |
use doc && dohtml -r doc/* |
104 |
use doc && dohtml -r doc/* |
103 |
|
105 |
|
104 |
if use emacs; then |
106 |
if use emacs; then |
105 |
elisp-install ${PN} etc/xemacs/*.el |
107 |
elisp-install ${PN} etc/xemacs/*.{el,elc} || die |
106 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
108 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die |
107 |
fi |
109 |
fi |
108 |
} |
110 |
} |
109 |
|
111 |
|
110 |
pkg_postinst() { |
112 |
pkg_postinst() { |
111 |
# make compiled lisp code newer than source files to prevent recompilation |
113 |
# make compiled lisp code newer than source files to prevent recompilation |
112 |
sleep 1 && find ${ROOT}/usr/share/${PN}/bin/ -iname *fasl -exec touch '{}' \; |
114 |
sleep 1 && find ${ROOT}/usr/share/${PN}/bin/ -iname *fasl -exec touch '{}' \; |
113 |
use emacs && elisp-site-regen |
115 |
if use emacs; then |
|
|
116 |
elisp-site-regen |
117 |
elog "To enable cm support in GNU Emacs, add the command" |
118 |
elog "(enable-cm-commands) to your ~/.emacs file." |
119 |
fi |
114 |
} |
120 |
} |
115 |
|
121 |
|
116 |
pkg_postrm() { |
122 |
pkg_postrm() { |