Skip to content

Commit

Permalink
devel/readline: Add BRACKETEDPASTE option
Browse files Browse the repository at this point in the history
PR:		253142
  • Loading branch information
sunpoet committed Aug 8, 2021
1 parent 538ac40 commit a3abb6e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions devel/readline/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit a3abb6e

Please sign in to comment.