aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-Unicode-LineBreak/Makefile
blob: 29ef4403793aa4bf91f48b4f897bc11fed8f1efc (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
# Created by: Olivier Girard <Olivier.Girard@univ-angers.fr>
# $FreeBSD$

PORTNAME=   Unicode-LineBreak
PORTVERSION=    2014.06
PORTREVISION=   3
CATEGORIES= textproc perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

# blanket update approval granted.
MAINTAINER= Olivier.Girard@univ-angers.fr
COMMENT=    Unicode-LineBreak package

LICENSE=    ART10 GPLv1
LICENSE_COMB=   dual

BUILD_DEPENDS=  p5-MIME-Charset>=1.006.2:${PORTSDIR}/mail/p5-MIME-Charset
RUN_DEPENDS:=   ${BUILD_DEPENDS}

MAKE_JOBS_UNSAFE=   yes

USES=       perl5
USE_PERL5=  configure

CONFIGURE_ARGS= --with-bundled-sombok

OPTIONS_DEFINE= THAI
OPTIONS_DEFAULT=THAI

THAI_DESC=  Thai word segmentation support through libthai
THAI_USES=  pkgconfig
THAI_LIB_DEPENDS=   libthai.so:${PORTSDIR}/devel/libthai
THAI_CONFIGURE_OFF= --disable-libthai

post-install:
    ${CHMOD} u+w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Unicode/LineBreak/LineBreak.so
    ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Unicode/LineBreak/LineBreak.so
    ${CHMOD} u-w ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Unicode/LineBreak/LineBreak.so

.include <bsd.port.mk>