ports/172226: devel/libthai: Update MASTER_SITES

KATO Tsuguru tkato432 at yahoo.com
Mon Oct 1 18:10:07 UTC 2012


>Number:         172226
>Category:       ports
>Synopsis:       devel/libthai: Update MASTER_SITES
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 01 18:10:06 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p10 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES and WWW: line
- Add LICENSE
- Fix USE_AUTOTOOLS usage

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/devel/libthai/Makefile devel/libthai/Makefile
--- /usr/ports/devel/libthai/Makefile	2012-01-08 11:31:20.000000000 +0900
+++ devel/libthai/Makefile	2012-10-02 02:05:21.000000000 +0900
@@ -1,43 +1,38 @@
-# New ports collection makefile for:    libthai
-# Date created:        28 March 2006
-# Whom:                Thawatchai Piyawat <piyawat at usablelabs.com>
-#
+# Created by: Thawatchai Piyawat <piyawat at usablelabs.com>
 # $FreeBSD: ports/devel/libthai/Makefile,v 1.18 2012/01/08 02:31:20 linimon Exp $
-#
 
 PORTNAME=	libthai
 PORTVERSION=	0.1.5
 PORTREVISION=	4
 CATEGORIES=	devel
-MASTER_SITES=	http://www.usablelabs.com/download/
+MASTER_SITES=	http://linux.thai.net/pub/thailinux/software/libthai/
 
 MAINTAINER=	ports at FreeBSD.org
 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
+LICENSE=	LGPL21
 
-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
+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_LDCONFIG=	yes
+MAKE_JOBS_UNSAFE=yes
 
-pre-configure:
-	@cd ${WRKSRC} && ${SH} autogen.sh
+MAN3=		libthai.3 thctype.3 wtt.3
 
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == "sparc64" && ${OSVERSION} > 800000
 ALL_TARGET=	all
+.else
+ALL_TARGET=	all check
 .endif
 
+post-patch:
+	@${REINPLACE_CMD} -e \
+		'/^pkgconfigdir/s|=.*|= $$(prefix)/libdata/pkgconfig|' \
+		${WRKSRC}/Makefile.am
+
 .include <bsd.port.post.mk>
diff -urN /usr/ports/devel/libthai/pkg-descr devel/libthai/pkg-descr
--- /usr/ports/devel/libthai/pkg-descr	2006-03-28 20:14:15.000000000 +0900
+++ devel/libthai/pkg-descr	2012-10-02 02:10:24.000000000 +0900
@@ -1,19 +1,18 @@
-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  charac-
-ter and string supports. LibThai is an Open Source and collabora-
-tive 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 string collation
+* Thai word breaking
 * Thai input method
 * Thai output method
 
-WWW: http://linux.thai.net/plone/TLWG/libthai/
+WWW: http://linux.thai.net/projects/libthai/
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list