openbsd-ports/x11/nagstamon/Makefile

44 lines
934 B
Makefile
Executable File

# $OpenBSD: Makefile,v 1.19 2017/07/17 19:37:39 kili Exp $
COMMENT= nagios status monitor for the Desktop
MODPY_EGG_VERSION= 2.0
DISTNAME= Nagstamon-${MODPY_EGG_VERSION}
PKGNAME= ${DISTNAME:L}
WRKDIST= ${WRKDIR}/Nagstamon
REVISION= 1
CATEGORIES= x11 net
HOMEPAGE= http://nagstamon.ifw-dresden.de/
MAINTAINER= Nicolas P. M. Legrand <nlegrand@ethelred.fr>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nagstamon/}
PKG_ARCH= *
MODULES= lang/python
MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3}
MODPY_SETUPTOOLS= Yes
BUILD_DEPENDS= x11/py-qt5${MODPY_FLAVOR}
RUN_DEPENDS= devel/desktop-file-utils \
sysutils/py-psutil${MODPY_FLAVOR} \
www/py-beautifulsoup4${MODPY_FLAVOR} \
www/py-requests${MODPY_FLAVOR} \
x11/py-qt5${MODPY_FLAVOR}
NO_TEST= Yes
post-install:
cd ${PREFIX}/bin && mv nagstamon.py nagstamon
gunzip ${PREFIX}/man/man1/nagstamon.1.gz
.include <bsd.port.mk>