While porting a curses software and struggling on having cmake using ncursesw and not ncurses, I've been looking at the only other port having this combination to find a solution, but it ended up that editors/nvi doesn't use ncursesw correctly.
I have no clue about how to make cmake find ncursesw solene@t480 /usr/ports/editors/nvi $ make port-lib-depends-check nvi-2.1.3p1(editors/nvi): Missing: curses.14 (/usr/local/bin/nview) (system lib) Extra: ncursesw.14 WANTLIB += curses *** Error 1 in target 'port-lib-depends-check' (ignored)