From f1af93971b7490792d8541bc790e0d8c6d787059 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 6 Sep 2019 10:28:05 +0100 Subject: gentoo resync : 06.08.2019 --- app-editors/teco/teco-1.00-r4.ebuild | 65 ------------------------------------ 1 file changed, 65 deletions(-) delete mode 100644 app-editors/teco/teco-1.00-r4.ebuild (limited to 'app-editors/teco/teco-1.00-r4.ebuild') diff --git a/app-editors/teco/teco-1.00-r4.ebuild b/app-editors/teco/teco-1.00-r4.ebuild deleted file mode 100644 index 5973b0b3eeda..000000000000 --- a/app-editors/teco/teco-1.00-r4.ebuild +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils toolchain-funcs flag-o-matic readme.gentoo - -DESCRIPTION="Classic TECO editor, Predecessor to EMACS" -HOMEPAGE="http://www.ibiblio.org/pub/linux/apps/editors/tty/ http://www.ibiblio.org/pub/academic/computer-science/history/pdp-11/teco" -SRC_URI="http://www.ibiblio.org/pub/linux/apps/editors/tty/teco.tar.gz - doc? ( mirror://gentoo/tecolore.txt.gz - mirror://gentoo/tech.txt.gz - mirror://gentoo/teco.doc.gz - mirror://gentoo/tecoprog.doc.gz )" - -LICENSE="freedist" -SLOT="0" -KEYWORDS="alpha amd64 ~ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" -IUSE="doc" - -RDEPEND="sys-libs/ncurses:0=" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -S="${WORKDIR}" - -src_unpack() { - unpack teco.tar.gz - if use doc; then - mkdir doc - cd doc || die - unpack tecolore.txt.gz tech.txt.gz teco.doc.gz tecoprog.doc.gz - fi -} - -src_prepare() { - local pkg_config=$("$(tc-getPKG_CONFIG)" --libs ncurses) - sed -i -e "s:\$(CC):& \$(LDFLAGS):;s:-ltermcap:${pkg_config}:" \ - Makefile || die - # bug 103257 - epatch "${FILESDIR}"/${PN}-double-free.diff - epatch "${FILESDIR}"/${PN}-gcc4.patch - epatch "${FILESDIR}"/${PN}-warnings.patch -} - -src_compile() { - append-flags -ansi - append-cppflags -D_POSIX_SOURCE - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" -} - -src_install() { - dobin te - doman te.1 - dodoc sample.tecorc sample.tecorc2 READ.ME MANIFEST - if use doc; then - cd doc - dodoc tecolore.txt tech.txt teco.doc tecoprog.doc - fi - - DOC_CONTENTS="The TECO binary is called te. - \nSample configurations and documentation are available - in /usr/share/doc/${PF}/." - readme.gentoo_create_doc -} -- cgit v1.2.3