diff --git a/sysutils/Makefile b/sysutils/Makefile index 48441eaca503..9d7e83103cf8 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -476,6 +476,7 @@ SUBDIR += livecd SUBDIR += lmmon SUBDIR += lmon + SUBDIR += lnav SUBDIR += log_analysis SUBDIR += loganalyzer SUBDIR += logrotate diff --git a/sysutils/lnav/Makefile b/sysutils/lnav/Makefile new file mode 100644 index 000000000000..41e1e4a06e92 --- /dev/null +++ b/sysutils/lnav/Makefile @@ -0,0 +1,25 @@ +# Created by: Thomas Hurst +# $FreeBSD$ + +PORTNAME= lnav +PORTVERSION= 0.7.2 +CATEGORIES= sysutils + +MAINTAINER= tom@hur.st +COMMENT= Terminal based log file navigator + +LICENSE= BSD2CLAUSE + +BUILD_DEPENDS= ${LOCALBASE}/lib/libpcre.a:${PORTSDIR}/devel/pcre + +USE_GITHUB= yes +GH_ACCOUNT= tstack +GH_TAGNAME= v${PORTVERSION} + +GNU_CONFIGURE= yes +USES= ncurses readline python +USE_SQLITE= 3 + +PLIST_FILES= bin/lnav man/man1/lnav.1.gz + +.include diff --git a/sysutils/lnav/distinfo b/sysutils/lnav/distinfo new file mode 100644 index 000000000000..008d54d119c5 --- /dev/null +++ b/sysutils/lnav/distinfo @@ -0,0 +1,2 @@ +SHA256 (tstack-lnav-0.7.2-v0.7.2_GH0.tar.gz) = 264dc02614d696f1911c4886f7ccef55f1941e10ed34b53869ae10bc8194b451 +SIZE (tstack-lnav-0.7.2-v0.7.2_GH0.tar.gz) = 839805 diff --git a/sysutils/lnav/pkg-descr b/sysutils/lnav/pkg-descr new file mode 100644 index 000000000000..53e8331fd9bb --- /dev/null +++ b/sysutils/lnav/pkg-descr @@ -0,0 +1,4 @@ +lnav is an ncurses based log file viewer, with syntax highlighting, +filtering, tab completion for most operations, and sessions support. + +WWW: http://lnav.org/