git: a3abb6ed7879 - main - devel/readline: Add BRACKETEDPASTE option
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Aug 8 22:10:43 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a3abb6ed787917d0b8ef9da6837c25e414763efa
commit a3abb6ed787917d0b8ef9da6837c25e414763efa
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-08-08 21:42:06 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-08-08 21:46:39 +0000
devel/readline: Add BRACKETEDPASTE option
PR: 253142
---
devel/readline/Makefile | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/devel/readline/Makefile b/devel/readline/Makefile
index acefa2591840..1ab822ee5c62 100644
--- a/devel/readline/Makefile
+++ b/devel/readline/Makefile
@@ -26,8 +26,6 @@ PORTDOCS= CHANGES INSTALL README
CPE_VENDOR= gnu
CPE_VERSION= ${PORTVERSION:R}
-OPTIONS_DEFINE= DOCS
-
# https://ftp.gnu.org/gnu/readline/readline-8.1-patches/
PATCHES= 1
.if defined(PATCHES)
@@ -40,6 +38,12 @@ PATCHFILES+= ${PORTNAME}${PORTVERSION:R:S|.||}-${patch:S|^|00|:S|.*(...)$|\1|}
PATCHLEVEL= 0
.endif
+OPTIONS_DEFINE= BRACKETEDPASTE DOCS
+OPTIONS_DEFAULT=BRACKETEDPASTE
+BRACKETEDPASTE_DESC= Enable bracketed paste
+
+BRACKETEDPASTE_CONFIGURE_ENABLE= bracketed-paste-default
+
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/rlconf.h ${WRKSRC}/doc/readline.3 ${WRKSRC}/doc/readline.info ${WRKSRC}/doc/rluserman.info
.if exists(/usr/lib/libtermcapw.so)
More information about the dev-commits-ports-all
mailing list