freebsd-ports/databases/pg_activity/Makefile
Mathieu Arnold 4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00

30 lines
712 B
Makefile

# Created by: Jason Helfman <jgh@FreeBSD.org>
# $FreeBSD$
PORTNAME= pg_activity
PORTVERSION= 1.4.0
DISTVERSIONPREFIX= v
CATEGORIES= databases python
MAINTAINER= jgh@FreeBSD.org
COMMENT= Htop like application for PostgreSQL server activity monitoring
LICENSE= BSD3CLAUSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>=0:databases/py-psycopg2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}psutil>=0:sysutils/py-psutil@${PY_FLAVOR}
OPTIONS_DEFINE= DOCS
USES= python
USE_GITHUB= yes
GH_ACCOUNT= julmon
USE_PYTHON= autoplist distutils noegginfo concurrent optsuffix
PYDISTUTILS_INSTALLARGS= --with-man
post-patch:
${REINPLACE_CMD} -e 's|\/usr\/share|${MAN1PREFIX}|g' \
${WRKSRC}/setup.py
.include <bsd.port.mk>