Lines 2-9
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-python/bicyclerepair/bicyclerepair-0.9.ebuild,v 1.1 2005/02/12 10:50:48 kloeri Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/bicyclerepair/bicyclerepair-0.9.ebuild,v 1.1 2005/02/12 10:50:48 kloeri Exp $ |
4 |
|
4 |
|
5 |
inherit distutils |
5 |
inherit distutils elisp-common |
6 |
mydoc="NEWS DESIGN" |
|
|
7 |
|
6 |
|
8 |
|
7 |
|
9 |
DESCRIPTION="Bicycle Repair Man is the Python Refactoring Browser," |
8 |
DESCRIPTION="Bicycle Repair Man is the Python Refactoring Browser," |
Lines 11-25
Link Here
|
11 |
SRC_URI="mirror://sourceforge/bicyclerepair/${P}.tar.gz" |
10 |
SRC_URI="mirror://sourceforge/bicyclerepair/${P}.tar.gz" |
12 |
LICENSE="as-is" |
11 |
LICENSE="as-is" |
13 |
SLOT="0" |
12 |
SLOT="0" |
14 |
KEYWORDS="~x86 ~ppc" |
13 |
KEYWORDS="~x86 ~ppc ~ppc-macos" |
15 |
IUSE="" |
14 |
IUSE="emacs" |
16 |
DEPEND="virtual/python" |
15 |
DEPEND=" |
|
|
16 |
>=virtual/python-2.2 |
17 |
emacs? ( |
18 |
app-emacs/pymacs |
19 |
>=app-emacs/python-mode-4.70 |
20 |
)" |
21 |
|
22 |
SITEFILE="50bicyclerepair-gentoo.el" |
23 |
|
24 |
mydoc="README* NEWS" |
25 |
|
17 |
|
26 |
|
18 |
src_install() { |
27 |
src_install() { |
19 |
distutils_src_install |
28 |
distutils_src_install |
|
|
29 |
if use emacs ; then |
30 |
elisp-site-file-install ${FILESDIR}/${SITEFILE} |
31 |
fi |
20 |
insinto /usr/share/${PN} |
32 |
insinto /usr/share/${PN} |
21 |
doins ide-integration/bike.el |
33 |
doins ide-integration/bike.vim |
22 |
rm -f ${D}/usr/bin/bikeemacs.bat |
|
|
23 |
} |
34 |
} |
24 |
|
35 |
|
25 |
pkg_postinst() { |
36 |
pkg_postinst() { |
Lines 36-43
Link Here
|
36 |
einfo "BicycleRepairMan won't integrate with IDLE included in Python 2.3*" |
47 |
einfo "BicycleRepairMan won't integrate with IDLE included in Python 2.3*" |
37 |
fi |
48 |
fi |
38 |
einfo " " |
49 |
einfo " " |
39 |
einfo "To use bicyclerepair with Xemacs or GNU Emacs you must be in Python" |
50 |
einfo "To use bicyclerepair with vim, copy" |
40 |
einfo "mode and add this to your .emacs or .init.el:" |
51 |
einfo "/usr/share/bicyclerepair/bike.vim to your ~/.vim/plugin/ directory." |
41 |
einfo "(load-library '/usr/share/bicyclerepair/bike.el')" |
52 |
einfo " " |
42 |
} |
53 |
} |
43 |
|
54 |
|