/[gentoo-x86]/app-editors/jed/jed-0.99.19.ebuild
Gentoo

Contents of /app-editors/jed/jed-0.99.19.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Mon Sep 29 20:02:56 2014 UTC (5 years, 9 months ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +7 -8 lines
Fix LICENSE, clean up unused dependencies.

(Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key 9433907D693FB5B8!)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-editors/jed/jed-0.99.19.ebuild,v 1.9 2013/05/10 15:57:02 maekke Exp $
4
5 EAPI=4
6
7 inherit versionator
8
9 MY_P=${PN}-$(replace_version_separator 2 '-')
10
11 DESCRIPTION="Console S-Lang-based editor"
12 HOMEPAGE="http://www.jedsoft.org/jed/"
13 SRC_URI="ftp://space.mit.edu/pub/davis/jed/v${PV%.*}/${MY_P}.tar.bz2"
14
15 LICENSE="GPL-2+"
16 SLOT="0"
17 KEYWORDS="~alpha amd64 ~arm ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x86-macos"
18 IUSE="X gpm xft"
19
20 RDEPEND=">=sys-libs/slang-2
21 gpm? ( sys-libs/gpm )
22 X? (
23 x11-libs/libX11
24 xft? (
25 >=media-libs/freetype-2
26 x11-libs/libXft
27 )
28 )"
29 DEPEND="${RDEPEND}
30 X? (
31 x11-libs/libXt
32 x11-proto/xproto
33 )"
34
35 S=${WORKDIR}/${MY_P}
36
37 src_configure() {
38 export JED_ROOT="${EPREFIX}"/usr/share/jed
39 econf \
40 $(use_enable gpm) \
41 $(use_enable xft)
42 }
43
44 src_compile() {
45 emake
46 use X && emake xjed
47 }
48
49 src_install() {
50 emake -j1 DESTDIR="${D}" install
51
52 dodoc changes.txt INSTALL{,.unx} README
53 doinfo info/jed*
54
55 insinto /etc
56 doins lib/jed.conf
57
58 # replace IDE mode with EMACS mode
59 sed -i \
60 -e 's/\(_Jed_Default_Emulation = \).*/\1"emacs";/' \
61 "${ED}"/etc/jed.conf || die
62 }

  ViewVC Help
Powered by ViewVC 1.1.20