diff options
Diffstat (limited to 'app-emacs/ddskk/ddskk-13.1.ebuild')
-rw-r--r-- | app-emacs/ddskk/ddskk-13.1.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/app-emacs/ddskk/ddskk-13.1.ebuild b/app-emacs/ddskk/ddskk-13.1.ebuild new file mode 100644 index 000000000000..d15cc65bafe0 --- /dev/null +++ b/app-emacs/ddskk/ddskk-13.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/ddskk/ddskk-13.1.ebuild,v 1.1 2007/10/03 00:41:01 matsuu Exp $ + +inherit elisp + +IUSE="" + +DESCRIPTION="One Japanese input methods on Emacs" +SRC_URI="http://openlab.ring.gr.jp/skk/maintrunk/${P}.tar.gz" +HOMEPAGE="http://openlab.ring.gr.jp/skk/" + +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" +SLOT="0" + +DEPEND=">=app-emacs/apel-10.7" +RDEPEND="${RDEPEND} + || ( app-i18n/skk-jisyo virtual/skkserv )" + +SITEFILE=50ddskk-gentoo.el + +src_unpack() { + + unpack ${A} + find . -type f | xargs sed -i -e 's%/usr/local%/usr%g' || die +} + +src_compile() { + + emake < /dev/null || die "emake failed" + emake info < /dev/null || die "emake info failed" + #cd nicola + #make < /dev/null || die + cd "${S}/tut-code" + elisp-compile *.el || die "elisp-compile failed" +} + +src_install () { + + elisp-install ${PN} *.el* nicola/*.el* tut-code/*.el* || die "elisp-install failed" + elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die "elisp-site-file-install failed" + + insinto /usr/share/skk + doins etc/*SKK.tut* etc/skk.xpm + + dodoc READMEs/* ChangeLog* + doinfo doc/skk.info* + + #docinto nicola + #dodoc nicola/ChangeLog* nicola/README* + docinto tut-code + dodoc tut-code/README.tut +} |