Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 2019 16:01:38 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r498577 - head/sysutils/tmux
Message-ID:  <201904101601.x3AG1cmr007512@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Wed Apr 10 16:01:38 2019
New Revision: 498577
URL: https://svnweb.freebsd.org/changeset/ports/498577

Log:
  Add a default option to use utf8proc for Unicode normalization,
  case-folding, and other operations.
  
  It is substantially better and more up-to-date than the libc functions
  providing the same features.
  
  PR:		234822
  Submitted by:	David O'Rourke

Modified:
  head/sysutils/tmux/Makefile   (contents, props changed)

Modified: head/sysutils/tmux/Makefile
==============================================================================
--- head/sysutils/tmux/Makefile	Wed Apr 10 15:45:55 2019	(r498576)
+++ head/sysutils/tmux/Makefile	Wed Apr 10 16:01:38 2019	(r498577)
@@ -3,6 +3,7 @@
 
 PORTNAME=	tmux
 PORTVERSION=	2.8
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	https://github.com/tmux/tmux/releases/download/${PORTVERSION}/
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
@@ -30,16 +31,21 @@ PLIST_FILES=	bin/tmux \
 PORTDOCS=	CHANGES README TODO
 PORTEXAMPLES=	*
 
-OPTIONS_DEFINE=	DOCS EXAMPLES LIBEVENT_STATIC BACKSPACE
+OPTIONS_DEFINE=	DOCS EXAMPLES LIBEVENT_STATIC BACKSPACE UTF8PROC
+OPTIONS_DEFAULT=	UTF8PROC
 
 LIBEVENT_STATIC_DESC=	Build with static libevent
 BACKSPACE_DESC=	Build with tty/keys patch
+UTF8PROC_DESC=	Build with utf8proc support
 
 BACKSPACE_EXTRA_PATCHES=	${PATCHDIR}/extra-patch-tty-keys.c
 
 LIBEVENT_STATIC_LIB_DEPENDS_OFF=	libevent.so:devel/libevent
 LIBEVENT_STATIC_BUILD_DEPENDS=	${LOCALBASE}/lib/libevent.a:devel/libevent
 LIBEVENT_STATIC_VARS=	LESTATIC=${LOCALBASE}/lib/libevent.a
+
+UTF8PROC_CONFIGURE_ENABLE=	utf8proc
+UTF8PROC_LIB_DEPENDS=	libutf8proc.so:textproc/utf8proc
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|/etc/tmux.conf|${PREFIX}/etc/tmux.conf|g' ${WRKSRC}/CHANGES \



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