importing Nagstamon.Helpers in build.py causing a build failure if some runtime deps are missing. Reported by naddy@.
40 lines
882 B
Makefile
Executable File
40 lines
882 B
Makefile
Executable File
# $OpenBSD: Makefile,v 1.29 2020/03/07 17:36:42 sthen Exp $
|
|
|
|
COMMENT= nagios status monitor for the Desktop
|
|
|
|
MODPY_EGG_VERSION= 3.4.1
|
|
DISTNAME= Nagstamon-${MODPY_EGG_VERSION}
|
|
PKGNAME= ${DISTNAME:L}
|
|
WRKDIST= ${WRKDIR}/Nagstamon
|
|
|
|
CATEGORIES= x11 net
|
|
|
|
HOMEPAGE= http://nagstamon.ifw-dresden.de/
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
MASTER_SITES= https://nagstamon.ifw-dresden.de/files/stable/
|
|
|
|
MODULES= lang/python
|
|
|
|
MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3}
|
|
MODPY_SETUPTOOLS= Yes
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
RUN_DEPENDS= devel/desktop-file-utils \
|
|
security/py-keyring${MODPY_FLAVOR} \
|
|
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>
|