summaryrefslogtreecommitdiff
path: root/editors/leim21
diff options
context:
space:
mode:
authoruebayasi <uebayasi@pkgsrc.org>2007-10-29 13:41:26 +0000
committeruebayasi <uebayasi@pkgsrc.org>2007-10-29 13:41:26 +0000
commitbbca178221c84f950ea7bcaabc8284f1fa7ea5c3 (patch)
treec0e778dc75bbbe8065e62338bd5a0e9607d210bf /editors/leim21
parent17d6e1251e417bec8a679c4e0f720cf406fd736d (diff)
downloadpkgsrc-bbca178221c84f950ea7bcaabc8284f1fa7ea5c3.tar.gz
Move editors/leim to editors/leim21 as it's only for emacs21.
Diffstat (limited to 'editors/leim21')
-rw-r--r--editors/leim21/DESCR1
-rw-r--r--editors/leim21/Makefile40
-rw-r--r--editors/leim21/PLIST103
-rw-r--r--editors/leim21/distinfo10
-rw-r--r--editors/leim21/patches/patch-aa13
-rw-r--r--editors/leim21/patches/patch-ab26
6 files changed, 193 insertions, 0 deletions
diff --git a/editors/leim21/DESCR b/editors/leim21/DESCR
new file mode 100644
index 00000000000..8e8f96e0fe9
--- /dev/null
+++ b/editors/leim21/DESCR
@@ -0,0 +1 @@
+Libraries of Emacs Input Methods (for emacs21).
diff --git a/editors/leim21/Makefile b/editors/leim21/Makefile
new file mode 100644
index 00000000000..6cfa05d1d37
--- /dev/null
+++ b/editors/leim21/Makefile
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile,v 1.6 2007/10/29 13:41:29 uebayasi Exp $
+
+DISTNAME= leim-${VERSION}
+PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
+PKGREVISION= 1
+CATEGORIES= editors
+MASTER_SITES= ${MASTER_SITE_GNU:=emacs/}
+DISTFILES= emacs-${VERSION}a${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.gnu.org/software/emacs/emacs.html
+COMMENT= Libraries of Emacs Input Methods (for emacs21)
+
+WRKSRC= ${WRKDIR}/emacs-${VERSION}/leim
+GNU_CONFIGURE= yes
+USE_TOOLS+= gmake
+
+VERSION= 21.4
+
+EMACS_VERSIONS_ACCEPTED= emacs21 emacs21nox
+
+CONFIG_GUESS_OVERRIDE= ../config.guess
+CONFIG_SUB_OVERRIDE= ../config.sub
+
+EMACS21_FILESDIR= ${.CURDIR}/../../editors/emacs21/files
+
+post-extract:
+ @${ECHO} '#!/bin/sh' >${WRKSRC}/configure
+ @${ECHO} 'cd ..' >>${WRKSRC}/configure
+ @${ECHO} 'exec ./configure $$*' >>${WRKSRC}/configure
+ @${CHMOD} +x ${WRKSRC}/configure
+ ${CP} ${EMACS21_FILESDIR}/dragonfly.h ${WRKSRC}/../src/s
+
+.include "../../mk/bsd.prefs.mk"
+
+post-install:
+ @${CHOWN} -R ${ROOT_USER} ${PREFIX}/share/emacs/${VERSION}/leim
+
+.include "../../mk/emacs.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/editors/leim21/PLIST b/editors/leim21/PLIST
new file mode 100644
index 00000000000..d91656fd4f1
--- /dev/null
+++ b/editors/leim21/PLIST
@@ -0,0 +1,103 @@
+@comment $NetBSD: PLIST,v 1.3 2007/10/29 13:41:29 uebayasi Exp $
+share/emacs/${PKGVERSION}/leim/ja-dic/ja-dic.el
+share/emacs/${PKGVERSION}/leim/ja-dic/ja-dic.elc
+share/emacs/${PKGVERSION}/leim/leim-list.el
+share/emacs/${PKGVERSION}/leim/quail/4Corner.el
+share/emacs/${PKGVERSION}/leim/quail/4Corner.elc
+share/emacs/${PKGVERSION}/leim/quail/ARRAY30.el
+share/emacs/${PKGVERSION}/leim/quail/ARRAY30.elc
+share/emacs/${PKGVERSION}/leim/quail/CCDOSPY.el
+share/emacs/${PKGVERSION}/leim/quail/CCDOSPY.elc
+share/emacs/${PKGVERSION}/leim/quail/CTLau.el
+share/emacs/${PKGVERSION}/leim/quail/CTLau.elc
+share/emacs/${PKGVERSION}/leim/quail/CTLau-b5.el
+share/emacs/${PKGVERSION}/leim/quail/CTLau-b5.elc
+share/emacs/${PKGVERSION}/leim/quail/ECDICT.el
+share/emacs/${PKGVERSION}/leim/quail/ECDICT.elc
+share/emacs/${PKGVERSION}/leim/quail/ETZY.el
+share/emacs/${PKGVERSION}/leim/quail/ETZY.elc
+share/emacs/${PKGVERSION}/leim/quail/PY-b5.el
+share/emacs/${PKGVERSION}/leim/quail/PY-b5.elc
+share/emacs/${PKGVERSION}/leim/quail/PY.el
+share/emacs/${PKGVERSION}/leim/quail/PY.elc
+share/emacs/${PKGVERSION}/leim/quail/Punct-b5.el
+share/emacs/${PKGVERSION}/leim/quail/Punct-b5.elc
+share/emacs/${PKGVERSION}/leim/quail/Punct.el
+share/emacs/${PKGVERSION}/leim/quail/Punct.elc
+share/emacs/${PKGVERSION}/leim/quail/QJ-b5.el
+share/emacs/${PKGVERSION}/leim/quail/QJ-b5.elc
+share/emacs/${PKGVERSION}/leim/quail/QJ.el
+share/emacs/${PKGVERSION}/leim/quail/QJ.elc
+share/emacs/${PKGVERSION}/leim/quail/SW.el
+share/emacs/${PKGVERSION}/leim/quail/SW.elc
+share/emacs/${PKGVERSION}/leim/quail/TONEPY.el
+share/emacs/${PKGVERSION}/leim/quail/TONEPY.elc
+share/emacs/${PKGVERSION}/leim/quail/ZIRANMA.el
+share/emacs/${PKGVERSION}/leim/quail/ZIRANMA.elc
+share/emacs/${PKGVERSION}/leim/quail/ZOZY.el
+share/emacs/${PKGVERSION}/leim/quail/ZOZY.elc
+share/emacs/${PKGVERSION}/leim/quail/cyril-jis.el
+share/emacs/${PKGVERSION}/leim/quail/cyril-jis.elc
+share/emacs/${PKGVERSION}/leim/quail/cyrillic.el
+share/emacs/${PKGVERSION}/leim/quail/cyrillic.elc
+share/emacs/${PKGVERSION}/leim/quail/czech.el
+share/emacs/${PKGVERSION}/leim/quail/czech.elc
+share/emacs/${PKGVERSION}/leim/quail/devanagari.el
+share/emacs/${PKGVERSION}/leim/quail/devanagari.elc
+share/emacs/${PKGVERSION}/leim/quail/ethiopic.el
+share/emacs/${PKGVERSION}/leim/quail/ethiopic.elc
+share/emacs/${PKGVERSION}/leim/quail/greek.el
+share/emacs/${PKGVERSION}/leim/quail/greek.elc
+share/emacs/${PKGVERSION}/leim/quail/hangul.el
+share/emacs/${PKGVERSION}/leim/quail/hangul.elc
+share/emacs/${PKGVERSION}/leim/quail/hangul3.el
+share/emacs/${PKGVERSION}/leim/quail/hangul3.elc
+share/emacs/${PKGVERSION}/leim/quail/hanja-jis.el
+share/emacs/${PKGVERSION}/leim/quail/hanja-jis.elc
+share/emacs/${PKGVERSION}/leim/quail/hanja.el
+share/emacs/${PKGVERSION}/leim/quail/hanja.elc
+share/emacs/${PKGVERSION}/leim/quail/hanja3.el
+share/emacs/${PKGVERSION}/leim/quail/hanja3.elc
+share/emacs/${PKGVERSION}/leim/quail/hebrew.el
+share/emacs/${PKGVERSION}/leim/quail/hebrew.elc
+share/emacs/${PKGVERSION}/leim/quail/ipa.el
+share/emacs/${PKGVERSION}/leim/quail/ipa.elc
+share/emacs/${PKGVERSION}/leim/quail/japanese.el
+share/emacs/${PKGVERSION}/leim/quail/japanese.elc
+share/emacs/${PKGVERSION}/leim/quail/lao.el
+share/emacs/${PKGVERSION}/leim/quail/lao.elc
+share/emacs/${PKGVERSION}/leim/quail/latin-alt.el
+share/emacs/${PKGVERSION}/leim/quail/latin-alt.elc
+share/emacs/${PKGVERSION}/leim/quail/latin-ltx.el
+share/emacs/${PKGVERSION}/leim/quail/latin-ltx.elc
+share/emacs/${PKGVERSION}/leim/quail/latin-post.el
+share/emacs/${PKGVERSION}/leim/quail/latin-post.elc
+share/emacs/${PKGVERSION}/leim/quail/latin-pre.el
+share/emacs/${PKGVERSION}/leim/quail/latin-pre.elc
+share/emacs/${PKGVERSION}/leim/quail/lrt.el
+share/emacs/${PKGVERSION}/leim/quail/lrt.elc
+share/emacs/${PKGVERSION}/leim/quail/py-punct.el
+share/emacs/${PKGVERSION}/leim/quail/py-punct.elc
+share/emacs/${PKGVERSION}/leim/quail/pypunct-b5.el
+share/emacs/${PKGVERSION}/leim/quail/pypunct-b5.elc
+share/emacs/${PKGVERSION}/leim/quail/quick-b5.el
+share/emacs/${PKGVERSION}/leim/quail/quick-b5.elc
+share/emacs/${PKGVERSION}/leim/quail/quick-cns.el
+share/emacs/${PKGVERSION}/leim/quail/quick-cns.elc
+share/emacs/${PKGVERSION}/leim/quail/slovak.el
+share/emacs/${PKGVERSION}/leim/quail/slovak.elc
+share/emacs/${PKGVERSION}/leim/quail/symbol-ksc.el
+share/emacs/${PKGVERSION}/leim/quail/symbol-ksc.elc
+share/emacs/${PKGVERSION}/leim/quail/thai.el
+share/emacs/${PKGVERSION}/leim/quail/thai.elc
+share/emacs/${PKGVERSION}/leim/quail/tibetan.el
+share/emacs/${PKGVERSION}/leim/quail/tibetan.elc
+share/emacs/${PKGVERSION}/leim/quail/tsang-b5.el
+share/emacs/${PKGVERSION}/leim/quail/tsang-b5.elc
+share/emacs/${PKGVERSION}/leim/quail/tsang-cns.el
+share/emacs/${PKGVERSION}/leim/quail/tsang-cns.elc
+share/emacs/${PKGVERSION}/leim/quail/viqr.el
+share/emacs/${PKGVERSION}/leim/quail/viqr.elc
+@dirrm share/emacs/${PKGVERSION}/leim/ja-dic
+@dirrm share/emacs/${PKGVERSION}/leim/quail
+@comment belongs to emacs package: dirrm share/emacs/${PKGVERSION}/leim
diff --git a/editors/leim21/distinfo b/editors/leim21/distinfo
new file mode 100644
index 00000000000..5d6833b862e
--- /dev/null
+++ b/editors/leim21/distinfo
@@ -0,0 +1,10 @@
+$NetBSD: distinfo,v 1.3 2007/10/29 13:41:29 uebayasi Exp $
+
+SHA1 (emacs-21.4a.tar.gz) = cdb33731180fe4a912838af805dd35e3f55394d4
+RMD160 (emacs-21.4a.tar.gz) = c312e739935b56d08783bbfe97992297a363cb8a
+Size (emacs-21.4a.tar.gz) = 20403483 bytes
+SHA1 (leim-21.4.tar.gz) = dd63f9aca1a58d40d9d426dd410fb627230974f7
+RMD160 (leim-21.4.tar.gz) = 89e1108bfe06425a0d6b4d941f9c297551bafcca
+Size (leim-21.4.tar.gz) = 3291433 bytes
+SHA1 (patch-aa) = a29b97515f4fea8feded6952d4ccd56c05d9f94d
+SHA1 (patch-ab) = 276155b59878d1cd14c2b66a4036522db0ee9a46
diff --git a/editors/leim21/patches/patch-aa b/editors/leim21/patches/patch-aa
new file mode 100644
index 00000000000..ba1c5891ad0
--- /dev/null
+++ b/editors/leim21/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.3 2007/10/29 13:41:29 uebayasi Exp $
+
+--- Makefile.in.orig Mon Jan 11 12:40:22 1999
++++ Makefile.in Tue Dec 28 14:53:29 1999
+@@ -37,7 +37,7 @@
+
+ # Which Emacs to use to convert TIT files to Emacs Lisp files,
+ # byte-compile Emacs Lisp files, and generate the file leim-list.el.
+-BUILT-EMACS = ${dot}${dot}/src/emacs
++BUILT-EMACS = ${LOCALBASE}/bin/emacs
+
+ buildlisppath=${srcdir}/${dot}${dot}/lisp
+
diff --git a/editors/leim21/patches/patch-ab b/editors/leim21/patches/patch-ab
new file mode 100644
index 00000000000..4490f7ab099
--- /dev/null
+++ b/editors/leim21/patches/patch-ab
@@ -0,0 +1,26 @@
+$NetBSD: patch-ab,v 1.1 2007/10/29 13:41:29 uebayasi Exp $
+
+--- ../configure.orig 2003-03-18 14:19:12.000000000 +0000
++++ ../configure
+@@ -822,9 +822,13 @@ case "${canonical}" in
+ sparc*-*-netbsd*) machine=sparc ;;
+ vax-*-netbsd*) machine=vax ;;
+ arm-*-netbsd*) machine=arm ;;
++ x86_64-*-netbsd*) machine=amd64 ;;
+ esac
+ ;;
+
++ ## Darwin / Mac OS X
++ powerpc-apple-darwin* )
++ machine=powermac opsys=darwin ;;
+ ## OpenBSD ports
+ *-*-openbsd* )
+ opsys=openbsd
+@@ -1659,6 +1663,7 @@ case "${canonical}" in
+ *-sysv4.2uw* ) opsys=unixware; NON_GNU_CPP=/lib/cpp ;;
+ *-386bsd* ) opsys=386bsd ;;
+ *-freebsd* ) opsys=freebsd ;;
++ *-dragonfly* ) opsys=dragonfly ;;
+ *-nextstep* ) opsys=nextstep ;;
+ ## Otherwise, we'll fall through to the generic opsys code at the bottom.
+ esac