[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / net / nagstamon

File: [cvs.NetBSD.org] / pkgsrc / net / nagstamon / Makefile (download)

Revision 1.40, Wed Aug 3 10:23:17 2016 UTC (3 years, 4 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3
Changes since 1.39: +2 -2 lines

Revbump after graphics/gd update

# $NetBSD: Makefile,v 1.40 2016/08/03 10:23:17 adam Exp $

VERSION=	1.0.1
DISTNAME=	Nagstamon-${VERSION}
PKGNAME=	${DISTNAME:S/N/n/}
PKGREVISION=	2
#PKGREVISION=	14
CATEGORIES=	net python
MASTER_SITES=	https://nagstamon.ifw-dresden.de/files-nagstamon/stable/

MAINTAINER=	imil@gcu.info
HOMEPAGE=	http://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_INCOMPATIBLE=	34 35 # py-libxslt, py-ORBit via py-gnome2, py-gtk2

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
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"