Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Nov 2016 18:22:09 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r426528 - in head/devel: . icu icu-lx
Message-ID:  <201611191822.uAJIM9re014177@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sat Nov 19 18:22:09 2016
New Revision: 426528
URL: https://svnweb.freebsd.org/changeset/ports/426528

Log:
  devel/icu-lx: add new port
  
  PR:		214384
  Exp-run by:	antoine
  Approved by:	office (bapt)
  
  The ParagraphLayout object will analyze the text into runs of text in
  the same font, script and direction, and will create a LayoutEngine
  object for each run. The LayoutEngine will transform the characters into
  glyph codes in visual order.
  
  Clients can use this to break a paragraph into lines, and to display the
  glyphs in each line.
  
  http://site.icu-project.org/

Added:
  head/devel/icu-lx/
  head/devel/icu-lx/Makefile   (contents, props changed)
  head/devel/icu-lx/pkg-descr   (contents, props changed)
  head/devel/icu-lx/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile   (contents, props changed)
  head/devel/icu/Makefile   (contents, props changed)

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sat Nov 19 18:21:56 2016	(r426527)
+++ head/devel/Makefile	Sat Nov 19 18:22:09 2016	(r426528)
@@ -1083,6 +1083,7 @@
     SUBDIR += icmake
     SUBDIR += icu
     SUBDIR += icu-le-hb
+    SUBDIR += icu-lx
     SUBDIR += idutils
     SUBDIR += imake
     SUBDIR += include-what-you-use

Added: head/devel/icu-lx/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/icu-lx/Makefile	Sat Nov 19 18:22:09 2016	(r426528)
@@ -0,0 +1,20 @@
+# $FreeBSD$
+
+PORTEPOCH=	0 # don't bump
+CATEGORIES?=	devel print
+PKGNAMESUFFIX=	-lx
+
+COMMENT=	ICU Paragraph Layout API
+
+LIB_DEPENDS=	libicuuc.so:devel/icu \
+		libicu-le-hb.so:devel/icu-le-hb
+
+MASTERDIR=	${.CURDIR}/../icu
+PLIST=		${.CURDIR}/pkg-plist
+DESCR=		${.CURDIR}/pkg-descr
+
+USES=		pkgconfig
+CONFIGURE_ARGS=	--enable-layoutex
+INSTALL_WRKSRC=	${WRKSRC}/layoutex
+
+.include "${MASTERDIR}/Makefile"

Added: head/devel/icu-lx/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/icu-lx/pkg-descr	Sat Nov 19 18:22:09 2016	(r426528)
@@ -0,0 +1,9 @@
+The ParagraphLayout object will analyze the text into runs of text in
+the same font, script and direction, and will create a LayoutEngine
+object for each run. The LayoutEngine will transform the characters into
+glyph codes in visual order.
+
+Clients can use this to break a paragraph into lines, and to display the
+glyphs in each line.
+
+WWW: http://site.icu-project.org/

Added: head/devel/icu-lx/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/icu-lx/pkg-plist	Sat Nov 19 18:22:09 2016	(r426528)
@@ -0,0 +1,9 @@
+include/layout/ParagraphLayout.h
+include/layout/RunArrays.h
+include/layout/playout.h
+include/layout/plruns.h
+lib/libiculx.a
+lib/libiculx.so
+lib/libiculx.so.%%ICUMAJOR%%
+lib/libiculx.so.%%ICUVER%%
+libdata/pkgconfig/icu-lx.pc

Modified: head/devel/icu/Makefile
==============================================================================
--- head/devel/icu/Makefile	Sat Nov 19 18:21:56 2016	(r426527)
+++ head/devel/icu/Makefile	Sat Nov 19 18:22:09 2016	(r426528)
@@ -3,13 +3,14 @@
 
 PORTNAME=	icu
 DISTVERSION=	58_1
-PORTEPOCH=	1
-CATEGORIES=	devel
+PORTREVISION?=	0 # keep for icu-lx
+PORTEPOCH?=	1
+CATEGORIES?=	devel
 MASTER_SITES=	http://download.icu-project.org/files/icu4c/${PORTVERSION}/
 DISTNAME=	icu4c-${DISTVERSION}-src
 
 MAINTAINER=	office@FreeBSD.org
-COMMENT=	International Components for Unicode (from IBM)
+COMMENT?=	International Components for Unicode (from IBM)
 
 LICENSE=	ICU
 LICENSE_NAME=	ICU license
@@ -17,6 +18,7 @@ LICENSE_FILE=	${WRKSRC}/../LICENSE
 LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
 GNU_CONFIGURE=	yes
+CONFIGURE_ARGS?=--disable-layoutex
 CONFIGURE_ARGS+=--with-data-packaging=archive \
 		--disable-renaming \
 		--disable-samples \
@@ -24,7 +26,7 @@ CONFIGURE_ARGS+=--with-data-packaging=ar
 CPPFLAGS+=	-DICU_NO_USER_DATA_OVERRIDE
 MAKE_ARGS=	VERBOSE=1
 TEST_TARGET=	check
-USES=		compiler:c++0x gmake pathfix tar:tgz
+USES+=		compiler:c++0x gmake pathfix tar:tgz
 USE_LDCONFIG=	yes
 WRKSRC=		${WRKDIR}/icu/source
 
@@ -33,6 +35,7 @@ PLIST_SUB+=	ICUMAJOR=${ICUMAJOR} ICUVER=
 
 .include <bsd.port.options.mk>
 
+.ifndef PKGNAMESUFFIX
 .if ${ARCH} == "mips" || ${ARCH} == "mips64" || ${ARCH} == "sparc64" \
  || ${ARCH} == "powerpc" || ${ARCH} == "powerpc64"
 PLIST_FILES+=	%%DATADIR%%/%%ICUVER%%/icudt%%ICUMAJOR%%b.dat
@@ -47,5 +50,6 @@ post-stage:
 		${STAGEDIR}${PREFIX}/bin/derb \
 		${STAGEDIR}${PREFIX}/bin/pkgdata
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/*
+.endif # PKGNAMESUFFIX
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611191822.uAJIM9re014177>