1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit elisp autotools
8 DESCRIPTION="The Insidious Big Brother Database"
9 HOMEPAGE="https://savannah.nongnu.org/projects/bbdb/"
10 SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz"
12 LICENSE="GPL-3+ GPL-1+"
14 KEYWORDS="~alpha amd64 ~ia64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris"
16 RESTRICT="test" #631700
18 BDEPEND="vm? ( app-emacs/vm )"
20 tex? ( virtual/tex-base )"
22 SITEFILE="50${PN}-gentoo-${PV}.el"
23 TEXMF="/usr/share/texmf-site"
26 eapply "${FILESDIR}"/${P}-no-init.patch
33 --with-lispdir="${EPREFIX}${SITELISP}/${PN}" \
34 "$(use_with vm vm-dir "${EPREFIX}${SITELISP}/vm")"
42 emake -C lisp DESTDIR="${D}" install
43 elisp-site-file-install "${FILESDIR}/${SITEFILE}"
44 dodoc AUTHORS ChangeLog NEWS README TODO
47 insinto "${TEXMF}"/tex/plain/${PN}
54 use tex && texconfig rehash
59 use tex && texconfig rehash