aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libthai/Makefile
blob: c34f3a80a8dd78afe2c25ca12607041d4b479eb3 (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
# New ports collection makefile for:    libthai
# Date created:        28 March 2006
# Whom:                Thawatchai Piyawat <piyawat@usablelabs.com>
#
# $FreeBSD$
#

PORTNAME=   libthai
PORTVERSION=    0.1.5
PORTREVISION=   2
CATEGORIES= devel
MASTER_SITES=   http://www.usablelabs.com/download/

MAINTAINER= piyawat@usablelabs.com
COMMENT=    Thai language support library

INSTALLS_SHLIB= yes
GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_AUTOTOOLS=  automake:15 autoconf:259 libtool:15

ALL_TARGET= all check

MAN3=   libthai.3 thctype.3 wtt.3

post-patch:
    @${REINPLACE_CMD} -E 's,^(pkgconfigdir = ).*$$,\1$$(prefix)/libdata/pkgconfig,' \
        ${WRKSRC}/Makefile.am
    @${REINPLACE_CMD} -e 's,15,-1.5,' -e 's,259,-2.59,' \
        ${WRKSRC}/autogen.sh

pre-configure:
    @${SH} ${WRKSRC}/autogen.sh

.include <bsd.port.mk>