summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2007-06-15 08:59:35 +0000
committerUlrich Müller <ulm@gentoo.org>2007-06-15 08:59:35 +0000
commite6b43f4f695cd129a68a39eb8ea633c03ea59d4a (patch)
tree1baca659ad422556330b70452960540c709161ef /app-editors/uemacs-pk/uemacs-pk-4.0.18.ebuild
parentInitial import. (diff)
downloadgentoo-2-e6b43f4f695cd129a68a39eb8ea633c03ea59d4a.tar.gz
gentoo-2-e6b43f4f695cd129a68a39eb8ea633c03ea59d4a.tar.bz2
gentoo-2-e6b43f4f695cd129a68a39eb8ea633c03ea59d4a.zip
Initial import.
(Portage version: 2.1.2.9)
Diffstat (limited to 'app-editors/uemacs-pk/uemacs-pk-4.0.18.ebuild')
-rw-r--r--app-editors/uemacs-pk/uemacs-pk-4.0.18.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/app-editors/uemacs-pk/uemacs-pk-4.0.18.ebuild b/app-editors/uemacs-pk/uemacs-pk-4.0.18.ebuild
new file mode 100644
index 000000000000..9fadf0f8545c
--- /dev/null
+++ b/app-editors/uemacs-pk/uemacs-pk-4.0.18.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/uemacs-pk/uemacs-pk-4.0.18.ebuild,v 1.1 2007/06/15 08:59:35 ulm Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="uEmacs/PK is an enhanced version of MicroEMACS"
+HOMEPAGE="ftp://ftp.cs.helsinki.fi/pub/Software/Local/uEmacs-PK"
+SRC_URI="ftp://ftp.cs.helsinki.fi/pub/Software/Local/uEmacs-PK/em-${PV}.tar.gz"
+
+LICENSE="free-noncomm"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="sys-libs/ncurses"
+RDEPEND="${DEPEND}"
+PROVIDE="virtual/editor"
+
+S="${WORKDIR}/em-${PV}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ newbin emacs uemacs
+ insinto /usr/share/${PN}
+ doins emacs.hlp
+ newins emacs.rc .emacsrc
+ dodoc readme readme.39e emacs.ps || die "dodoc failed"
+}