1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/editors/uemacs/Makefile
John Marino cdead12b74 editors/uemacs: document ncurses rqmt (USES+=ncurses), respect LDFLAGS
Also link with ncurses, not termcap

approved by:	infrastructure blanket
2016-02-05 18:59:49 +00:00

25 lines
519 B
Makefile

# Created by: tg
# $FreeBSD$
PORTNAME= uemacs
PORTVERSION= 4.0
CATEGORIES= editors
MASTER_SITES= http://dl.ozzmosis.com/uemacs/
DISTNAME= ue400dev
MAINTAINER= mail@ozzmosis.com
COMMENT= Full screen editor
NO_CDROM= Resale allowed for media cost only
NO_WRKSUBDIR= yes
USES= dos2unix ncurses zip
EXTRACT_BEFORE_ARGS= -Lq
post-patch:
@${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>