# $Id: Portfile 144 2009-06-18 14:46:37Z kimuraw $

PortSystem		1.0
name			prime
version			1.0.0.1
categories		textproc
maintainers		pelopor@nifty.com
description		PRIME is Japanese Predictive Input Method Editor.
long_description	${description}
homepage		http://taiyaki.org/prime
platforms		darwin
master_sites    http://prime.sourceforge.jp/src/
checksums		md5 c3bb6df8590986104e41c23330d90aef
depends_lib 	bin:ruby:ruby 
depends_run		port:suikyo \
				port:prime-dict \
				port:rb-sary-ruby \
				port:rb-progressbar \
				bin:sary:sary
configure.args	--mandir=${prefix}/share/man \
				--with-rubydir=${prefix}/lib/ruby/site_ruby/1.8

#build.args		LDFLAGS="-L${prefix}/lib -bind_at_load"

post-destroot 	{system "cd ${worksrcpath} && \
						make install-etc DESTDIR=${destroot}"}
