2006-03-28 13:14:15 +02:00
|
|
|
# New ports collection makefile for: libthai
|
|
|
|
# Date created: 28 March 2006
|
|
|
|
# Whom: Thawatchai Piyawat <piyawat@usablelabs.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libthai
|
|
|
|
PORTVERSION= 0.1.5
|
2007-09-30 06:47:36 +02:00
|
|
|
PORTREVISION= 3
|
2006-03-28 13:14:15 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://www.usablelabs.com/download/
|
|
|
|
|
|
|
|
MAINTAINER= piyawat@usablelabs.com
|
|
|
|
COMMENT= Thai language support library
|
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2006-03-28 13:14:15 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
2009-08-02 21:36:34 +02:00
|
|
|
USE_AUTOTOOLS= automake:15 autoconf:262 libtool:22
|
2009-04-01 16:00:26 +02:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2006-03-28 13:14:15 +02:00
|
|
|
|
|
|
|
ALL_TARGET= all check
|
|
|
|
|
|
|
|
MAN3= libthai.3 thctype.3 wtt.3
|
|
|
|
|
2006-03-28 13:30:39 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -E 's,^(pkgconfigdir = ).*$$,\1$$(prefix)/libdata/pkgconfig,' \
|
|
|
|
${WRKSRC}/Makefile.am
|
2008-08-20 02:57:32 +02:00
|
|
|
@${REINPLACE_CMD} -e 's,15,-1.5,' -e 's,259,-2.62,' \
|
2007-07-28 08:33:59 +02:00
|
|
|
${WRKSRC}/autogen.sh
|
|
|
|
|
|
|
|
pre-configure:
|
2007-10-21 12:27:00 +02:00
|
|
|
@cd ${WRKSRC} && ${SH} autogen.sh
|
2006-03-28 13:30:39 +02:00
|
|
|
|
2009-08-17 03:40:39 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "sparc64" && ${OSVERSION} > 800000
|
|
|
|
ALL_TARGET= all
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|