1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit elisp toolchain-funcs
8 DESCRIPTION="Yet another Canna client on Emacsen"
9 HOMEPAGE="http://www.ceres.dti.ne.jp/~knak/yc.html"
10 SRC_URI="http://www.ceres.dti.ne.jp/~knak/${P}.tar.gz"
14 KEYWORDS="~alpha ~amd64 ppc x86"
17 RDEPEND="app-i18n/canna"
19 SITEFILE="50${PN}-gentoo.el"
22 sed -i '/$(CC)/s/ -o / $(CFLAGS) $(LDFLAGS) -o /' Makefile
28 emake CC="$(tc-getCC)"
35 dodoc "${FILESDIR}"/sample.{dot.emacs,hosts.canna}
41 elog "See the sample.dot.emacs in ${EPREFIX}/usr/share/doc/${PF}."
43 elog "And If you use unix domain socket for connecting the canna server,"
44 elog "please confirm that there's *no* following line in your ~/.emacs:"
45 elog ' (setq yc-server-host "localhost")'
47 elog "If you use inet domain socket for connecting the canna server,"
48 elog "please modify as following in ${EPREFIX}/etc/conf.d/canna:"
49 elog ' CANNASERVER_OPTS="-inet"'
51 elog "And create ${EPREFIX}/etc/hosts.canna."
52 elog "See the sample.hosts.canna in ${EPREFIX}/usr/share/doc/${PF}."