1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/net-mgmt/nagstamon/Makefile
Mathieu Arnold 4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00

35 lines
803 B
Makefile

# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD$
PORTNAME= nagstamon
PORTVERSION= 1.0.1
PORTREVISION= 2
CATEGORIES= net-mgmt python
MASTER_SITES= https://nagstamon.ifw-dresden.de/files/very_stable/ \
LOCAL/ehaupt
DISTNAME= Nagstamon-${PORTVERSION}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Nagios status monitor for your desktop
LICENSE= GPLv2
RUN_DEPENDS= sox:audio/sox \
${PYTHON_PKGNAMEPREFIX}keyring>=1.3:security/py-keyring@${PY_FLAVOR}
USES= cpe python:2.7
CPE_VENDOR= henri_wahl
USE_PYTHON= distutils
USE_GNOME= pygtk2 librsvg2
NO_ARCH= yes
WRKSRC= ${WRKDIR}/Nagstamon
post-patch:
@${REINPLACE_CMD} -e 's|share/\(man/man1\)|\1|' ${WRKSRC}/setup.py
post-install:
@${LN} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}.py ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>