blob: 1619dd810d9f40d44143ea1078907408393229f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-editors/teco/teco-1.00.ebuild,v 1.2 2003/05/16 16:21:29 taviso Exp $
# "Real mans editor" quote from package's lsm ;)
DESCRIPTION="Classic TECO editor, Predecessor to EMACS. Real mans editor."
HOMEPAGE="http://www.ibiblio.org/pub/linux/apps/editors/tty/"
SRC_URI="http://www.ibiblio.org/pub/linux/apps/editors/tty/teco.tar.gz"
LICENSE="freedist"
SLOT="0"
KEYWORDS="~alpha ~x86"
IUSE=""
DEPEND="virtual/glibc
sys-libs/libtermcap-compat
>=sys-apps/sed-4"
RDEPEND="virtual/glibc
sys-libs/libtermcap-compat"
S=${WORKDIR}
src_compile() {
sed -i 's/CFLAGS = -O//' Makefile
emake || die "compilation failed"
}
src_install() {
insinto /usr/bin
dobin te
dodoc sample.tecorc sample.tecorc2 READ.ME MANIFEST
doman te.1
}
pkg_postinst() {
einfo "The TECO binary is called te."
einfo "Sample configurations are available in /usr/share/doc/"
}
|