Lines 2-7
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME= readline |
3 |
PORTNAME= readline |
4 |
PORTVERSION= 8.1.${PATCHLEVEL} |
4 |
PORTVERSION= 8.1.${PATCHLEVEL} |
|
|
5 |
PORTREVISION= 1 |
5 |
CATEGORIES= devel |
6 |
CATEGORIES= devel |
6 |
MASTER_SITES= GNU |
7 |
MASTER_SITES= GNU |
7 |
DISTNAME= ${PORTNAME}-${PORTVERSION:R} |
8 |
DISTNAME= ${PORTNAME}-${PORTVERSION:R} |
Lines 29-34
CPE_VERSION= ${PORTVERSION:R}
Link Here
|
29 |
OPTIONS_DEFINE= DOCS |
30 |
OPTIONS_DEFINE= DOCS |
30 |
|
31 |
|
31 |
# https://ftp.gnu.org/gnu/readline/readline-8.1-patches/ |
32 |
# https://ftp.gnu.org/gnu/readline/readline-8.1-patches/ |
|
|
33 |
#Remove PORTREVISION above when bumping PATCHES |
32 |
#PATCHES= 1 |
34 |
#PATCHES= 1 |
33 |
.if defined(PATCHES) |
35 |
.if defined(PATCHES) |
34 |
CPE_UPDATE= ${PATCHLEVEL} |
36 |
CPE_UPDATE= ${PATCHLEVEL} |
Lines 41-47
PATCHLEVEL= 0
Link Here
|
41 |
.endif |
43 |
.endif |
42 |
|
44 |
|
43 |
post-patch: |
45 |
post-patch: |
44 |
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/rlconf.h |
46 |
@${REINPLACE_CMD} -e 's|/etc/[iI]nputrc|${PREFIX}/etc/inputrc|' \ |
|
|
47 |
${WRKSRC}/rlconf.h ${WRKSRC}/doc/*.info ${WRKSRC}/doc/*.3 |
45 |
.if exists(/usr/lib/libtermcapw.so) |
48 |
.if exists(/usr/lib/libtermcapw.so) |
46 |
@${REINPLACE_CMD} 's|-ltermcap|-ltermcapw|g' ${WRKSRC}/configure |
49 |
@${REINPLACE_CMD} 's|-ltermcap|-ltermcapw|g' ${WRKSRC}/configure |
47 |
.endif |
50 |
.endif |