You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.3 KiB
54 lines
1.3 KiB
5 years ago
|
# Copyright 1999-2019 Gentoo Authors
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
5 years ago
|
EAPI=7
|
||
13 years ago
|
|
||
8 years ago
|
inherit elisp autotools readme.gentoo-r1
|
||
13 years ago
|
|
||
|
DESCRIPTION="emacs-w3m is an interface program of w3m on Emacs"
|
||
12 years ago
|
HOMEPAGE="http://emacs-w3m.namazu.org/"
|
||
8 years ago
|
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
|
||
13 years ago
|
|
||
12 years ago
|
LICENSE="GPL-2+"
|
||
13 years ago
|
SLOT="0"
|
||
|
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||
5 years ago
|
IUSE="gzip-el l10n_ja"
|
||
13 years ago
|
|
||
5 years ago
|
RDEPEND="virtual/w3m"
|
||
|
BDEPEND="${RDEPEND}"
|
||
13 years ago
|
|
||
|
S="${WORKDIR}/${PN}"
|
||
|
SITEFILE="70${PN}-gentoo.el"
|
||
|
|
||
|
src_prepare() {
|
||
8 years ago
|
mv configure.{in,ac} || die
|
||
|
sed -i -e '/^configure:/,+2d' Makefile.in || die
|
||
|
eapply_user
|
||
13 years ago
|
eautoreconf
|
||
|
}
|
||
|
|
||
|
src_configure() {
|
||
5 years ago
|
econf --without-compress-install
|
||
13 years ago
|
}
|
||
|
|
||
|
src_compile() {
|
||
8 years ago
|
emake all-en $(use l10n_ja && echo all-ja)
|
||
13 years ago
|
}
|
||
|
|
||
|
src_install() {
|
||
|
emake lispdir="${ED}${SITELISP}/${PN}" \
|
||
5 years ago
|
COMPRESS_INSTALL=$(usex gzip-el) \
|
||
|
install-lisp
|
||
|
emake infodir="${ED}/usr/share/info" \
|
||
13 years ago
|
ICONDIR="${ED}${SITEETC}/${PN}" \
|
||
5 years ago
|
install-info-en $(use l10n_ja && echo install-info-ja) install-icons
|
||
13 years ago
|
|
||
5 years ago
|
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||
13 years ago
|
dodoc ChangeLog* NEWS README
|
||
8 years ago
|
use l10n_ja && dodoc BUGS.ja NEWS.ja README.ja
|
||
13 years ago
|
|
||
8 years ago
|
DOC_CONTENTS="If you want to use the shimbun library, please emerge
|
||
|
app-emacs/apel and app-emacs/flim."
|
||
|
readme.gentoo_create_doc
|
||
13 years ago
|
}
|