openbsd-ports/databases/pg_statsinfo/Makefile
2019-02-19 05:10:26 +00:00

24 lines
520 B
Makefile

# $OpenBSD: Makefile,v 1.12 2019/02/19 05:10:26 jeremy Exp $
COMMENT = monitor PostgreSQL activity & statistics
DISTNAME = pg_statsinfo-10.0
CATEGORIES = databases
HOMEPAGE = http://pgstatsinfo.sourceforge.net/
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pgstatsinfo/}
USE_GMAKE = Yes
MAKE_FLAGS = USE_PGXS=1 CFLAGS="-DPG_USE_INLINE" LDFLAGS=-lkvm
BUILD_DEPENDS = databases/postgresql,-server
LIB_DEPENDS = databases/postgresql
WANTLIB += c kvm pq pthread
.include <bsd.port.mk>