28 lines
631 B
Makefile
28 lines
631 B
Makefile
# $OpenBSD: Makefile,v 1.16 2021/02/23 16:37:54 gonzalo Exp $
|
|
|
|
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>
|