/[gentoo-x86]/app-emacs/prime-el/prime-el-1.5.1.3.ebuild
Gentoo

Diff of /app-emacs/prime-el/prime-el-1.5.1.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.7 Revision 1.8
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
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/app-emacs/prime-el/Attic/prime-el-1.5.1.3.ebuild,v 1.7 2007/10/07 18:50:35 ulm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-emacs/prime-el/Attic/prime-el-1.5.1.3.ebuild,v 1.8 2011/06/02 10:44:52 ulm Exp $
4
5EAPI=4
4 6
5inherit elisp 7inherit elisp
6 8
7MY_P="${P/_p/.}" 9MY_P="${P/_p/.}"
8
9DESCRIPTION="PRIME Client for Emacs" 10DESCRIPTION="PRIME Client for Emacs"
10HOMEPAGE="http://taiyaki.org/prime/" 11HOMEPAGE="http://taiyaki.org/prime/"
11SRC_URI="http://prime.sourceforge.jp/src/${MY_P}.tar.gz" 12SRC_URI="http://prime.sourceforge.jp/src/${MY_P}.tar.gz"
12 13
13LICENSE="GPL-2" 14LICENSE="GPL-2"
14SLOT="0" 15SLOT="0"
15KEYWORDS="alpha ~amd64 ppc ppc64 x86" 16KEYWORDS="alpha ~amd64 ppc ppc64 x86"
16IUSE="" 17IUSE=""
17 18
18S="${WORKDIR}/${MY_P}" 19S="${WORKDIR}/${MY_P}"
20SITEFILE="50${PN}-gentoo.el"
19 21
20DEPEND="app-emacs/apel 22DEPEND="app-emacs/apel
21 app-emacs/mell 23 app-emacs/mell
22 dev-libs/suikyo" 24 dev-libs/suikyo"
23RDEPEND="${DEPEND} 25RDEPEND="${DEPEND}
24 >=app-i18n/prime-0.8.6" 26 >=app-i18n/prime-0.8.6"
25 27
28src_configure() {
29 econf --with-prime-initdir=/usr/share/emacs/site-lisp \
30 --with-prime-docdir=/usr/share/doc/${PF}
31}
32
26src_compile() { 33src_compile() {
27 econf --with-prime-initdir=/usr/share/emacs/site-lisp \ 34 default
28 --with-prime-docdir=usr/share/doc/${PF} \
29 || die
30 emake || die
31} 35}
32 36
33src_install() { 37src_install() {
34 make DESTDIR="${D}" install || die 38 emake DESTDIR="${D}" install install-etc
35 make DESTDIR="${D}" install-etc || die
36 39
37 elisp-site-file-install "${FILESDIR}"/50prime-el-gentoo.el 40 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
38 41
39 dodoc [A-Z][A-Z]* ChangeLog 42 dodoc AUTHORS ChangeLog README
40
41 mv "${D}"/usr/share/doc/${PF}/{emacs,html} 43 mv "${D}"/usr/share/doc/${PF}/{emacs,html} || die
42} 44}

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20