39 lines
825 B
Makefile
39 lines
825 B
Makefile
# $OpenBSD: Makefile,v 1.26 2020/08/08 07:36:57 kirby Exp $
|
|
|
|
COMMENT = realtime console web log analyzer
|
|
|
|
DISTNAME = goaccess-1.4
|
|
REVISION = 0
|
|
|
|
CATEGORIES = www
|
|
|
|
HOMEPAGE = https://goaccess.io/
|
|
|
|
MAINTAINER = Kirill Bychkov <kirby@openbsd.org>
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += c crypto curses intl maxminddb pthread ssl
|
|
|
|
MASTER_SITES = https://tar.goaccess.io/
|
|
|
|
LIB_DEPENDS = devel/gettext,-runtime \
|
|
net/libmaxminddb
|
|
|
|
# libmaxminddb headers fail with base-gcc
|
|
COMPILER = base-clang ports-gcc
|
|
COMPILER_LANGS = c
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ARGS = --enable-geoip=mmdb \
|
|
--enable-utf8 \
|
|
--with-openssl \
|
|
--with-libiconv-prefix
|
|
|
|
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
FAKE_FLAGS = confdir="${PREFIX}/share/examples/goaccess"
|
|
|
|
.include <bsd.port.mk>
|