Lines 17-22
Link Here
|
17 |
emacs? ( virtual/emacs )" |
17 |
emacs? ( virtual/emacs )" |
18 |
DEPEND="${RDEPEND} |
18 |
DEPEND="${RDEPEND} |
19 |
dev-util/pkgconfig" |
19 |
dev-util/pkgconfig" |
|
|
20 |
SITEFILE=50${PN}-gentoo.el |
20 |
|
21 |
|
21 |
src_unpack() { |
22 |
src_unpack() { |
22 |
unpack ${A} |
23 |
unpack ${A} |
Lines 36-44
Link Here
|
36 |
emake DESTDIR="${D}" install || die "emake install failed." |
37 |
emake DESTDIR="${D}" install || die "emake install failed." |
37 |
|
38 |
|
38 |
if use emacs; then |
39 |
if use emacs; then |
39 |
insinto "${SITELISP}" |
40 |
elisp-install ${PN} misc/*.el misc/*.elc || die "elisp-install failed" |
40 |
doins misc/desktop-entry-mode.el* |
41 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
41 |
elisp-site-file-install misc/desktop-entry-mode.el |
|
|
42 |
fi |
42 |
fi |
43 |
|
43 |
|
44 |
dodoc AUTHORS ChangeLog NEWS README |
44 |
dodoc AUTHORS ChangeLog NEWS README |
Lines 48-50
Link Here
|
48 |
pkg_postinst() { |
48 |
pkg_postinst() { |
49 |
use emacs && elisp-site-regen |
49 |
use emacs && elisp-site-regen |
50 |
} |
50 |
} |
|
|
51 |
|
52 |
pkg_postrm() { |
53 |
use emacs && elisp-site-regen |
54 |
} |