44 lines
1004 B
Makefile
44 lines
1004 B
Makefile
# 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.7
|
|
CATEGORIES= japanese textproc ruby
|
|
MASTER_SITES= http://sites.google.com/a/ixenon.net/ruby-chasen/home/
|
|
DISTNAME= ${PORTNAME}${PORTVERSION}
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= ruby@FreeBSD.org
|
|
COMMENT= ChaSen module for Ruby
|
|
|
|
LIB_DEPENDS= chasen.2:${PORTSDIR}/japanese/chasen-base
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
FETCH_ARGS= -pRr
|
|
|
|
CONFIGURE_ARGS= --with-chasen-dir="${PREFIX}"
|
|
INSTALL_TARGET= site-install
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.if ${RUBY_VER} == 1.9
|
|
BROKEN= does not build with ruby 1.9
|
|
.endif
|
|
|
|
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${RUBY_MODEXAMPLESDIR}/ja/
|
|
${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/ja/
|
|
${MKDIR} ${RUBY_MODDOCDIR}/ja
|
|
${INSTALL_DATA} ${WRKSRC}/chasen.html ${RUBY_MODDOCDIR}/ja/
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|