blob: af5d98faa0f408fa3af98f0beced576537f48837 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Created by: 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
DEPRECATED= Does not work with Ruby 1.9
EXPIRATION_DATE= 2013-05-02
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
NO_STAGE= yes
.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>
|