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
commit4014937c1dd1ecb1b3290af160d4e77a946c9543 (patch)
treef2b083818590d150fdc234441a0058bd6cb7f895 /app-dicts/canna-2ch/canna-2ch-20030827.ebuild
parentinherit eutils (Manifest recommit) (diff)
downloadgentoo-2-4014937c1dd1ecb1b3290af160d4e77a946c9543.tar.gz
gentoo-2-4014937c1dd1ecb1b3290af160d4e77a946c9543.tar.bz2
gentoo-2-4014937c1dd1ecb1b3290af160d4e77a946c9543.zip
add inherit eutils
Diffstat (limited to 'app-dicts/canna-2ch/canna-2ch-20030827.ebuild')
-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
}