# $NetBSD: Makefile,v 1.18 2019/08/23 01:48:00 schmonz Exp $
DISTNAME= goaccess-1.3
CATEGORIES= www
MASTER_SITES= http://tar.goaccess.io/
MAINTAINER= wiedi@frubar.net
HOMEPAGE= http://goaccess.prosoftcorp.com/
COMMENT= Real-time web log analyzer
LICENSE= gnu-gpl-v2
GNU_CONFIGURE= yes
USE_LANGUAGES= c99
USE_TOOLS+= pkg-config aclocal autoconf automake
USE_NCURSES= yes
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
CONF_FILES= ${EGDIR}/goaccess.conf ${PKG_SYSCONFDIR}/goaccess.conf
LIBS.SunOS+= -lsocket -lnsl
CPPFLAGS.SunOS+= -D__EXTENSIONS__
.include "options.mk"
pre-configure:
cd ${WRKSRC} && autoreconf -fiv
.include "../../devel/glib2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"