2013-02-16 12:18:58 +01:00
|
|
|
# $NetBSD: Makefile,v 1.24 2013/02/16 11:23:57 wiz Exp $
|
2010-04-11 11:24:20 +02:00
|
|
|
#
|
|
|
|
|
2012-09-05 23:18:39 +02:00
|
|
|
VERSION= 0.9.9
|
2010-04-11 11:24:20 +02:00
|
|
|
DISTNAME= nagstamon_${VERSION}
|
|
|
|
PKGNAME= ${DISTNAME:S/_/-/}
|
2013-02-16 12:18:58 +01:00
|
|
|
PKGREVISION= 6
|
2010-04-11 11:24:20 +02:00
|
|
|
CATEGORIES= net python
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nagstamon/}
|
|
|
|
|
|
|
|
MAINTAINER= imil@gcu.info
|
2012-01-20 05:44:49 +01:00
|
|
|
HOMEPAGE= http://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
|
|
|
|
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
PYDISTUTILSPKG= yes
|
|
|
|
|
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
|
|
|
|
|
|
|
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
|
|
|
|
|
2012-02-18 18:05:27 +01:00
|
|
|
SUBST_CLASSES+= mandir
|
|
|
|
SUBST_STAGE.mandir= pre-configure
|
|
|
|
SUBST_SED.mandir= -e s,@PKGMANDIR@,${PKGMANDIR},g
|
|
|
|
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"
|
|
|
|
.include "../../lang/python/extension.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|