summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Bouyer <stubear@gentoo.org>2002-07-01 15:19:15 +0000
committerStuart Bouyer <stubear@gentoo.org>2002-07-01 15:19:15 +0000
commitf90421dee34c26dba2c3b99b910cf1a45b4c716f (patch)
treef24d172547ea1e6a01d80a1074f982a43148d88a /app-i18n/freewnn
parentgcc-3.1 refix (diff)
downloadhistorical-f90421dee34c26dba2c3b99b910cf1a45b4c716f.tar.gz
historical-f90421dee34c26dba2c3b99b910cf1a45b4c716f.tar.bz2
historical-f90421dee34c26dba2c3b99b910cf1a45b4c716f.zip
1 Jul 2002; Stuart Bouyer <stubear@gentoo.org> added freewnn and changed
kinput2 to use both Canna and FreeWnn
Diffstat (limited to 'app-i18n/freewnn')
-rw-r--r--app-i18n/freewnn/ChangeLog9
-rw-r--r--app-i18n/freewnn/files/digest-freewnn-1.1.1_alpha191
-rw-r--r--app-i18n/freewnn/files/freewnn.initd22
-rw-r--r--app-i18n/freewnn/freewnn-1.1.1_alpha19.ebuild55
4 files changed, 87 insertions, 0 deletions
diff --git a/app-i18n/freewnn/ChangeLog b/app-i18n/freewnn/ChangeLog
new file mode 100644
index 000000000000..c0dbb974b8a5
--- /dev/null
+++ b/app-i18n/freewnn/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-i18n/freewnn
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/freewnn/ChangeLog,v 1.1 2002/07/01 15:19:15 stubear Exp $
+
+*freewnn-1.1.1_alpha19 (01 Jul 2002)
+
+ 01 Jul 2002; S.Bouyer <stubear@gentoo.org> ChangeLog freewnn.initd
+ files/digest-freewnn-1.1.1_alpha16 freewnn-1.1.1_alpha19.ebuild:
+ This is the first ebuild for FreeWnn - a Kanji conversion engine
diff --git a/app-i18n/freewnn/files/digest-freewnn-1.1.1_alpha19 b/app-i18n/freewnn/files/digest-freewnn-1.1.1_alpha19
new file mode 100644
index 000000000000..c0c4d37fe33a
--- /dev/null
+++ b/app-i18n/freewnn/files/digest-freewnn-1.1.1_alpha19
@@ -0,0 +1 @@
+MD5 35382e79f753bdb4857e57115550e483 FreeWnn-1.1.1-a019.tar.gz 3473198
diff --git a/app-i18n/freewnn/files/freewnn.initd b/app-i18n/freewnn/files/freewnn.initd
new file mode 100644
index 000000000000..b81f018ff2f1
--- /dev/null
+++ b/app-i18n/freewnn/files/freewnn.initd
@@ -0,0 +1,22 @@
+#!/sbin/runscript
+
+depend() {
+ use net
+}
+
+start() {
+ ebegin "Starting up ${SERVICE}"
+ /usr/bin/Wnn4/jserver &>/dev/null
+ if [ $? -eq 15 ]; then
+ true;
+ else
+ false;
+ fi
+ eend 0
+}
+
+stop() {
+ ebegin "Stopping ${SERVICE}"
+ /usr/bin/Wnn4/wnnkill &> /dev/null
+ eend $? "Failed to stop ${SERVICE}"
+}
diff --git a/app-i18n/freewnn/freewnn-1.1.1_alpha19.ebuild b/app-i18n/freewnn/freewnn-1.1.1_alpha19.ebuild
new file mode 100644
index 000000000000..96cc3a879a73
--- /dev/null
+++ b/app-i18n/freewnn/freewnn-1.1.1_alpha19.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/freewnn/freewnn-1.1.1_alpha19.ebuild,v 1.1 2002/07/01 15:19:15 stubear Exp $
+
+DESCRIPTION="Network-Extensible Kana-to-Kanji Conversion System"
+HOMEPAGE="http://www.freewnn.org/"
+LICENSE="GPL-2"
+
+DEPEND="virtual/glibc"
+RDEPEND="${DEPEND}"
+
+SLOT=0
+
+A="FreeWnn-1.1.1-a019.tar.gz"
+
+SRC_URI="ftp://ftp.freewnn.org/pub/FreeWnn/alpha/${A}
+ ftp://ftp.st.ryukoku.ac.jp/pub/japanese-im/FreeWnn/alpha/${A}
+ ftp://ftp.kddlabs.co.jp/Japan/Wnn/FreeWnn/alpha/${A}
+ ftp://ftp.tomo.gr.jp/pub/FreeWnn/alpha/${A}
+ ftp://etlport.etl.go.jp/pub/FreeWnn/alpha/${A}"
+
+S=${WORKDIR}/FreeWnn-1.1.1-a019
+
+src_unpack() {
+ unpack $A
+ #Change WNNOWNER to root so we don't need to add wnn user
+ mv ${S}/makerule.mk.in ${S}/makerule.mk.in.orig
+ sed -e "s/WNNOWNER = wnn/WNNOWNER = root/" ${S}/makerule.mk.in.orig > ${S}/makerule.mk.in
+}
+
+src_compile() {
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --disable-cWnn \
+ --disable-kWnn \
+ --without-termcap \
+ --with-x \
+ --mandir=/usr/share/man || die "./configure failed"
+
+ emake || die
+ #make || die
+}
+
+src_install () {
+ # install executables, libs ,dictionaries
+ make DESTDIR=${D} install || die "installation failed"
+ # install man pages
+ make DESTDIR=${D} install.man || die "installation of manpages failed"
+ # install docs
+ dodoc ChangeLog ChangeLog.en INSTALL INSTALL.en CONTRIBUTORS
+ # install rc script
+ exeinto /etc/init.d ; newexe ${FILESDIR}/freewnn.initd freewnn
+}