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

PORTNAME=   Unicode-LineBreak
PORTVERSION=    2017.004
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: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:devel/libthai
THAI_CONFIGURE_OFF= --disable-libthai

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

.include <bsd.port.mk>