summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-i18n/dbskkd-cdb/dbskkd-cdb-1.01-r1.ebuild')
-rw-r--r--app-i18n/dbskkd-cdb/dbskkd-cdb-1.01-r1.ebuild15
1 files changed, 6 insertions, 9 deletions
diff --git a/app-i18n/dbskkd-cdb/dbskkd-cdb-1.01-r1.ebuild b/app-i18n/dbskkd-cdb/dbskkd-cdb-1.01-r1.ebuild
index 10caf1ec7621..d632bd5c3e09 100644
--- a/app-i18n/dbskkd-cdb/dbskkd-cdb-1.01-r1.ebuild
+++ b/app-i18n/dbskkd-cdb/dbskkd-cdb-1.01-r1.ebuild
@@ -1,27 +1,24 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/dbskkd-cdb/dbskkd-cdb-1.01-r1.ebuild,v 1.6 2004/06/24 21:44:29 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/dbskkd-cdb/dbskkd-cdb-1.01-r1.ebuild,v 1.7 2004/06/28 01:42:35 vapier Exp $
DESCRIPTION="Yet another Dictionary server for the SKK Japanese-input software"
-
HOMEPAGE="http://www.ne.jp/asahi/bdx/info/software/jp-dbskkd.html"
SRC_URI="http://www.ne.jp/asahi/bdx/info/software/${P}.tar.gz"
LICENSE="as-is"
SLOT="0"
-
KEYWORDS="x86 ~ppc sparc alpha amd64"
-
IUSE=""
-PROVIDE="virtual/skkserv"
-
DEPEND="dev-db/freecdb"
RDEPEND="app-i18n/skk-jisyo-cdb
virtual/inetd"
+PROVIDE="virtual/skkserv"
src_compile() {
- emake SERVERDIR=/usr/sbin \
+ emake \
+ SERVERDIR=/usr/sbin \
COMPAT="-DJISHO_FILE=\\\"/usr/share/skk/SKK-JISYO.L.cdb\\\"" \
LDFLAGS="-lutil -lfreecdb" \
CC="cc ${CFLAGS}" || die
@@ -43,9 +40,9 @@ src_install() {
dodoc LICENSE Release-Notes.{English,Japanese}
}
-pkg_postinst () {
+pkg_postinst() {
ewarn "The skk server is disabled by default."
- if test -f /usr/sbin/xinetd; then
+ if test -f ${ROOT}/usr/sbin/xinetd; then
ewarn "Please check /etc/xinetd.d/dbskkd-cdb"
else
ewarn "Please see /etc/inetd.skkserv for an example inetd configuration line"