aboutsummaryrefslogtreecommitdiff
path: root/japanese/p5-Text-Kakasi/Makefile
blob: 78200e4e17dab46c38d288bae47a344e141a484d (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
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>

PORTNAME=	Text-Kakasi
PORTVERSION=	2.04
PORTREVISION=	3
CATEGORIES=	japanese textproc perl5
MASTER_SITES=	CPAN

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Kakasi library module for Perl5

LIB_DEPENDS=	libkakasi.so:japanese/kakasi

USES=		perl5
USE_PERL5=	configure

.include <bsd.port.pre.mk>

PKGNAMEPREFIX:=	${PKGNAMEPREFIX}p5-

post-patch:
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Makefile.PL

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Text/Kakasi/Kakasi.so

.include <bsd.port.post.mk>