summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-04-06 03:32:48 +0000
committerMike Frysinger <vapier@gentoo.org>2004-04-06 03:32:48 +0000
commit194b798b143bf1ac82c524bcedcaa4ba1db5f586 (patch)
treeb6b3d87014e5818d2f6992208cc3a70df5653891 /app-dicts/canna-2ch
parentinherit eutils (diff)
downloadhistorical-194b798b143bf1ac82c524bcedcaa4ba1db5f586.tar.gz
historical-194b798b143bf1ac82c524bcedcaa4ba1db5f586.tar.bz2
historical-194b798b143bf1ac82c524bcedcaa4ba1db5f586.zip
add inherit eutils
Diffstat (limited to 'app-dicts/canna-2ch')
-rw-r--r--app-dicts/canna-2ch/canna-2ch-20030827.ebuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/app-dicts/canna-2ch/canna-2ch-20030827.ebuild b/app-dicts/canna-2ch/canna-2ch-20030827.ebuild
index 77003714d82b..16865afa436b 100644
--- a/app-dicts/canna-2ch/canna-2ch-20030827.ebuild
+++ b/app-dicts/canna-2ch/canna-2ch-20030827.ebuild
@@ -1,11 +1,9 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-dicts/canna-2ch/canna-2ch-20030827.ebuild,v 1.8 2004/04/06 03:31:06 zx Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/canna-2ch/canna-2ch-20030827.ebuild,v 1.9 2004/04/06 03:32:24 vapier Exp $
inherit cannadic eutils
-IUSE="canna"
-
DESCRIPTION="Japanese Canna dictionary for 2channelers"
HOMEPAGE="http://omaemona.sourceforge.net/packages/Canna/"
SRC_URI="mirror://gentoo/${P}.tar.gz"
@@ -14,24 +12,23 @@ SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="x86 ppc sparc alpha"
+IUSE="canna"
DEPEND=""
# You cannot use 2ch.cbd as its name. Canna doesn't load dictionaries
# if the name begins with number. (I don't know why ...)
CANNADICS="2ch"
-S="${WORKDIR}/${PN}"
+S=${WORKDIR}/${PN}
src_unpack() {
-
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-canna36p4-gentoo.patch
}
src_compile() {
-
- if [ -n "`use canna`" ] ; then
+ if use canna ; then
mkbindic nichan.ctd || die
fi
}