blob: aeaf599fc84546682a830793432ee3883ef69fbe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# $NetBSD: Makefile,v 1.64 2020/11/05 09:08:54 ryoon Exp $
VERSION= 1.0.1
DISTNAME= Nagstamon-${VERSION}
PKGNAME= ${DISTNAME:S/N/n/}
PKGREVISION= 18
CATEGORIES= net python
MASTER_SITES= https://nagstamon.ifw-dresden.de/files-nagstamon/stable/
MAINTAINER= imil@gcu.info
HOMEPAGE= https://nagstamon.ifw-dresden.de/
COMMENT= Nagios status monitor which takes place in systray or on desktop
LICENSE= gnu-gpl-v2
DEPENDS+= ${PYPKGPREFIX}-lxml>=2.2.4:../../textproc/py-lxml
DEPENDS+= ${PYPKGPREFIX}-libxslt>=1.1.24:../../textproc/py-libxslt
DEPENDS+= sox>=14.0.1:../../audio/sox
USE_LANGUAGES= # none
PYDISTUTILSPKG= yes
WRKSRC= ${WRKDIR}/Nagstamon
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
REPLACE_PYTHON= ${WRKSRC}/*.py
REPLACE_PYTHON+= ${WRKSRC}/Nagstamon/Server/Multisite.py
PYTHON_VERSIONS_ACCEPTED= 27 # py-libxslt, py-ORBit via py-gnome2, py-gtk2
SUBST_CLASSES+= mandir
SUBST_STAGE.mandir= pre-configure
SUBST_VARS.mandir= PKGMANDIR
SUBST_FILES.mandir= setup.py
# Upstream renamed script from nagstamon to nagstamon.py
# Preserve compatibility with previous version of the package
post-install:
${LN} -s ${DESTDIR}${PREFIX}/bin/nagstamon.py \
${DESTDIR}${PREFIX}/bin/nagstamon
.include "../../graphics/librsvg/buildlink3.mk"
.include "../../textproc/py-libxml2/buildlink3.mk"
.include "../../x11/py-gtk2/buildlink3.mk"
.include "../../x11/py-gnome2-extras/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"
|