pkgsrc/net/py-hatop/Makefile
wiz 63f8a3be79 *: update for Python base package change
Instead of depending on one of the removed packages (that are now included
in the base Python packages), include batteries-included.mk to require
a Python version that supplies them.

Remove now included packages.

Bump PKGREVISION.
2023-10-23 06:37:32 +00:00

36 lines
1,019 B
Makefile

# $NetBSD: Makefile,v 1.5 2023/10/23 06:37:50 wiz Exp $
DISTNAME= hatop-0.7.7
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= http://hatop.googlecode.com/files/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://feurix.org/projects/hatop/
COMMENT= Interactive client and monitoring tool for HAProxy
LICENSE= gnu-gpl-v3
DEPENDS+= haproxy>=1.4:../../net/haproxy
USE_LANGUAGES= # none
NO_BUILD= yes
PYTHON_VERSIONS_ACCEPTED= 27
REPLACE_PYTHON= bin/hatop
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
PY_PATCHPLIST= yes
do-configure:
# XXX: Blank, but we can't define NO_CONFIGURE and use REPLACE_PYTHON...
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bin/hatop \
${DESTDIR}${PREFIX}/bin/hatop${PYVERSSUFFIX}
${INSTALL_MAN} ${WRKSRC}/man/hatop.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/hatop${PYVERSSUFFIX}.1
.include "../../lang/python/batteries-included.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"