japanese/jls: document ncurses requirement (USES+=ncurses)

Also link with libncurses, not libtermap.  While here, join compound
command with "&&" and wrap in parentheses.

approved by:	infrastructure blanket
This commit is contained in:
John Marino 2016-02-05 16:41:00 +00:00
parent 240071263d
commit d1dbcc3293
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408222

View file

@ -15,14 +15,17 @@ MAINTAINER= kazami@angels.vg
COMMENT= Japanized ls
CONFLICTS= sleuthkit-[0-9]*
USES= uidfix
USES= ncurses uidfix
PLIST_FILES= bin/jls \
man/man1/jls.1.gz
WRKSRC= ${WRKDIR}/ls
pre-patch:
cd ${WRKSRC}; ${MV} ls.1 jls.1
(cd ${WRKSRC} && ${MV} ls.1 jls.1)
post-patch:
@${REINPLACE_CMD} -e 's|-ltermcap|-lncurses|g' ${WRKSRC}/Makefile
.include <bsd.port.mk>