diff --git a/devel/readline/Makefile b/devel/readline/Makefile index abcbe9e51205..3c2655ef9a7f 100644 --- a/devel/readline/Makefile +++ b/devel/readline/Makefile @@ -1,55 +1,57 @@ PORTNAME= readline PORTVERSION= 8.2.${PATCHLEVEL} +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= GNU DISTNAME= readline-${PORTVERSION:R} PATCH_SITES= GNU/readline/readline-${PORTVERSION:R}-patches MAINTAINER= sunpoet@FreeBSD.org COMMENT= Library for editing command lines as they are typed WWW= https://tiswww.case.edu/php/chet/readline/rltop.html LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING USES= cpe GNU_CONFIGURE= yes +GNU_CONFIGURE_MANPREFIX=${PREFIX}/share USE_LDCONFIG= yes INFO= history readline rluserman PLIST_SUB= PORTVERSION=${PORTVERSION:R} PORTDOCS= CHANGES INSTALL README CPE_VENDOR= gnu CPE_VERSION= ${PORTVERSION:R} # https://ftp.gnu.org/gnu/readline/readline-8.2-patches/ PATCHES= 1 2 3 4 5 6 7 .if defined(PATCHES) CPE_UPDATE= ${PATCHLEVEL} PATCHLEVEL= ${PATCHES:O:[-1]} .for patch in ${PATCHES} PATCHFILES+= readline${PORTVERSION:R:S|.||}-${patch:S|^|00|:S|.*(...)$|\1|} .endfor .else 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) @${REINPLACE_CMD} 's|-ltermcap|-ltermcapw|g' ${WRKSRC}/configure .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libhistory.so ${STAGEDIR}${PREFIX}/lib/libreadline.so .include diff --git a/devel/readline/pkg-plist b/devel/readline/pkg-plist index fba2c5994f35..75a5579b3aed 100644 --- a/devel/readline/pkg-plist +++ b/devel/readline/pkg-plist @@ -1,32 +1,32 @@ include/readline/chardefs.h include/readline/history.h include/readline/keymaps.h include/readline/readline.h include/readline/rlconf.h include/readline/rlstdc.h include/readline/rltypedefs.h include/readline/tilde.h lib/libhistory.a lib/libhistory.so lib/libhistory.so.8 lib/libhistory.so.%%PORTVERSION%% lib/libreadline.a lib/libreadline.so lib/libreadline.so.8 lib/libreadline.so.%%PORTVERSION%% libdata/pkgconfig/history.pc libdata/pkgconfig/readline.pc -man/man3/history.3.gz -man/man3/readline.3.gz +share/man/man3/history.3.gz +share/man/man3/readline.3.gz %%DATADIR%%/excallback.c %%DATADIR%%/fileman.c %%DATADIR%%/histexamp.c %%DATADIR%%/manexamp.c %%DATADIR%%/rl-fgets.c %%DATADIR%%/rl.c %%DATADIR%%/rlbasic.c %%DATADIR%%/rlcat.c %%DATADIR%%/rlevent.c %%DATADIR%%/rlptytest.c %%DATADIR%%/rltest.c %%DATADIR%%/rlversion.c