2023-04-19 10:08:03 +02:00
|
|
|
# $NetBSD: Makefile,v 1.74 2023/04/19 08:11:09 adam Exp $
|
2010-04-11 11:24:20 +02:00
|
|
|
|
2015-07-03 16:41:42 +02:00
|
|
|
VERSION= 1.0.1
|
|
|
|
DISTNAME= Nagstamon-${VERSION}
|
|
|
|
PKGNAME= ${DISTNAME:S/N/n/}
|
2023-04-19 10:08:03 +02:00
|
|
|
PKGREVISION= 28
|
2010-04-11 11:24:20 +02:00
|
|
|
CATEGORIES= net python
|
2015-07-03 16:41:42 +02:00
|
|
|
MASTER_SITES= https://nagstamon.ifw-dresden.de/files-nagstamon/stable/
|
2010-04-11 11:24:20 +02:00
|
|
|
|
|
|
|
MAINTAINER= imil@gcu.info
|
2020-01-26 18:30:40 +01:00
|
|
|
HOMEPAGE= https://nagstamon.ifw-dresden.de/
|
2010-04-11 11:24:20 +02:00
|
|
|
COMMENT= Nagios status monitor which takes place in systray or on desktop
|
|
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
|
2014-01-25 11:29:56 +01:00
|
|
|
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
|
|
|
|
|
2010-04-11 11:24:20 +02:00
|
|
|
USE_LANGUAGES= # none
|
|
|
|
|
2012-02-18 18:05:27 +01:00
|
|
|
WRKSRC= ${WRKDIR}/Nagstamon
|
2010-04-11 11:24:20 +02:00
|
|
|
|
|
|
|
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
|
2012-02-18 18:05:27 +01:00
|
|
|
REPLACE_PYTHON= ${WRKSRC}/*.py
|
|
|
|
REPLACE_PYTHON+= ${WRKSRC}/Nagstamon/Server/Multisite.py
|
2010-04-11 11:24:20 +02:00
|
|
|
|
2019-09-02 15:19:35 +02:00
|
|
|
PYTHON_VERSIONS_ACCEPTED= 27 # py-libxslt, py-ORBit via py-gnome2, py-gtk2
|
2010-04-11 11:24:20 +02:00
|
|
|
|
2012-02-18 18:05:27 +01:00
|
|
|
SUBST_CLASSES+= mandir
|
|
|
|
SUBST_STAGE.mandir= pre-configure
|
2019-05-23 21:22:54 +02:00
|
|
|
SUBST_VARS.mandir= PKGMANDIR
|
2012-02-18 18:05:27 +01:00
|
|
|
SUBST_FILES.mandir= setup.py
|
|
|
|
|
|
|
|
# Upstream renamed script from nagstamon to nagstamon.py
|
|
|
|
# Preserve compatibility with previous version of the package
|
2010-04-11 11:24:20 +02:00
|
|
|
post-install:
|
2012-02-18 18:05:27 +01:00
|
|
|
${LN} -s ${DESTDIR}${PREFIX}/bin/nagstamon.py \
|
|
|
|
${DESTDIR}${PREFIX}/bin/nagstamon
|
2010-04-11 11:24:20 +02:00
|
|
|
|
|
|
|
.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"
|
2022-07-24 23:15:18 +02:00
|
|
|
.include "../../lang/python/egg.mk"
|
2010-04-11 11:24:20 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|