hebrew/he2: document ncurses requirement (USES+=ncurses)

while here: replace sysctl shell command with equivalent variable.
Also link with libncurses, not libcurses + libtermcap

approved by:	infrastructure blanket
This commit is contained in:
John Marino
2016-02-05 15:43:27 +00:00
parent 9ee9bb9723
commit c17679ba79

View File

@@ -14,8 +14,12 @@ LICENSE= GPLv2
RUN_DEPENDS= iw-elmar-fonts>0:${PORTSDIR}/hebrew/elmar-fonts
USES= gmake
USES= gmake ncurses
GNU_CONFIGURE= yes
ALL_TARGET= -j`${SYSCTL} -n hw.ncpu`
ALL_TARGET= -j${MAKE_JOBS_NUMBER}
post-patch:
@${REINPLACE_CMD} -e 's|-lcurses -ltermcap|-lncurses|' \
${WRKSRC}/he2/Makefile.in ${WRKSRC}/he2/Makefile.am
.include <bsd.port.mk>