2013-04-17 00:37:32 +02:00
|
|
|
# Created by: Jason Helfman <jgh@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pg_activity
|
2015-02-13 02:01:44 +01:00
|
|
|
PORTVERSION= 1.2.0
|
2015-05-06 17:16:53 +02:00
|
|
|
DISTVERSIONPREFIX= v
|
2013-04-17 00:37:32 +02:00
|
|
|
CATEGORIES= databases python
|
|
|
|
|
|
|
|
MAINTAINER= jgh@FreeBSD.org
|
2015-03-09 17:14:11 +01:00
|
|
|
COMMENT= Htop like application for PostgreSQL server activity monitoring
|
2013-04-17 00:37:32 +02:00
|
|
|
|
2014-12-05 01:30:20 +01:00
|
|
|
LICENSE= BSD3CLAUSE
|
2013-04-17 00:37:32 +02:00
|
|
|
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>=0:${PORTSDIR}/databases/py-psycopg2 \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}psutil>=0:${PORTSDIR}/sysutils/py-psutil
|
|
|
|
|
2013-08-27 09:08:44 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2013-04-17 00:37:32 +02:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= julmon
|
|
|
|
|
2015-03-09 17:14:11 +01:00
|
|
|
USES= python:2.6+
|
2015-03-09 17:15:01 +01:00
|
|
|
USE_PYTHON= autoplist distutils noegginfo
|
2015-02-13 02:01:44 +01:00
|
|
|
PYDISTUTILS_INSTALLARGS= --with-man
|
2013-04-17 00:37:32 +02:00
|
|
|
|
2014-04-04 15:03:39 +02:00
|
|
|
post-patch:
|
2013-08-27 09:08:44 +02:00
|
|
|
${REINPLACE_CMD} -e 's|\/usr\/share|${MAN1PREFIX}|g' \
|
|
|
|
${WRKSRC}/setup.py
|
2013-04-17 00:37:32 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|