1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/net-mgmt/nagstamon/Makefile
Ruslan Makhmatkhanov 882dd9b30b - eliminate bogus py-setuptools dependency (port using distutils for installing)
- strict python version to 2.x only
- bump PORTREVISION because of depencies change

Approved by:    ehaupt (maintainer, via mail)
2012-06-15 04:29:18 +00:00

40 lines
802 B
Makefile

# New ports collection makefile for: nagstamon
# Date created: 26 May 2011
# Whom: Emanuel Haupt <ehaupt@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= nagstamon
PORTVERSION= 0.9.9
PORTREVISION= 2
CATEGORIES= net-mgmt python
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION} \
CRITICAL/.
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Nagios status monitor for your desktop
LICENSE= GPLv2
RUN_DEPENDS= sox:${PORTSDIR}/audio/sox
USE_PYTHON= -2.7
USE_PYDISTUTILS=yes
USE_GNOME= pygtk2 librsvg2
MAN1= nagstamon.1
MAKE_JOBS_SAFE= yes
WRKSRC= ${WRKDIR}/Nagstamon
post-patch:
@${REINPLACE_CMD} -e 's|share/\(man/man1\)|\1|' ${WRKSRC}/setup.py
post-install:
@${LN} ${PREFIX}/bin/${PORTNAME}.py ${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>