aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/p5-Text-ChaSen/Makefile
blob: 9647714519be8ef8fa1cd52f7430d0bcfa1ce4d2 (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
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$

PORTNAME=   Text-ChaSen
PORTVERSION=    1.03
PORTREVISION=   4
CATEGORIES= japanese textproc perl5
MASTER_SITES=   SFJP
MASTER_SITE_SUBDIR= chasen-legacy/32224
DISTNAME=   chasen-${CHASEN_VERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    ChaSen library module for Perl5

LIB_DEPENDS=    libchasen.so:${PORTSDIR}/japanese/chasen-base

DISTINFO_FILE=  ${.CURDIR}/../chasen-base/distinfo

CHASEN_VERSION= 2.4.4

WRKSRC=     ${WRKDIR}/chasen-${CHASEN_VERSION}/perl
USES=       perl5
USE_PERL5=  configure
CONFIGURE_ENV=  PREFIX="${PREFIX}"
DOCSDIR=    ${PREFIX}/share/doc/chasen

.include <bsd.port.pre.mk>

PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5-

post-install:
.if ${PORT_OPTIONS:MDOCS}
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/README.perl
.endif

.include <bsd.port.post.mk>