aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/lnav/Makefile
blob: 0d897433b593190b18cdd45ccf7ba3c4b4ae9048 (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
34
35
36
37
38
39
# Created by: Thomas Hurst <tom@hur.st>
# $FreeBSD$

PORTNAME=   lnav
PORTVERSION=    0.8.2
DISTVERSIONPREFIX=  v
PORTREVISION=   2
CATEGORIES= sysutils

MAINTAINER= tom@hur.st
COMMENT=    Terminal based log file navigator

LICENSE=    BSD2CLAUSE

BROKEN_powerpc64=   fails to build: lnav.cc:(.text+0x509c): undefined reference to pcrecpp::RE::QuoteMeta[abi:cxx11](pcrecpp::StringPiece const&)

LIB_DEPENDS=    libpcrecpp.so:devel/pcre

USE_GITHUB= yes
GH_ACCOUNT= tstack

USES=       autoreconf compiler:c++14-lang gmake ncurses sqlite readline
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-static

PLIST_FILES=    bin/lnav man/man1/lnav.1.gz

OPTIONS_DEFINE= CURL
OPTIONS_DEFAULT=CURL
CURL_DESC=  Use libcurl for remote log file support

CURL_LIB_DEPENDS=   libcurl.so:ftp/curl
CURL_CONFIGURE_WITH=    libcurl

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/lnav ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/lnav.1 ${STAGEDIR}${MAN1PREFIX}/man/man1

.include <bsd.port.mk>