1 |
commit: 114c28c81c87315c6a7b5567c41633ed5c5ab671 |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 6 13:14:22 2019 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 6 13:14:22 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=114c28c8 |
7 |
|
8 |
www-client/w3mmee: drop old |
9 |
|
10 |
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
www-client/w3mmee/w3mmee-0.3.2_p24-r7.ebuild | 157 --------------------------- |
14 |
1 file changed, 157 deletions(-) |
15 |
|
16 |
diff --git a/www-client/w3mmee/w3mmee-0.3.2_p24-r7.ebuild b/www-client/w3mmee/w3mmee-0.3.2_p24-r7.ebuild |
17 |
deleted file mode 100644 |
18 |
index 1e8125a3e72..00000000000 |
19 |
--- a/www-client/w3mmee/w3mmee-0.3.2_p24-r7.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,157 +0,0 @@ |
22 |
-# Copyright 1999-2018 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=0 |
26 |
- |
27 |
-inherit alternatives eutils multilib toolchain-funcs |
28 |
- |
29 |
-MY_PV="${PV##*_}-22" |
30 |
-MY_P="${PN}-${MY_PV}" |
31 |
- |
32 |
-DESCRIPTION="A variant of w3m with support for multiple character encodings" |
33 |
-HOMEPAGE="http://pub.ks-and-ks.ne.jp/prog/w3mmee/" |
34 |
-SRC_URI="http://pub.ks-and-ks.ne.jp/prog/pub/${MY_P}.tar.gz" |
35 |
- |
36 |
-SLOT="0" |
37 |
-LICENSE="public-domain" |
38 |
-KEYWORDS="amd64 ppc x86" |
39 |
-IUSE="gpm imlib nls ssl xface" |
40 |
- |
41 |
-DEPEND=">=dev-libs/boehm-gc-7.2 |
42 |
- >=dev-libs/libmoe-1.5.3 |
43 |
- dev-lang/perl |
44 |
- >=sys-libs/ncurses-5.2-r3 |
45 |
- >=sys-libs/zlib-1.1.3-r2 |
46 |
- imlib? ( |
47 |
- >=media-libs/imlib-1.9.8 |
48 |
- xface? ( media-libs/compface ) |
49 |
- ) |
50 |
- gpm? ( >=sys-libs/gpm-1.19.3-r5 ) |
51 |
- nls? ( sys-devel/gettext ) |
52 |
- ssl? ( >=dev-libs/openssl-0.9.6b )" |
53 |
-RDEPEND="${DEPEND}" |
54 |
-S="${WORKDIR}/${MY_P}" |
55 |
- |
56 |
-src_unpack() { |
57 |
- unpack ${A} |
58 |
- cd "${S}" |
59 |
- epatch "${FILESDIR}"/${PN}-boehm-gc.patch |
60 |
- epatch "${FILESDIR}"/${PN}-gcc-4.4.patch |
61 |
- epatch "${FILESDIR}"/${PN}-gcc-4.5.patch |
62 |
- epatch "${FILESDIR}"/${PN}-glibc-2.14.patch |
63 |
- epatch "${FILESDIR}"/${PN}-rc_name.patch |
64 |
- epatch "${FILESDIR}"/${PN}-time.patch |
65 |
- epatch "${FILESDIR}"/${PN}-tinfo.patch |
66 |
- epatch "${FILESDIR}"/${PN}-w3mman.patch |
67 |
- sed -i "/^AR=/s:ar:$(tc-getAR):" XMakefile || die |
68 |
-} |
69 |
- |
70 |
-src_compile() { |
71 |
- local myconf myuse |
72 |
- myuse="use_cookie=y use_ansi_color=y use_history=y |
73 |
- display_code=E system_code=E" |
74 |
- |
75 |
- if use ssl; then |
76 |
- myconf="${myconf} --ssl-includedir=/usr/include/openssl |
77 |
- --ssl-libdir=/usr/$(get_libdir)" |
78 |
- myuse="${myuse} use_ssl=y use_ssl_verify=y use_digest_auth=y" |
79 |
- else |
80 |
- myuse="${myuse} use_ssl=n" |
81 |
- fi |
82 |
- |
83 |
- if use gpm; then |
84 |
- myuse="${myuse} use_mouse=y" |
85 |
- else |
86 |
- myuse="${myuse} use_mouse=n" |
87 |
- fi |
88 |
- |
89 |
- if use nls; then |
90 |
- myconf="${myconf} -locale_dir=/usr/share/locale" |
91 |
- else |
92 |
- myconf="${myconf} -locale_dir='(NONE)'" |
93 |
- fi |
94 |
- |
95 |
- if use imlib; then |
96 |
- myuse="${myuse} use_image=y use_w3mimg_x11=y |
97 |
- use_w3mimg_fb=n w3mimgdisplay_setuid=n" |
98 |
- if use xface; then |
99 |
- myuse="${myuse} use_xface=y" |
100 |
- else |
101 |
- myuse="${myuse} use_xface=n" |
102 |
- fi |
103 |
- else |
104 |
- myuse="${myuse} use_image=n" |
105 |
- fi |
106 |
- |
107 |
- cat <<-EOF >> config.param |
108 |
- lang=MANY |
109 |
- accept_lang=en |
110 |
- EOF |
111 |
- |
112 |
- env CC=$(tc-getCC) ${myuse} ./configure \ |
113 |
- -nonstop \ |
114 |
- -prefix=/usr \ |
115 |
- -suffix=mee \ |
116 |
- -auxbindir=/usr/$(get_libdir)/${PN} \ |
117 |
- -libdir=/usr/$(get_libdir)/${PN}/cgi-bin \ |
118 |
- -helpdir=/usr/share/${PN} \ |
119 |
- -mandir=/usr/share/man \ |
120 |
- -sysconfdir=/etc/${PN} \ |
121 |
- -model=custom \ |
122 |
- -libmoe=/usr/$(get_libdir) \ |
123 |
- -mb_h=/usr/include/moe \ |
124 |
- -mk_btri=/usr/libexec/moe \ |
125 |
- -cflags="${CFLAGS}" \ |
126 |
- -ldflags="${LDFLAGS}" \ |
127 |
- ${myconf} \ |
128 |
- || die |
129 |
- |
130 |
- emake || die "emake failed" |
131 |
-} |
132 |
- |
133 |
-src_install() { |
134 |
- emake DESTDIR="${D}" install || die |
135 |
- dodoc ChangeLog NEWS* README |
136 |
- dohtml 00INCOMPATIBLE.html |
137 |
- |
138 |
- # w3mman and manpages conflict with those from w3m |
139 |
- mv "${D}"/usr/share/man/man1/w3m{,mee}.1 || die |
140 |
- mv "${D}"/usr/share/man/ja/man1/w3m{,mee}.1 || die |
141 |
- |
142 |
- docinto en |
143 |
- dodoc doc/{HISTORY,README,keymap,menu}* |
144 |
- dohtml doc/* |
145 |
- |
146 |
- docinto jp |
147 |
- dodoc doc-jp/{HISTORY,README,keymap,menu}* |
148 |
- dohtml doc-jp/* |
149 |
-} |
150 |
- |
151 |
-pkg_postinst() { |
152 |
- w3m_alternatives |
153 |
- einfo |
154 |
- einfo "If you want to render multilingual text, please refer to" |
155 |
- einfo "/usr/share/doc/${PF}/en/README.mee or" |
156 |
- einfo "/usr/share/doc/${PF}/jp/README.mee" |
157 |
- einfo "and set W3MLANG variable respectively." |
158 |
- einfo |
159 |
-} |
160 |
- |
161 |
-pkg_postrm() { |
162 |
- w3m_alternatives |
163 |
-} |
164 |
- |
165 |
-w3m_alternatives() { |
166 |
- if [[ ! -f /usr/bin/w3m ]]; then |
167 |
- alternatives_makesym /usr/bin/w3m \ |
168 |
- /usr/bin/w3m{m17n,mee} |
169 |
- alternatives_makesym /usr/bin/w3mman \ |
170 |
- /usr/bin/w3m{man-m17n,meeman} |
171 |
- alternatives_makesym /usr/share/man/ja/man1/w3m.1.gz \ |
172 |
- /usr/share/man/ja/man1/w3m{m17n,mee}.1.gz |
173 |
- alternatives_makesym /usr/share/man/man1/w3m.1.gz \ |
174 |
- /usr/share/man/man1/w3m{m17n,mee}.1.gz |
175 |
- alternatives_makesym /usr/share/man/man1/w3mman.1.gz \ |
176 |
- /usr/share/man/man1/w3m{man-m17n,meeman}.1.gz |
177 |
- fi |
178 |
-} |