aboutsummaryrefslogtreecommitdiffstats
path: root/www/netrik/Makefile
blob: 49df86d76fccba918825c48f35f012e4bf433c76 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Created by: Alan Eldridge <alane@FreeBSD.org>
# $FreeBSD$

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:${PORTSDIR}/ftp/wget

USE_GMAKE=  yes
GNU_CONFIGURE=  yes

PLIST_FILES=    bin/netrik \
        man/man1/netrik.1.gz \
        man/man5/netrikrc.5.gz

PORTDOCS=   *

post-patch:
    @${REINPLACE_CMD} "s/#include <ncursesw\//#include </" \
        ${WRKSRC}/*.c
.if defined(NOPORTDOCS)
    @${REINPLACE_CMD} "s/install-data-am: install-docDATA/install-data-am:/" \
        ${WRKSRC}/Makefile.in
    @${REINPLACE_CMD} "s/install-docDATA install-man/install-man/" \
        ${WRKSRC}/doc/Makefile.in
.endif

.include <bsd.port.mk>