mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
44 lines
977 B
Makefile
44 lines
977 B
Makefile
# 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= 4
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.usablelabs.com/download/
|
|
|
|
MAINTAINER= piyawat@usablelabs.com
|
|
COMMENT= Thai language support library
|
|
|
|
USE_LDCONFIG= yes
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_AUTOTOOLS= automake autoconf libtool
|
|
AUTOTOOLSFILES= autogen.sh
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
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,-%%AUTOMAKE_VERSION%%,' -e 's,259,-%%AUTOCONF_VERSION%%,' \
|
|
${WRKSRC}/autogen.sh
|
|
|
|
pre-configure:
|
|
@cd ${WRKSRC} && ${SH} autogen.sh
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "sparc64" && ${OSVERSION} > 800000
|
|
ALL_TARGET= all
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|