Lines 29-34
Link Here
|
29 |
$python_rdep" |
29 |
$python_rdep" |
30 |
|
30 |
|
31 |
PYTHON_MODNAME="bzrlib" |
31 |
PYTHON_MODNAME="bzrlib" |
|
|
32 |
SITEFILE=71${PN}-gentoo.el |
32 |
|
33 |
|
33 |
DOCS="doc/*.txt" |
34 |
DOCS="doc/*.txt" |
34 |
|
35 |
|
Lines 58-66
Link Here
|
58 |
docinto user-reference |
59 |
docinto user-reference |
59 |
dodoc doc/en/user-reference/* |
60 |
dodoc doc/en/user-reference/* |
60 |
if use emacs; then |
61 |
if use emacs; then |
61 |
insinto "${SITELISP}" |
62 |
elisp-install ${PN} contrib/emacs/*.el* || die "elisp-install failed" |
62 |
doins contrib/emacs/bzr-mode.el* |
63 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die "elisp-site-file-install failed" |
63 |
elisp-site-file-install "${FILESDIR}/70bzr-gentoo.el" |
64 |
# don't add automatically to the load-path, so the sitefile |
|
|
65 |
# can do a conditional loading |
66 |
touch "${D}${SITELISP}/${PN}/.nosearch" |
64 |
fi |
67 |
fi |
65 |
insinto /usr/share/zsh/site-functions |
68 |
insinto /usr/share/zsh/site-functions |
66 |
doins contrib/zsh/_bzr |
69 |
doins contrib/zsh/_bzr |
Lines 69-76
Link Here
|
69 |
|
72 |
|
70 |
pkg_postinst() { |
73 |
pkg_postinst() { |
71 |
distutils_pkg_postinst |
74 |
distutils_pkg_postinst |
72 |
use emacs && elisp-site-regen |
|
|
73 |
bash-completion_pkg_postinst |
75 |
bash-completion_pkg_postinst |
|
|
76 |
if use emacs; then |
77 |
elisp-site-regen |
78 |
elog "If you are using a GNU Emacs version greater than 22.1, bzr support" |
79 |
elog "is already included. This ebuild does not automatically activate bzr support" |
80 |
elog "in versions below, but prepares it in a way you can load it from your ~/.emacs" |
81 |
elog "file by adding" |
82 |
elog " (load \"bzr-mode\")" |
83 |
fi |
74 |
} |
84 |
} |
75 |
|
85 |
|
76 |
pkg_postrm() { |
86 |
pkg_postrm() { |