forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: Portage-2.3.40, Repoman-2.3.9
- Loading branch information
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DIST emacs-w3m-1.4.528_pre20140213.tar.xz 751532 BLAKE2B 14527b80ed3938f2685a98cf37633a9ba046b070d94dffd7c8082d65c09dfca4a63114aff55d0bfe85853d8623db55dd63db3e7d10142871287312281fa4ef59 SHA512 f4ccb41f2011354c091c9b07b2ab596f030a6b2e8ef2ef674db75c93e5bfe7347b8b3602283e169e7fd591c44b222482d1a399880c60176fc55a5e77ed728483 | ||
DIST emacs-w3m-1.4.570_pre20170203.tar.xz 765108 BLAKE2B 75568e543719a25863ee943293f1a6ca4fff8b5af19a39d910efe5a8bfa7f311ef3620c34a6fcfe23e231e33d61c9ba5a03cf39b23155982079a0cf28471a341 SHA512 d1940679055d7ad74b7c417dc9e56061524f5afdf758075139e279c2df325af10eae334a6b83d40d39857237396da04744f19c293ffb8adb2e579c32ed118b52 | ||
DIST emacs-w3m-1.4.625_pre20180518.tar.xz 788404 BLAKE2B f621071c8657cab848789d359d492e5bee0fe401af48871fa54298571d87192de7186b1ea92fd3d64e6f1713fd12e5750b49b7e54c94e8d3b455d614ef0d0683 SHA512 f60317024f6dca23699510c21f185c162a5b3f0be551c681ce69b3b46e6fc7860e875fa6fc46a0bfafd8e5e6aaa9f1b29af0e0731685fbca2ce2b636eca7ad93 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Copyright 1999-2017 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=6 | ||
|
||
inherit elisp autotools readme.gentoo-r1 | ||
|
||
DESCRIPTION="emacs-w3m is an interface program of w3m on Emacs" | ||
HOMEPAGE="http://emacs-w3m.namazu.org/" | ||
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz" | ||
|
||
LICENSE="GPL-2+" | ||
SLOT="0" | ||
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" | ||
IUSE="l10n_ja" | ||
|
||
DEPEND="virtual/w3m" | ||
RDEPEND="${DEPEND}" | ||
|
||
S="${WORKDIR}/${PN}" | ||
SITEFILE="70${PN}-gentoo.el" | ||
|
||
src_prepare() { | ||
mv configure.{in,ac} || die | ||
sed -i -e '/^configure:/,+2d' Makefile.in || die | ||
eapply_user | ||
eautoreconf | ||
} | ||
|
||
src_configure() { | ||
default | ||
} | ||
|
||
src_compile() { | ||
emake all-en $(use l10n_ja && echo all-ja) | ||
} | ||
|
||
src_install() { | ||
emake lispdir="${ED}${SITELISP}/${PN}" \ | ||
infodir="${ED}/usr/share/info" \ | ||
ICONDIR="${ED}${SITEETC}/${PN}" \ | ||
install-en $(use l10n_ja && echo install-ja) install-icons | ||
|
||
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die | ||
dodoc ChangeLog* NEWS README | ||
use l10n_ja && dodoc BUGS.ja NEWS.ja README.ja | ||
|
||
DOC_CONTENTS="If you want to use the shimbun library, please emerge | ||
app-emacs/apel and app-emacs/flim." | ||
readme.gentoo_create_doc | ||
} |