summaryrefslogtreecommitdiff
blob: 031547403285dfd809eb5bce68a5210acee5e040 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/mule-ucs/mule-ucs-0.85_rc3.ebuild,v 1.2 2004/03/04 05:29:08 jhuebel Exp $

inherit elisp-common

MY_PN="Mule-UCS"
DESCRIPTION="A character code translator."
HOMEPAGE="http://www.m17n.org/mule/
	http://tats.iris.ne.jp/mule-ucs/"
SRC_URI="http://gentoojp.sourceforge.jp/distfiles/${MY_PN}-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 alpha ppc sparc amd64"
IUSE=""
DEPEND="virtual/emacs"
S="${WORKDIR}/${MY_PN}-current"

src_compile() {
	emacs -q --no-site-file -batch -l mucs-comp.el || die
	(cd lisp/big5conv/
		emacs -q --no-site-file -batch -l big5-comp.el || die
	)
	(cd lisp/jisx0213/
		emacs -q --no-site-file -batch -l x0213-comp.el || die
	)
}

src_install() {
	cd ${S}/lisp

	elisp-install ${MY_PN} *.el{,c}
	elisp-install ${MY_PN}/big5conv big5conv/*.el{,c}
	elisp-install ${MY_PN}/jisx0213 jisx0213/*.el{,c}
	elisp-install ${MY_PN}/reldata reldata/*.el

	dodoc ChangeLog MuleUni.txt README README.Unicode
	dodoc ../doc/mule-ucs.sgml ../doc/mule-ucs.texi
	docinto big5conv ; dodoc big5conv/README
	docinto jisx0213 ; dodoc jisx0213/ChangeLog jisx0213/readme.txt
}