openbsd-ports/sysutils/apachetop/Makefile
2022-03-11 19:57:10 +00:00

26 lines
568 B
Makefile

COMMENT = top-like monitor for Apache
V = 0.19.7
DISTNAME = apachetop-$V
CATEGORIES = sysutils
MAINTAINER = Gonzalo L. R. <gonzalo@openbsd.org>
HOMEPAGE = https://github.com/tessus/apachetop
# BSD
PERMIT_PACKAGE= Yes
WANTLIB += c m curses readline ${COMPILER_LIBCXX}
COMPILER = base-clang ports-gcc base-gcc
MASTER_SITES = https://github.com/tessus/apachetop/releases/download/$V/
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = NCURSES_CFLAGS=' ' \
NCURSES_LIBS="-lncurses"
CONFIGURE_ARGS = --with-logfile=/var/www/logs/access_log
.include <bsd.port.mk>