Gentoo Archives: gentoo-commits

From: "Chí-Thanh Christopher Nguyễn" <chithanh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/dvtm/
Date: Thu, 29 Mar 2018 09:23:38
Message-Id: 1522315397.508a312dd41929cfac5cd243ac6d35aa3e540b3c.chithanh@gentoo
1 commit: 508a312dd41929cfac5cd243ac6d35aa3e540b3c
2 Author: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 29 09:23:17 2018 +0000
4 Commit: Chí-Thanh Christopher Nguyễn <chithanh <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 29 09:23:17 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=508a312d
7
8 app-misc/dvtm: drop obsolete ebuild
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 app-misc/dvtm/dvtm-0.15.ebuild | 67 ------------------------------------------
13 1 file changed, 67 deletions(-)
14
15 diff --git a/app-misc/dvtm/dvtm-0.15.ebuild b/app-misc/dvtm/dvtm-0.15.ebuild
16 deleted file mode 100644
17 index a579a42918d..00000000000
18 --- a/app-misc/dvtm/dvtm-0.15.ebuild
19 +++ /dev/null
20 @@ -1,67 +0,0 @@
21 -# Copyright 1999-2017 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=5
25 -
26 -inherit savedconfig toolchain-funcs
27 -
28 -DESCRIPTION="Dynamic virtual terminal manager"
29 -HOMEPAGE="http://www.brain-dump.org/projects/dvtm/"
30 -
31 -if [[ ${PV} == *9999 ]]; then
32 - inherit git-r3
33 - EGIT_REPO_URI="git://repo.or.cz/dvtm.git"
34 -else
35 - SRC_URI="http://www.brain-dump.org/projects/${PN}/${P}.tar.gz"
36 - KEYWORDS="~amd64 ~arm ~x86"
37 -fi
38 -
39 -LICENSE="MIT"
40 -SLOT="0"
41 -IUSE="unicode"
42 -
43 -DEPEND="sys-libs/ncurses:0=[unicode?]"
44 -RDEPEND=${DEPEND}
45 -
46 -src_prepare() {
47 - sed -i \
48 - -e 's|FLAGS =|FLAGS +=|' \
49 - -e 's|-I/usr/local/include||' \
50 - -e 's|-L/usr/local/lib||' \
51 - -e 's|-Os||' \
52 - config.mk || die "sed config.mk failed"
53 - use unicode || {
54 - sed -i \
55 - -e 's|-lncursesw|-lncurses|' \
56 - config.mk || die "sed config.mk failed"
57 - }
58 - sed -i \
59 - -e '/strip/d' \
60 - -e 's:@tic :@tic -o ${DESTDIR}${PREFIX}/share/terminfo :g' \
61 - Makefile || die "sed Makefile failed"
62 -
63 - restore_config config.h
64 -}
65 -
66 -src_compile() {
67 - local msg=""
68 - use savedconfig && msg=", please check the configfile"
69 - emake CC=$(tc-getCC) ${PN} || die "emake failed${msg}"
70 -}
71 -
72 -src_install() {
73 - emake DESTDIR="${D}" PREFIX="/usr" install
74 -
75 - insinto /usr/share/${PN}
76 - newins config.h ${PF}.config.h
77 -
78 - dodoc README.md
79 -
80 - save_config config.h
81 -}
82 -
83 -pkg_postinst() {
84 - elog "This ebuild has support for user defined configs"
85 - elog "Please read this ebuild for more details and re-emerge as needed"
86 - elog "if you want to add or remove functionality for ${PN}"
87 -}