From 4164946aa7f2fe1dab1dbe639ec6f6077f6a5443 Mon Sep 17 00:00:00 2001 From: Alexey Dokuchaev Date: Fri, 1 Feb 2013 14:21:27 +0000 Subject: [PATCH] - Update to version 0.1.19 - Conditionally install Doxygen-generated HTML documentation - Cleanup Makefile and reformat port description while here --- devel/libthai/Makefile | 32 ++++++++++++++------------------ devel/libthai/distinfo | 4 ++-- devel/libthai/pkg-descr | 27 ++++++++++++++------------- devel/libthai/pkg-plist | 5 +++-- 4 files changed, 33 insertions(+), 35 deletions(-) diff --git a/devel/libthai/Makefile b/devel/libthai/Makefile index 8579cbe4ee32..d7a69ae8c69f 100644 --- a/devel/libthai/Makefile +++ b/devel/libthai/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= libthai -PORTVERSION= 0.1.5 -PORTREVISION= 4 +PORTVERSION= 0.1.19 CATEGORIES= devel MASTER_SITES= http://linux.thai.net/pub/thailinux/software/libthai/ @@ -12,27 +11,24 @@ COMMENT= Thai language support library LICENSE= LGPL21 +LIB_DEPENDS= datrie:${PORTSDIR}/devel/libdatrie + +USE_XZ= yes +GNU_CONFIGURE= yes USE_GMAKE= yes -USE_AUTOTOOLS= libtoolize aclocal automake autoconf -LIBTOOLIZE_ARGS=--copy --force -ACLOCAL_ARGS= -I ${LOCALBASE}/share/aclocal -AUTOMAKE_ARGS= --add-missing --copy --force-missing --foreign +USE_GNOME= gnomehack USE_LDCONFIG= yes -MAKE_JOBS_UNSAFE=yes +USE_PKGCONFIG= build -MAN3= libthai.3 thctype.3 wtt.3 +OPTIONS_DEFINE= DOXYGEN -.include +.include -.if ${ARCH} == "sparc64" && ${OSVERSION} > 800000 -ALL_TARGET= all +.if ${PORT_OPTIONS:MDOXYGEN} +BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen +PORTDOCS= * .else -ALL_TARGET= all check +CONFIGURE_ARGS= --disable-doxygen-doc .endif -post-patch: - @${REINPLACE_CMD} -e \ - '/^pkgconfigdir/s|=.*|= $$(prefix)/libdata/pkgconfig|' \ - ${WRKSRC}/Makefile.am - -.include +.include diff --git a/devel/libthai/distinfo b/devel/libthai/distinfo index e8fe44ce04f1..ff0144a98131 100644 --- a/devel/libthai/distinfo +++ b/devel/libthai/distinfo @@ -1,2 +1,2 @@ -SHA256 (libthai-0.1.5.tar.gz) = a968896a8b15aa360bd98d5d94832d317c570accc5abf1375178394115d479da -SIZE (libthai-0.1.5.tar.gz) = 915209 +SHA256 (libthai-0.1.19.tar.xz) = 901429d0b040d23a06f2fe418cbdfbcb5ba4da48cb05e982f83c6f84b00e14b1 +SIZE (libthai-0.1.19.tar.xz) = 373420 diff --git a/devel/libthai/pkg-descr b/devel/libthai/pkg-descr index fe458b067080..ad54d3c1798a 100644 --- a/devel/libthai/pkg-descr +++ b/devel/libthai/pkg-descr @@ -1,18 +1,19 @@ -LibThai is a set of Thai language support routines aimed to ease -developers' tasks to incorporate Thai language support in their -applications. It includes important Thai-specific functions e.g. word -breaking, input and output methods as well as basic character and string -supports. LibThai is an Open Source and collaborative effort initiated -by Thai Linux Working Group and opened for all contributors. +LibThai is a set of Thai language support routines aimed to ease developers' +tasks to incorporate Thai language support in their applications. + +It includes important Thai-specific functions e.g. word breaking, input and +output methods as well as basic character and string supports. LibThai is +an Open Source and collaborative effort initiated by Thai Linux Working +Group and opened for all contributors. LibThai includes Thai language support routines: -* Thai character set support: TIS 620, ISO/IEC 10646 -* Thai character properties -* Thai string manipulators -* Thai string collation -* Thai word breaking -* Thai input method -* Thai output method + - Thai character set support: TIS 620, ISO/IEC 10646 + - Thai character properties + - Thai string manipulators + - Thai string collation + - Thai word breaking + - Thai input method + - Thai output method WWW: http://linux.thai.net/projects/libthai/ diff --git a/devel/libthai/pkg-plist b/devel/libthai/pkg-plist index e5331ab737a9..50f663775259 100644 --- a/devel/libthai/pkg-plist +++ b/devel/libthai/pkg-plist @@ -1,4 +1,3 @@ -bin/cttex include/thai/thailib.h include/thai/thbrk.h include/thai/thcell.h @@ -19,6 +18,8 @@ include/thai/wtt.h lib/libthai.a lib/libthai.la lib/libthai.so -lib/libthai.so.0 +lib/libthai.so.2 libdata/pkgconfig/libthai.pc +share/libthai/thbrk.tri +@dirrm share/libthai @dirrm include/thai