/[gentoo-x86]/app-emacs/emhacks/emhacks-20070920.ebuild
Gentoo

Contents of /app-emacs/emhacks/emhacks-20070920.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Aug 27 07:32:44 2008 UTC (6 years, 2 months ago) by ulm
Branch: MAIN
Changes since 1.1: +1 -2 lines
Do not set EMACSFLAGS since the value is now the eclass default.
(Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 i686)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-emacs/emhacks/emhacks-20070920.ebuild,v 1.1 2008/03/23 02:21:53 ulm Exp $
4
5 inherit elisp
6
7 DESCRIPTION="Useful Emacs Lisp libraries, including gdiff, jjar, jmaker, swbuff, and tabbar"
8 HOMEPAGE="http://emhacks.sourceforge.net/"
9 # CVS snapshot
10 SRC_URI="mirror://gentoo/${P}.tar.bz2"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~x86"
15 IUSE="jde"
16
17 DEPEND="jde? ( app-emacs/jde )"
18 RDEPEND="${DEPEND}"
19
20 SITEFILE=50${PN}-gentoo.el
21
22 src_unpack() {
23 unpack ${A}
24 cd "${S}"
25 # remove files included in Emacs>=22 or not useful on GNU/Linux
26 rm -r findstr* overlay-fix* recentf* ruler-mode* tree-widget*
27 # this requires jde and cedet, not everyone may want it
28 use jde || rm jsee.el
29 }
30
31 src_install() {
32 elisp-install ${PN} *.el *.elc || die "elisp-install failed"
33
34 cp "${FILESDIR}/${SITEFILE}" "${T}"
35 use jde || sed -i -e '/;; jsee/,$d' "${T}/${SITEFILE}"
36 elisp-site-file-install "${T}/${SITEFILE}" \
37 || die "elisp-site-file-install failed"
38
39 dodoc Changelog || die "dodoc failed"
40 }

  ViewVC Help
Powered by ViewVC 1.1.20