Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-nntp/xrn/
Date: Mon, 02 Apr 2018 00:01:50
Message-Id: 1522627291.65a6f686043606e1955c44038912412a324b72b1.mattst88@gentoo
1 commit: 65a6f686043606e1955c44038912412a324b72b1
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 2 00:01:28 2018 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 2 00:01:31 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65a6f686
7
8 net-nntp/xrn: Drop old
9
10 Closes: https://bugs.gentoo.org/649126
11
12 net-nntp/xrn/xrn-9.02.ebuild | 69 --------------------------------------------
13 1 file changed, 69 deletions(-)
14
15 diff --git a/net-nntp/xrn/xrn-9.02.ebuild b/net-nntp/xrn/xrn-9.02.ebuild
16 deleted file mode 100644
17 index 9c87e2febf4..00000000000
18 --- a/net-nntp/xrn/xrn-9.02.ebuild
19 +++ /dev/null
20 @@ -1,69 +0,0 @@
21 -# Copyright 1999-2014 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -DESCRIPTION="A small and fast news reader for X"
25 -HOMEPAGE="http://www.mit.edu/people/jik/software/xrn.html"
26 -SRC_URI="ftp://sipb.mit.edu/pub/${PN}/${P}.tgz"
27 -LICENSE="BSD"
28 -SLOT="0"
29 -
30 -KEYWORDS="x86"
31 -IUSE=""
32 -
33 -RDEPEND="x11-libs/libICE
34 - x11-libs/libSM
35 - x11-libs/libX11
36 - x11-libs/libXaw
37 - x11-libs/libXext
38 - x11-libs/libXmu
39 - x11-libs/libXp
40 - x11-libs/libXpm
41 - x11-libs/libXt"
42 -DEPEND="${RDEPEND}
43 - x11-misc/imake
44 - >=sys-apps/sed-4"
45 -
46 -src_compile() {
47 - # English is the default language, but french and german are also
48 - # supported, however only one language may be supported at a time:
49 - local lingua
50 - for lingua in ${LINGUAS} en ; do
51 - case "${lingua}" in
52 - en*)
53 - MY_LANG="english"
54 - break # Breaks the for loop.
55 - ;;
56 - fr*)
57 - MY_LANG="french"
58 - break # Breaks the for loop.
59 - ;;
60 - de*)
61 - MY_LANG="german"
62 - break # Breaks the for loop.
63 - ;;
64 - esac
65 - done
66 -
67 - # Bugs to Gentoo bugzilla:
68 - sed -i \
69 - -e "s,bug-xrn@×××××××××××××××××××.us,https://bugs.gentoo.org/," \
70 - -e "s,\(#ifndef CONFIG_H_IS_OK\),#define CONFIG_H_IS_OK\n\1," \
71 - config.h
72 -
73 - # Generate Makefile:
74 - xmkmf || die "xmkmf failed"
75 -
76 - # Use our own CFLAGS and our desired language:
77 - emake -j1 CDEBUGFLAGS="${CFLAGS}" LANGUAGE="${MY_LANG}" || die "emake failed"
78 -}
79 -
80 -src_install() {
81 - dobin xrn || die "dobin failed"
82 - dodoc README README.Linux TODO CREDITS COMMON-PROBLMS || die "dodoc failed"
83 -
84 - # Default settings:
85 - insinto /etc/X11/app-defaults
86 - newins XRn.ad XRn
87 -
88 - newman xrn.man xrn.1
89 -}