Lines 2-8
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ucblogo/ucblogo-5.5.ebuild,v 1.7 2007/07/22 08:37:29 graaff Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ucblogo/ucblogo-5.5.ebuild,v 1.7 2007/07/22 08:37:29 graaff Exp $ |
4 |
|
4 |
|
5 |
inherit eutils |
5 |
inherit eutils elisp-common |
6 |
|
6 |
|
7 |
DESCRIPTION="a reflective, functional programming language" |
7 |
DESCRIPTION="a reflective, functional programming language" |
8 |
HOMEPAGE="http://www.cs.berkeley.edu/~bh/logo.html" |
8 |
HOMEPAGE="http://www.cs.berkeley.edu/~bh/logo.html" |
Lines 16-21
Link Here
|
16 |
DEPEND="emacs? ( virtual/emacs ) |
16 |
DEPEND="emacs? ( virtual/emacs ) |
17 |
X? ( x11-libs/libICE x11-libs/libSM x11-libs/libX11 )" |
17 |
X? ( x11-libs/libICE x11-libs/libSM x11-libs/libX11 )" |
18 |
|
18 |
|
|
|
19 |
SITEFILE=50${PN}-gentoo.el |
20 |
|
19 |
src_unpack() { |
21 |
src_unpack() { |
20 |
unpack ${A} |
22 |
unpack ${A} |
21 |
cd "${S}" |
23 |
cd "${S}" |
Lines 33-37
Link Here
|
33 |
|
35 |
|
34 |
src_install() { |
36 |
src_install() { |
35 |
make install DESTDIR="${D}" || die |
37 |
make install DESTDIR="${D}" || die |
|
|
38 |
use emacs && elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
36 |
dodoc README |
39 |
dodoc README |
37 |
} |
40 |
} |
|
|
41 |
|
42 |
pkg_postinst() { |
43 |
use emacs && elisp-site-regen |
44 |
} |
45 |
|
46 |
pkg_postrm() { |
47 |
use emacs && elisp-site-regen |
48 |
} |