mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
d632560661
Approved by: portmgr (blanket)
32 lines
745 B
Makefile
32 lines
745 B
Makefile
PORTNAME= netrik
|
|
PORTVERSION= 1.16.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= www
|
|
MASTER_SITES= SF/${PORTNAME}/stable/${PORTVERSION}%20%28beta%29
|
|
|
|
MAINTAINER= ale@FreeBSD.org
|
|
COMMENT= Text web browser, ambitious, in active development
|
|
WWW= https://netrik.sourceforge.net/
|
|
|
|
RUN_DEPENDS= wget:ftp/wget
|
|
|
|
USES= cpe gmake ncurses
|
|
GNU_CONFIGURE= yes
|
|
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
|
|
|
|
PLIST_FILES= bin/netrik \
|
|
share/man/man1/netrik.1.gz \
|
|
share/man/man5/netrikrc.5.gz
|
|
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} "s|^CFLAGS =|CFLAGS?=|" ${WRKSRC}/Makefile.in
|
|
@${REINPLACE_CMD} "s|-lncursesw|${NCURSESLIBS}|g" ${WRKSRC}/configure
|
|
@${REINPLACE_CMD} "s/#include <ncursesw\//#include </" \
|
|
${WRKSRC}/*.c
|
|
|
|
.include <bsd.port.mk>
|