svn commit: r498577 - head/sysutils/tmux
Mathieu Arnold
mat at FreeBSD.org
Wed Apr 10 16:01:39 UTC 2019
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 \
More information about the svn-ports-all
mailing list