summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2003-12-14 18:22:31 +0000
committerMamoru Komachi <usata@gentoo.org>2003-12-14 18:22:31 +0000
commit994bef0872c1f7b63493987c9bca8ee31c11d234 (patch)
treed6acd8df6138b7947b511b00c4f58ae54ed9c03f
parentRewrote with elisp-common.eclass. Fixed elisp load problem in 0.84. (diff)
downloadhistorical-994bef0872c1f7b63493987c9bca8ee31c11d234.tar.gz
historical-994bef0872c1f7b63493987c9bca8ee31c11d234.tar.bz2
historical-994bef0872c1f7b63493987c9bca8ee31c11d234.zip
Rewrote with elisp-common.eclass. Fixed elisp load problem in 0.84.
-rw-r--r--dev-lisp/mule-ucs/Manifest7
-rw-r--r--dev-lisp/mule-ucs/files/digest-mule-ucs-0.84-r12
-rw-r--r--dev-lisp/mule-ucs/mule-ucs-0.84-r1.ebuild53
-rw-r--r--dev-lisp/mule-ucs/mule-ucs-0.85_rc3.ebuild24
4 files changed, 67 insertions, 19 deletions
diff --git a/dev-lisp/mule-ucs/Manifest b/dev-lisp/mule-ucs/Manifest
index 78d2c10f0158..8f91f0f9d8b5 100644
--- a/dev-lisp/mule-ucs/Manifest
+++ b/dev-lisp/mule-ucs/Manifest
@@ -1,9 +1,8 @@
-MD5 ee31f9801e1cb6d3347c7a7c46198f7f ChangeLog 1827
-MD5 b5cd806a0d93389555377a4439a8e590 mule-ucs-0.85_rc3.ebuild 1233
+MD5 263610b9185c9310f998b195604717af ChangeLog 2034
+MD5 28d1c4241a8e6ccdb04f9047b7a55ba1 mule-ucs-0.85_rc3.ebuild 1233
MD5 b5fdfdb443a94c51bb339c56188361e9 metadata.xml 175
-MD5 3ab25f2823b93616a2ebb6c662819a93 mule-ucs-0.84-r1.ebuild 1417
+MD5 9ed4eb6aa9c19b2b57ca1a7e7ebe177c mule-ucs-0.84-r1.ebuild 1420
MD5 004e493f16039e3c14330a48c10890bb mule-ucs-0.84.ebuild 3768
-MD5 35e2744fe53835ec74f3bd592d3ed99d mule-ucs-0.84-r1.ebuild.bak 1394
MD5 0a39eaf981edfaf12de02e541a97f12b files/digest-mule-ucs-0.84 65
MD5 a2b7610b445d9d18e6b7e5974c1c6319 files/digest-mule-ucs-0.85_rc3 69
MD5 0a6f50c3ce863480c66db2c605eabe51 files/digest-mule-ucs-0.84-r1 144
diff --git a/dev-lisp/mule-ucs/files/digest-mule-ucs-0.84-r1 b/dev-lisp/mule-ucs/files/digest-mule-ucs-0.84-r1
new file mode 100644
index 000000000000..82280ee130ca
--- /dev/null
+++ b/dev-lisp/mule-ucs/files/digest-mule-ucs-0.84-r1
@@ -0,0 +1,2 @@
+MD5 4c91c2e427a182ac748573d19e095107 Mule-UCS-0.84.tar.gz 565222
+MD5 92ea6b541ce2952258669d8dcfd78ee5 mule-ucs-0.84+tats20021216.diff.gz 240895
diff --git a/dev-lisp/mule-ucs/mule-ucs-0.84-r1.ebuild b/dev-lisp/mule-ucs/mule-ucs-0.84-r1.ebuild
new file mode 100644
index 000000000000..ed9cad401eb4
--- /dev/null
+++ b/dev-lisp/mule-ucs/mule-ucs-0.84-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/mule-ucs/mule-ucs-0.84-r1.ebuild,v 1.1 2003/12/14 18:22:27 usata Exp $
+
+inherit elisp-common
+
+MY_PN="Mule-UCS"
+MY_P="${MY_PN}-${PV}"
+MY_PATCH="${P}+tats20021216"
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="A character code translator."
+SRC_URI="ftp://ftp.m17n.org/pub/mule/Mule-UCS/${MY_P}.tar.gz
+ http://tats.iris.ne.jp/mule-ucs/${MY_PATCH}.diff.gz"
+HOMEPAGE="http://www.m17n.org/mule/
+ http://tats.iris.ne.jp/mule-ucs/"
+
+DEPEND="virtual/emacs"
+SLOT="0"
+LICENSE="GPL-2"
+
+KEYWORDS="x86 alpha sparc ppc"
+
+src_unpack() {
+
+ unpack ${MY_P}.tar.gz
+ cd ${S}
+ epatch ${DISTDIR}/${MY_PATCH}.diff.gz
+}
+
+src_compile() {
+
+ emacs -q --no-site-file -batch -l mucs-comp.el || die
+ pushd lisp/big5conv
+ emacs -q --no-site-file -batch -l big5-comp.el || die
+ popd
+ pushd lisp/jisx0213
+ emacs -q --no-site-file -batch -l x0213-comp.el || die
+ popd
+}
+
+src_install() {
+
+ elisp-install ${MY_PN} lisp/*.el{,c}
+ elisp-install ${MY_PN}/big5conv lisp/big5conv/*.el{,c}
+ elisp-install ${MY_PN}/jisx0213 lisp/jisx0213/*.el{,c}
+ elisp-install ${MY_PN}/reldata lisp/reldata/*.el
+
+ dodoc lisp/ChangeLog lisp/MuleUni.txt lisp/README* doc/mule-ucs*
+ newdoc lisp/big5conv/README README.big5conv
+ newdoc lisp/jisx0213/ChangeLog ChangeLog.jisx0213
+ newdoc lisp/jisx0213/readme.txt readme.txt.jisx0213
+}
diff --git a/dev-lisp/mule-ucs/mule-ucs-0.85_rc3.ebuild b/dev-lisp/mule-ucs/mule-ucs-0.85_rc3.ebuild
index add2439e6ae7..b4e133226487 100644
--- a/dev-lisp/mule-ucs/mule-ucs-0.85_rc3.ebuild
+++ b/dev-lisp/mule-ucs/mule-ucs-0.85_rc3.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lisp/mule-ucs/mule-ucs-0.85_rc3.ebuild,v 1.4 2003/08/14 08:56:13 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lisp/mule-ucs/mule-ucs-0.85_rc3.ebuild,v 1.5 2003/12/14 18:22:27 usata Exp $
+
+inherit elisp-common
MY_PN="Mule-UCS"
DESCRIPTION="A character code translator."
@@ -9,9 +11,9 @@ HOMEPAGE="http://www.m17n.org/mule/
SRC_URI="http://gentoojp.sourceforge.jp/distfiles/${MY_PN}-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ~alpha ~ppc ~sparc"
+KEYWORDS="x86 alpha ppc sparc"
IUSE=""
-DEPEND=">=app-editors/emacs-20.4"
+DEPEND="virtual/emacs"
S="${WORKDIR}/${MY_PN}-current"
src_compile() {
@@ -27,18 +29,10 @@ src_compile() {
src_install() {
cd ${S}/lisp
- insinto /usr/share/emacs/site-lisp/Mule-UCS/
- insopts -m0644
- doins *.el{,c}
-
- insinto /usr/share/emacs/site-lisp/Mule-UCS/big5conv/
- doins big5conv/*.el{,c}
-
- insinto /usr/share/emacs/site-lisp/Mule-UCS/jisx0213/
- doins jisx0213/*.el{,c}
-
- insinto /usr/share/emacs/site-lisp/Mule-UCS/reldata/
- doins reldata/*.el
+ 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