-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
NEED_EMACS=24
FORCE_PRINT_ELOG=1
DISABLE_AUTOFORMATTING=1
-inherit eutils readme.gentoo elisp
+inherit elisp readme.gentoo-r1
if [[ ${PV} == "9999" ]] ; then
- ESVN_REPO_URI="https://${PN}.googlecode.com/svn/trunk"
- inherit subversion
+ EGIT_REPO_URI="https://github.com/tvraman/emacspeak.git"
+ inherit git-r3
else
SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.bz2"
KEYWORDS="amd64 ppc x86"
SLOT="0"
IUSE="+espeak"
- DEPEND="espeak? ( app-accessibility/espeak )"
+DEPEND="espeak? ( app-accessibility/espeak )"
RDEPEND="${DEPEND}
>=dev-tcltk/tclx-8.4"
(load "/usr/share/emacs/site-lisp/emacspeak/lisp/emacspeak-setup.el")
'
-src_prepare() {
- # Allow user patches to be applied without modifying the ebuild
- epatch_user
-}
+HTML_DOCS=( install-guide user-guide )
src_configure() {
emake config
if [[ -z $tcl_version ]]; then
die 'Unable to detect the installed version of dev-lang/tcl.'
fi
- cd servers/linux-espeak
+ cd servers/linux-espeak || die
emake TCL_VERSION="${tcl_version}"
fi
}
popd > /dev/null || die
fi
dodoc README etc/NEWS* etc/FAQ etc/COPYRIGHT
- dohtml -r install-guide user-guide
- cd "${D}/usr/share/emacs/site-lisp/${PN}"
+ einstalldocs
+ cd "${D}/usr/share/emacs/site-lisp/${PN}" || die
rm -rf README etc/NEWS* etc/FAQ etc/COPYRIGHT install-guide \
user-guide || die
readme.gentoo_create_doc
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
NEED_EMACS=24
FORCE_PRINT_ELOG=1
DISABLE_AUTOFORMATTING=1
-inherit eutils readme.gentoo elisp
+inherit elisp readme.gentoo-r1
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/tvraman/emacspeak.git"
SLOT="0"
IUSE="+espeak"
- DEPEND="espeak? ( app-accessibility/espeak )"
+DEPEND="espeak? ( app-accessibility/espeak )"
RDEPEND="${DEPEND}
>=dev-tcltk/tclx-8.4"
(load "/usr/share/emacs/site-lisp/emacspeak/lisp/emacspeak-setup.el")
'
-src_prepare() {
- # Allow user patches to be applied without modifying the ebuild
- epatch_user
-}
+HTML_DOCS=( install-guide user-guide )
src_configure() {
emake config
if [[ -z $tcl_version ]]; then
die 'Unable to detect the installed version of dev-lang/tcl.'
fi
- cd servers/linux-espeak
+ cd servers/linux-espeak || die
emake TCL_VERSION="${tcl_version}"
fi
}
popd > /dev/null || die
fi
dodoc README etc/NEWS* etc/FAQ etc/COPYRIGHT
- dohtml -r install-guide user-guide
- cd "${D}/usr/share/emacs/site-lisp/${PN}"
+ einstalldocs
+ cd "${D}/usr/share/emacs/site-lisp/${PN}" || die
rm -rf README etc/NEWS* etc/FAQ etc/COPYRIGHT install-guide \
user-guide || die
readme.gentoo_create_doc