2001-03-02 05:20:55 +00:00
|
|
|
# New ports collection makefile for: Ruby-ChaSen
|
|
|
|
# Date created: 1 Mar 2001
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= chasen
|
|
|
|
PORTVERSION= 1.6
|
2001-09-17 17:54:27 +00:00
|
|
|
PORTREVISION= 1
|
2003-04-02 12:33:41 +00:00
|
|
|
CATEGORIES= japanese textproc ruby
|
2003-01-11 08:29:05 +00:00
|
|
|
MASTER_SITES= http://www.itlb.te.noda.sut.ac.jp/~ikarashi/ruby/
|
|
|
|
# XXX: www.itlb.te.noda.tus.ac.jp is a different host and unreachable
|
2001-03-02 05:20:55 +00:00
|
|
|
DISTNAME= ${PORTNAME}${PORTVERSION}
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
2003-02-18 05:42:05 +00:00
|
|
|
COMMENT= ChaSen module for Ruby
|
2001-03-02 05:20:55 +00:00
|
|
|
|
2001-07-23 11:22:32 +00:00
|
|
|
LIB_DEPENDS= chasen.0:${PORTSDIR}/japanese/chasen-base
|
2001-03-02 05:20:55 +00:00
|
|
|
|
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
|
|
|
|
CONFIGURE_ARGS= --with-chasen-include="${PREFIX}/include/chasen" \
|
|
|
|
--with-chasen-lib="${PREFIX}/lib"
|
|
|
|
INSTALL_TARGET= site-install
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2002-10-06 21:38:34 +00:00
|
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}/ja/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/ja/
|
|
|
|
${MKDIR} ${RUBY_MODDOCDIR}/ja
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/chasen.html ${RUBY_MODDOCDIR}/ja/
|
2001-03-02 05:20:55 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|