Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/pdmenu/
Date: Mon, 26 Dec 2016 00:31:06
Message-Id: 1482712182.5cd6b4ba39ea43200c4a5fdadf4be7404d25dc51.monsieurp@gentoo
1 commit: 5cd6b4ba39ea43200c4a5fdadf4be7404d25dc51
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 26 00:13:09 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 26 00:29:42 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cd6b4ba
7
8 app-shells/pdmenu: clean up old.
9
10 Package-Manager: portage-2.3.0
11
12 app-shells/pdmenu/pdmenu-1.3.4.ebuild | 59 -----------------------------------
13 1 file changed, 59 deletions(-)
14
15 diff --git a/app-shells/pdmenu/pdmenu-1.3.4.ebuild b/app-shells/pdmenu/pdmenu-1.3.4.ebuild
16 deleted file mode 100644
17 index bce67fc..00000000
18 --- a/app-shells/pdmenu/pdmenu-1.3.4.ebuild
19 +++ /dev/null
20 @@ -1,59 +0,0 @@
21 -# Copyright 1999-2015 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -# $Id$
24 -
25 -EAPI=5
26 -
27 -inherit eutils toolchain-funcs
28 -
29 -DESCRIPTION="A simple console menu program"
30 -HOMEPAGE="http://joeyh.name/code/pdmenu/"
31 -SRC_URI="mirror://debian/pool/main/p/${PN}/pdmenu_${PV}.tar.gz"
32 -
33 -LICENSE="GPL-2"
34 -SLOT="0"
35 -KEYWORDS="amd64 mips x86"
36 -IUSE="nls gpm examples"
37 -
38 -DEPEND="
39 - sys-libs/slang
40 - gpm? ( sys-libs/gpm )
41 - nls? ( sys-devel/gettext )"
42 -
43 -S=${WORKDIR}/${PN}
44 -
45 -RESTRICT="test"
46 -
47 -src_prepare() {
48 - epatch "${FILESDIR}"/${PN}-impl-dec.patch
49 - sed \
50 - -e 's:\(-o pdmenu\):$(LDFLAGS) \1:g' \
51 - -i Makefile || die
52 -}
53 -
54 -src_configure() {
55 - CC=$(tc-getCC) econf \
56 - $(use_with gpm) \
57 - $(use_enable nls)
58 -}
59 -
60 -src_compile() {
61 - emake CC=$(tc-getCC) || die
62 -}
63 -
64 -src_install() {
65 - dobin "${PN}"
66 - dodoc doc/ANNOUNCE doc/BUGS doc/TODO
67 - use examples && dodoc -r examples
68 - mv "doc/${PN}.man" "doc/${PN}.1" || die
69 - mv "doc/${PN}rc.man" "doc/${PN}rc.5" || die
70 - doman "doc/${PN}.1" "doc/${PN}rc.5"
71 -
72 -}
73 -
74 -pkg_postinst() {
75 - ewarn "Note this part from man page: Security warning! Any exec command"
76 - ewarn "that uses the 'edit' flag will be a security hole. The user need"
77 - ewarn "only to enter text with a ';' in it, and they can run an"
78 - ewarn "arbitrary command after the semicolon!"
79 -}