1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/www/netrik/Makefile
2021-04-06 16:31:07 +02:00

31 lines
682 B
Makefile

# Created by: Alan Eldridge <alane@FreeBSD.org>
PORTNAME= netrik
PORTVERSION= 1.16.1
CATEGORIES= www
MASTER_SITES= SF/${PORTNAME}/stable/${PORTVERSION}%20%28beta%29
MAINTAINER= ale@FreeBSD.org
COMMENT= Text web browser, ambitious, in active development
RUN_DEPENDS= wget:ftp/wget
USES= gmake ncurses
GNU_CONFIGURE= yes
PLIST_FILES= bin/netrik \
man/man1/netrik.1.gz \
man/man5/netrikrc.5.gz
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} "s|^CFLAGS =|CFLAGS?=|" ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} "s|ncursesw|${NCURSES_IMPL}|g" ${WRKSRC}/configure
@${REINPLACE_CMD} "s/#include <ncursesw\//#include </" \
${WRKSRC}/*.c
.include <bsd.port.mk>