Allow building without ncursesw installed

This commit is contained in:
Baptiste Daroussin
2020-01-02 09:01:36 +00:00
parent 44145a3fe9
commit 41ec9e1455

View File

@@ -50,6 +50,9 @@ MAKE_ENV+= SSL=no
MAKE_ENV+= TFO=yes
.endif
post-patch-NCURSES-on:
@${REINPLACE_CMD} "s/lncursesw/l${NCURSES_IMPL}/g" ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1