2015-04-02 20:18:50 +00:00
|
|
|
# Created by: Thomas Hurst <tom@hur.st>
|
|
|
|
|
|
|
|
PORTNAME= lnav
|
2020-11-16 17:14:31 +00:00
|
|
|
PORTVERSION= 0.9.0
|
2015-04-02 20:18:50 +00:00
|
|
|
CATEGORIES= sysutils
|
2020-11-16 17:14:31 +00:00
|
|
|
MASTER_SITES= https://github.com/tstack/${PORTNAME}/releases/download/v${PORTVERSION}/
|
2015-04-02 20:18:50 +00:00
|
|
|
|
|
|
|
MAINTAINER= tom@hur.st
|
|
|
|
COMMENT= Terminal based log file navigator
|
|
|
|
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
|
2020-11-16 17:14:31 +00:00
|
|
|
LIB_DEPENDS= libpcrecpp.so:devel/pcre
|
2019-02-04 22:51:52 +00:00
|
|
|
|
2020-11-16 17:14:31 +00:00
|
|
|
USES= autoreconf compiler:c++14-lang gmake ncurses readline sqlite tar:bz2
|
2015-04-02 20:18:50 +00:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2016-12-11 17:01:33 +00:00
|
|
|
CONFIGURE_ARGS= --disable-static
|
2015-04-02 20:18:50 +00:00
|
|
|
|
|
|
|
PLIST_FILES= bin/lnav man/man1/lnav.1.gz
|
|
|
|
|
2017-06-14 07:48:44 +00:00
|
|
|
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
|
|
|
|
|
2015-04-02 20:18:50 +00:00
|
|
|
.include <bsd.port.mk>
|