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.
|
|
|
# Copyright 1999-2020 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI="7"
|
|
|
|
|
|
|
|
inherit fixheadtails
|
|
|
|
|
|
|
|
DESCRIPTION="a mail filter written in Scheme"
|
|
|
|
HOMEPAGE="http://0xcc.net/scmail/"
|
|
|
|
SRC_URI="http://0xcc.net/${PN}/${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="BSD"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="amd64 ~ia64 ~ppc x86"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
RDEPEND="dev-scheme/gauche:="
|
|
|
|
DEPEND="${RDEPEND}"
|
|
|
|
|
|
|
|
PATCHES=(
|
|
|
|
"${FILESDIR}"/${PN}-doc-encoding.patch
|
|
|
|
"${FILESDIR}"/${PN}-gauche-0.9.patch
|
|
|
|
"${FILESDIR}"/${PN}-undefined-reference.patch
|
|
|
|
)
|
|
|
|
HTML_DOCS=( doc/{${PN},scbayes}{,-ja}.html )
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
default
|
|
|
|
|
|
|
|
ht_fix_file tests/scmail-commands
|
|
|
|
# replace make -> $(MAKE)
|
|
|
|
sed -i "s/make\( \|$\)/\$(MAKE)\1/g" Makefile
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
emake \
|
|
|
|
PREFIX="${ED}/usr" \
|
|
|
|
SITELIBDIR="${ED}$(gauche-config --sitelibdir)" \
|
|
|
|
DATADIR="${ED}/usr/share/doc/${P}" \
|
|
|
|
install
|
|
|
|
einstalldocs
|
|
|
|
}
|
|
|
|
|
|
|
|
src_test() {
|
|
|
|
emake -j1 -s check
|
|
|
|
}
|