1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

editors/uemacs: document ncurses rqmt (USES+=ncurses), respect LDFLAGS

Also link with ncurses, not termcap

approved by:	infrastructure blanket
This commit is contained in:
John Marino 2016-02-05 18:59:49 +00:00
parent 3537fff894
commit cdead12b74
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408262

View File

@ -13,10 +13,12 @@ COMMENT= Full screen editor
NO_CDROM= Resale allowed for media cost only NO_CDROM= Resale allowed for media cost only
NO_WRKSUBDIR= yes NO_WRKSUBDIR= yes
USES= dos2unix zip USES= dos2unix ncurses zip
EXTRACT_BEFORE_ARGS= -Lq EXTRACT_BEFORE_ARGS= -Lq
post-patch: post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/src/*.c @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/src/*.c
@${REINPLACE_CMD} -e 's|-ltermcap|${LDFLAGS} -lncurses|g' \
${WRKSRC}/freebsd/makefile
.include <bsd.port.mk> .include <bsd.port.mk>