--- /dev/null
+# ChangeLog for dev-db/pgmecab
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/pgmecab/ChangeLog,v 1.1 2007/01/15 08:43:09 nakano Exp $
+
+*pgmecab-1.1 (15 Jan 2007)
+
+ 15 Jan 2007; Masatomo Nakano <nakano@gentoo.org> +metadata.xml,
+ +pgmecab-1.1.ebuild:
+ Initial import.
+
--- /dev/null
+DIST pgmecab-1.1.tar.bz2 9388 RMD160 9207e2e12dadb6893dde907a09eb8e9776ba6fb9 SHA1 4f7cf2a3e66c4893237ee3fa2ebc1ee37222918f SHA256 fd300f4fa65232a7c4e9ec0637677fb042378073c78561295c84131246a94105
+EBUILD pgmecab-1.1.ebuild 757 RMD160 d02cdaa91dc0710cabc0adc236e492de3bd7f98d SHA1 7eb27e6dcb9226ae47076c49b5ef168281baa711 SHA256 ec216999dc1f74695c67c748048abab906a43d692eeac4dc68b56e0c4919b3b9
+MD5 eccd97da355285cd99c3c475ede1dbbf pgmecab-1.1.ebuild 757
+RMD160 d02cdaa91dc0710cabc0adc236e492de3bd7f98d pgmecab-1.1.ebuild 757
+SHA256 ec216999dc1f74695c67c748048abab906a43d692eeac4dc68b56e0c4919b3b9 pgmecab-1.1.ebuild 757
+MISC ChangeLog 337 RMD160 7b53d96d3a5a9daf5978d211414f416e0f9d8e0a SHA1 89e53a2895fa1853f7224b2b83c6e7a35f1d91cc SHA256 0f258ed0467fdf75fb9870243a77e3ab57bbdafe68c36dc0958f9779a22281ee
+MD5 79f105bdb37e7711af4c6bd55411e16f ChangeLog 337
+RMD160 7b53d96d3a5a9daf5978d211414f416e0f9d8e0a ChangeLog 337
+SHA256 0f258ed0467fdf75fb9870243a77e3ab57bbdafe68c36dc0958f9779a22281ee ChangeLog 337
+MISC metadata.xml 156 RMD160 8adcf0a760a605cd42501f53097ca3a1c4e8daad SHA1 8ccc2b0f20743002b783b1f7b5162c71f7f54c2e SHA256 815820f2e5866d973fafb29a8b8027d022ccea43023309b6dc294cf077598215
+MD5 e92a48548554c80cf90e18df17ff6a82 metadata.xml 156
+RMD160 8adcf0a760a605cd42501f53097ca3a1c4e8daad metadata.xml 156
+SHA256 815820f2e5866d973fafb29a8b8027d022ccea43023309b6dc294cf077598215 metadata.xml 156
+MD5 2e4b087fe7cbaa4a07c2e7405e824d68 files/digest-pgmecab-1.1 232
+RMD160 adbf983b4ef26c8464af4b9a62b69ac641b65f09 files/digest-pgmecab-1.1 232
+SHA256 19f1da957fa9b9bb25d55341c9397caa2cac71cd08511abc7bf9e2b85f958909 files/digest-pgmecab-1.1 232
--- /dev/null
+MD5 b31ccb7d79e4dc7d86e23c730e2aaa0b pgmecab-1.1.tar.bz2 9388
+RMD160 9207e2e12dadb6893dde907a09eb8e9776ba6fb9 pgmecab-1.1.tar.bz2 9388
+SHA256 fd300f4fa65232a7c4e9ec0637677fb042378073c78561295c84131246a94105 pgmecab-1.1.tar.bz2 9388
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>cjk</herd>
+</pkgmetadata>
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/pgmecab/pgmecab-1.1.ebuild,v 1.1 2007/01/15 08:43:09 nakano Exp $
+
+DESCRIPTION="PostgreSQL function to Wakachigaki for Japanese words"
+HOMEPAGE="http://www.emaki.minidns.net/Programming/postgres/index.html"
+SRC_URI="http://www.emaki.minidns.net/Programming/postgres/${P}.tar.bz2"
+
+DEPEND="app-text/mecab
+ >=dev-db/postgresql-7.4"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+src_unpack () {
+ unpack ${A}
+ cd ${S}
+ sed -i -e 's:^MECAB_CONFIG_PATH.*$:MECAB_CONFIG_PATH=/usr/bin/mecab-config:' Makefile
+}
+
+src_compile() {
+ make USE_PGXS=1
+}
+
+src_install() {
+ make DESTDIR=${D} USE_PGXS=1 install
+}