diff options
author | Stuart Bouyer <stubear@gentoo.org> | 2002-06-24 13:27:12 +0000 |
---|---|---|
committer | Stuart Bouyer <stubear@gentoo.org> | 2002-06-24 13:27:12 +0000 |
commit | 849b088617910f638452229fa2792af40616a814 (patch) | |
tree | 6a3be1db818d199783d16f087a4136fdd10d5490 /app-i18n/kinput2 | |
parent | Kochi-fonts-0.2.20020503 (diff) | |
download | historical-849b088617910f638452229fa2792af40616a814.tar.gz historical-849b088617910f638452229fa2792af40616a814.tar.bz2 historical-849b088617910f638452229fa2792af40616a814.zip |
Kinput2-3.1_beta4 Initial ebuild -StuBear
Kanji Input system for canna
Diffstat (limited to 'app-i18n/kinput2')
-rw-r--r-- | app-i18n/kinput2/files/digest-kinput2-3.1_beta4 | 1 | ||||
-rw-r--r-- | app-i18n/kinput2/files/kinput2-3.1_beta4/gentoo.diff | 79 | ||||
-rw-r--r-- | app-i18n/kinput2/kinput2-3.1_beta4.ebuild | 45 |
3 files changed, 125 insertions, 0 deletions
diff --git a/app-i18n/kinput2/files/digest-kinput2-3.1_beta4 b/app-i18n/kinput2/files/digest-kinput2-3.1_beta4 new file mode 100644 index 000000000000..07441ea5c695 --- /dev/null +++ b/app-i18n/kinput2/files/digest-kinput2-3.1_beta4 @@ -0,0 +1 @@ +MD5 3cf13144a7079bb781bb63cfb57c4d88 kinput2-v3.1-beta4.tar.gz 512832 diff --git a/app-i18n/kinput2/files/kinput2-3.1_beta4/gentoo.diff b/app-i18n/kinput2/files/kinput2-3.1_beta4/gentoo.diff new file mode 100644 index 000000000000..1745f1f8646e --- /dev/null +++ b/app-i18n/kinput2/files/kinput2-3.1_beta4/gentoo.diff @@ -0,0 +1,79 @@ +Index: Kinput2.conf +=================================================================== +RCS file: /var/lib/cvs/kinput2/Kinput2.conf,v +retrieving revision 1.1.1.1 +diff -u -r1.1.1.1 Kinput2.conf +--- Kinput2.conf 18 May 2002 03:23:46 -0000 1.1.1.1 ++++ Kinput2.conf 18 May 2002 03:27:57 -0000 +@@ -18,7 +18,7 @@ + /* #define UseWnn */ /* define if you are going to use Wnn (v4, v6 or v7) */ + /* #define UseWnn6 */ /* define if you are going to use Wnn6 or above */ + #define UseCanna /* define if you are going to use Canna */ +-#define UseSj3 /* define if you are going to use Sj3 */ ++/* #define UseSj3 */ /* define if you are going to use Sj3 */ + /* #define UseAtok */ /* define if you are going to use Atok */ + + +@@ -60,9 +60,9 @@ + * Or, use library in the source tree.. + */ + XCOMM use library in the source tree +-WNNSRC = $(CONTRIBSRC)/programs/Xsi/Wnn +-WNNINCDIR = $(WNNSRC)/include +-WNNLIB = $(WNNSRC)/jlib/libwnn.a ++XCOMM WNNSRC = $(CONTRIBSRC)/programs/Xsi/Wnn ++XCOMM WNNINCDIR = $(WNNSRC)/include ++XCOMM WNNLIB = $(WNNSRC)/jlib/libwnn.a + + + XCOMM Canna configuration +@@ -79,16 +79,16 @@ + */ + XCOMM use installed headers/libraries + XCOMM CANNAINSTDIR = /usr/local/canna +-XCOMM CANNASRC = $(CANNAINSTDIR)/include +-XCOMM CANNALIB = -lcanna16 ++CANNASRC = /usr/include ++CANNALIB = -lcanna16 + + /* + * If you have compiled Canna that came with X11R6 (contrib/programs/Canna), + * but not installed yet.. + */ + XCOMM use headers/libraries in the source tree +-CANNASRC = $(CONTRIBSRC)/programs/Canna32 +-CANNALIB = -L$(CANNASRC)/lib/canna16 -lcanna16 ++XCOMM CANNASRC = $(CONTRIBSRC)/programs/Canna32 ++XCOMM CANNALIB = -L$(CANNASRC)/lib/canna16 -lcanna16 + + + XCOMM SJ3 configuration +@@ -100,7 +100,7 @@ + * definition files are to be installed + */ + +-SJ3DEF_DIR = $(LIBDIR)/sj3def ++XCOMM SJ3DEF_DIR = $(LIBDIR)/sj3def + + /* + * If you have installed SJ3 library and header file, +@@ -117,8 +117,8 @@ + * Use compiled library in the source tree.. + */ + XCOMM use library in the source tree +-SJ3SRC = $(CONTRIBSRC)/programs/sj3 +-SJ3LIB = $(SJ3SRC)/sj3lib/libsj3lib.a ++XCOMM SJ3SRC = $(CONTRIBSRC)/programs/sj3 ++XCOMM SJ3LIB = $(SJ3SRC)/sj3lib/libsj3lib.a + + + XCOMM Atok configuration +@@ -134,7 +134,7 @@ + XCOMM use installed headers/libraries + XCOMM ATOKINCDIR = /usr/include/atok + XCOMM ATOKLIBDIR = /usr/jp/lib +-ATOKLIB = -latok12n -latok12util ++XCOMM ATOKLIB = -latok12n -latok12util + + + /** diff --git a/app-i18n/kinput2/kinput2-3.1_beta4.ebuild b/app-i18n/kinput2/kinput2-3.1_beta4.ebuild new file mode 100644 index 000000000000..da66beca9ae7 --- /dev/null +++ b/app-i18n/kinput2/kinput2-3.1_beta4.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.6 2002/05/07 03:58:19 drobbins Exp + +A="kinput2-v3.1-beta4.tar.gz" + +S="${WORKDIR}/kinput2-v3.1-beta4" + +DESCRIPTION="A Japanese input server which supports the XIM protocol" + +SRC_URI="ftp://ftp.sra.co.jp/pub/x11/kinput2/${A}" + +LICENSE="as-is" + +DEPEND="virtual/glibc + >=app-i18n/canna-3.5_beta2" + +src_unpack() { + + # unpack the archive + unpack ${A} + + # patch Kinput2.conf to ensure that files are installed into image dir + cd ${S} + patch -p0 < ${FILESDIR}/${P}/gentoo.diff || die +} + +src_compile() { + + # create a Makefile from Kinput2.conf + xmkmf || die "xmkmf failed" + make Makefiles || die "Makefile creation failed" + + # build Kinput2 + make depend ; make +} + +src_install () { + + # install libs, executables, dictionaries + make DESTDIR=${D} install || die "installation failed" + + # install docs + dodoc README NEWS +} |