summaryrefslogtreecommitdiff
path: root/www-client/w3mmee
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-04-28 09:54:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-04-28 09:54:45 +0100
commitb7ebc951da8800f711142f69d9d958bde67a112d (patch)
treee318514216845acb8f2e49fff7a5cba4027e9d91 /www-client/w3mmee
parentdc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff)
gentoo resync : 28.04.2019
Diffstat (limited to 'www-client/w3mmee')
-rw-r--r--www-client/w3mmee/Manifest1
-rw-r--r--www-client/w3mmee/w3mmee-0.3.2_p24-r12.ebuild155
2 files changed, 156 insertions, 0 deletions
diff --git a/www-client/w3mmee/Manifest b/www-client/w3mmee/Manifest
index c5d98d0a7b72..7af75e4b73db 100644
--- a/www-client/w3mmee/Manifest
+++ b/www-client/w3mmee/Manifest
@@ -10,4 +10,5 @@ DIST w3mmee-p24-22.tar.gz 690094 BLAKE2B 9b779122a10f606fab8cfe9e3ffde7473f60ee6
DIST w3mmee-p24-23.tar.gz 697342 BLAKE2B cdfd5752a29ee486ccb4cb174ac68aa2b93c818a088e28a8938ef308030b4baac69645e5adcf86361297f79b2473de483917f523bdd0cda0f6d0d93cc0755534 SHA512 fa74b9124e0790461ea7936411f89265c8a367326bf1bba7a5ea5f4abf748197e0926847f9860ec8d35e97f0e53bcdc69821fdd9d741fc8b18b5e11211aa3271
EBUILD w3mmee-0.3.2_p24-r10.ebuild 3831 BLAKE2B 7fc6f1094f012938a8d69f95bedcb03636247fca6b22526dc530e272b21e6845c75e3f4eed9e72ff6353d8a982bc70d5ab41daeb70b9e128a9e59a86a0f4b884 SHA512 7a622fa47ccab3f458424da26374ec12493494b12ed61e2e9fde3f128e97e693f3b5a2446b15fdae9f7f7ff62a6e3e15b6ae71744ecc619a5f416c68123c01b5
EBUILD w3mmee-0.3.2_p24-r11.ebuild 3834 BLAKE2B cd439d7e32a103a4ee7dd119cc909f8d00e219641b71f7464050f389e07f19739113c5d16bf7d6d6137234eb107496d22d3e237941ea4eed86ca1fc7fbeed49b SHA512 ca639a7d84a2764f6dd3a33b5ce5b753a68f0f8da068b6640b368c7cd3a4911c8f6b0832077dc050bcadeece30cc2a606b7ae5e1b2622a2966dc3200cc820e31
+EBUILD w3mmee-0.3.2_p24-r12.ebuild 3642 BLAKE2B f8f0aaa05fa3989ead7b0b47f872cdb2375b5b8e323cc7c1526ec8c6ebbecf2b1fac74da5f6c97f2318081ac0278da277fc10335fa14f69165cc6ac455e66738 SHA512 927eefb8857454ffe7bdcd2309d109ad80d431f5978853ae90cb824fc873856c9b061c257aca51efd840b4eae7bb821885c87b8848b08fb500d96c7e84b1e948
MISC metadata.xml 234 BLAKE2B 8615ff091e2c6b2c5d9d4246dbec2ed0c5161ce154a59f492bc640a1428de7847757b68a8d926cae4bf78905d2aeeda10cb4cb0db9bf6870d38e811556299520 SHA512 16ea852f76297335e7ef70c8019fe09d46c0455922c049ba6e92696232e957955fd671d467ebdd0bf7837d39a26083d5be2a6f8abeba53807f0b8c5b97f2e441
diff --git a/www-client/w3mmee/w3mmee-0.3.2_p24-r12.ebuild b/www-client/w3mmee/w3mmee-0.3.2_p24-r12.ebuild
new file mode 100644
index 000000000000..839f8427a0f0
--- /dev/null
+++ b/www-client/w3mmee/w3mmee-0.3.2_p24-r12.ebuild
@@ -0,0 +1,155 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit alternatives multilib toolchain-funcs
+
+MY_PV="${PV##*_}-23"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="A variant of w3m with support for multiple character encodings"
+HOMEPAGE="http://pub.ks-and-ks.ne.jp/prog/w3mmee/"
+SRC_URI="http://pub.ks-and-ks.ne.jp/prog/pub/${MY_P}.tar.gz"
+
+SLOT="0"
+LICENSE="w3m"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="gpm libressl nls ssl"
+
+DEPEND=">=dev-libs/boehm-gc-7.2
+ dev-libs/libmoe
+ dev-lang/perl
+ sys-libs/ncurses:0=
+ sys-libs/zlib
+ gpm? ( sys-libs/gpm )
+ nls? ( sys-devel/gettext )
+ ssl? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ )"
+RDEPEND="${DEPEND}"
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-boehm-gc.patch
+ "${FILESDIR}"/${PN}-gcc-4.4.patch
+ "${FILESDIR}"/${PN}-gcc-4.5.patch
+ "${FILESDIR}"/${PN}-glibc-2.14.patch
+ "${FILESDIR}"/${PN}-rc_name.patch
+ "${FILESDIR}"/${PN}-time.patch
+ "${FILESDIR}"/${PN}-tinfo.patch
+ "${FILESDIR}"/${PN}-w3mman.patch
+)
+DOCS=( ChangeLog NEWS{,.mee} README )
+HTML_DOCS=( 00INCOMPATIBLE.html )
+
+src_prepare() {
+ default
+
+ sed -i "s:/lib\([^a-z$]\):/$(get_libdir)\1:g" configure
+ sed -i "/^AR=/s:ar:$(tc-getAR):" XMakefile
+}
+
+src_configure() {
+ local myconf=(
+ -locale_dir=$(usex nls "${EPREFIX}/usr/share/locale" '(NONE)')
+ )
+ local myuse=(
+ display_code=E
+ system_code=E
+ use_ansi_color=y
+ use_cookie=y
+ use_history=y
+ use_mouse=$(usex gpm y n)
+ )
+
+ if use ssl; then
+ myconf+=(
+ --ssl-includedir="${EPREFIX}/usr/include/openssl"
+ --ssl-libdir="${EPREFIX}/usr/$(get_libdir)"
+ )
+ myuse+=(
+ use_digest_auth=y
+ use_ssl=y
+ use_ssl_verify=y
+ )
+ else
+ myuse+=( use_ssl=n )
+ fi
+ # Obsolete imlib-1 disabled, bug #678910
+ myuse+=( use_image=n )
+
+ cat <<-EOF >> config.param
+ lang=MANY
+ accept_lang=en
+ EOF
+
+ env CC=$(tc-getCC) "${myuse[@]}" ./configure \
+ -nonstop \
+ -prefix="${EPREFIX}/usr" \
+ -suffix=mee \
+ -auxbindir="${EPREFIX}/usr/$(get_libdir)/${PN}" \
+ -libdir="${EPREFIX}/usr/$(get_libdir)/${PN}/cgi-bin" \
+ -helpdir="${EPREFIX}/usr/share/${PN}" \
+ -mandir="${EPREFIX}/usr/share/man" \
+ -sysconfdir="${EPREFIX}/etc/${PN}" \
+ -model=custom \
+ -libmoe="${EPREFIX}/usr/$(get_libdir)" \
+ -mb_h="${EPREFIX}/usr/include/moe" \
+ -mk_btri="${EPREFIX}/usr/libexec/moe" \
+ -cflags="${CFLAGS}" \
+ -ldflags="${LDFLAGS}" \
+ "${myconf[@]}" \
+ || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ einstalldocs
+
+ # w3mman and manpages conflict with those from w3m
+ mv "${ED}"/usr/share/man/man1/w3m{,mee}.1 || die
+ mv "${ED}"/usr/share/man/ja/man1/w3m{,mee}.1 || die
+
+ docinto html/en
+ dodoc doc/*.html
+ rm -f doc/*.html
+ docinto en
+ dodoc doc/{HISTORY,README,keymap,menu}*
+
+ docinto html/ja
+ dodoc doc-jp/*.html
+ rm -f doc-jp/*.html
+ docinto ja
+ dodoc doc-jp/{HISTORY,README,keymap,menu}*
+}
+
+pkg_postinst() {
+ w3m_alternatives
+ einfo
+ einfo "If you want to render multilingual text, please refer to"
+ einfo "/usr/share/doc/${PF}/en/README.mee or"
+ einfo "/usr/share/doc/${PF}/jp/README.mee"
+ einfo "and set W3MLANG variable respectively."
+ einfo
+}
+
+pkg_postrm() {
+ w3m_alternatives
+}
+
+w3m_alternatives() {
+ if [[ ! -f /usr/bin/w3m ]]; then
+ alternatives_makesym /usr/bin/w3m \
+ /usr/bin/w3m{m17n,mee}
+ alternatives_makesym /usr/bin/w3mman \
+ /usr/bin/w3m{man-m17n,meeman}
+ alternatives_makesym /usr/share/man/ja/man1/w3m.1.gz \
+ /usr/share/man/ja/man1/w3m{m17n,mee}.1.gz
+ alternatives_makesym /usr/share/man/man1/w3m.1.gz \
+ /usr/share/man/man1/w3m{m17n,mee}.1.gz
+ alternatives_makesym /usr/share/man/man1/w3mman.1.gz \
+ /usr/share/man/man1/w3m{man-m17n,meeman}.1.gz
+ fi
+}