/[gentoo-x86]/app-editors/uemacs-pk/uemacs-pk-4.0.15_p20120526.ebuild
Gentoo

Contents of /app-editors/uemacs-pk/uemacs-pk-4.0.15_p20120526.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sun Mar 2 21:40:04 2014 UTC (9 months, 2 weeks ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Update SRC_URI. Remove old.

(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 9433907D693FB5B8!)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-editors/uemacs-pk/uemacs-pk-4.0.15_p20120526.ebuild,v 1.5 2013/02/28 17:34:52 ulm Exp $
4
5 EAPI=4
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="uEmacs/PK is an enhanced version of MicroEMACS"
10 HOMEPAGE="http://git.kernel.org/?p=editors/uemacs/uemacs.git;a=summary
11 ftp://ftp.cs.helsinki.fi/pub/Software/Local/uEmacs-PK"
12 # snapshot from git repo
13 SRC_URI="mirror://gentoo/uemacs-${PV}.tar.bz2"
14
15 LICENSE="free-noncomm"
16 SLOT="0"
17 KEYWORDS="amd64 x86 ~x86-fbsd"
18 IUSE=""
19
20 RDEPEND="sys-libs/ncurses"
21 DEPEND="${RDEPEND}
22 virtual/pkgconfig"
23
24 S="${WORKDIR}/uemacs"
25
26 src_prepare() {
27 epatch "${FILESDIR}"/${PN}-4.0.15_p20110825-gentoo.patch
28 }
29
30 src_compile() {
31 emake V=1 \
32 CC="$(tc-getCC)" \
33 CFLAGS="${CFLAGS}" \
34 LDFLAGS="${LDFLAGS}" \
35 LIBS="$("$(tc-getPKG_CONFIG)" --libs ncurses)"
36 }
37
38 src_install() {
39 dobin em
40 insinto /usr/share/${PN}
41 doins emacs.hlp
42 newins emacs.rc .emacsrc
43 dodoc README readme.39e emacs.ps UTF-8-demo.txt
44 }
45
46 pkg_postinst() {
47 einfo "If you are upgrading from version 4.0.18, please note that the"
48 einfo "executable is now installed as \"em\" instead of \"uemacs\"."
49 }

  ViewVC Help
Powered by ViewVC 1.1.20