aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/nagiosagent/Makefile
blob: 2ffed50329b46e3772e9f84fb844131a98c3c188 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# New ports collection makefile for:    NagiosAgent
# Date created:             02 Jun 2009
# Whom:                 Eugene Mychlo <myc@barev.net>
#
# $FreeBSD$
#

PORTNAME=   NagiosAgent
PORTVERSION=    1.2.0.1
PORTREVISION=   3
CATEGORIES= net-mgmt
MASTER_SITES=   http://www.netpatch.ru/projects/nagiosagent/ \
        http://www.netpatch.ru/projects/nagiosagent/old/
DISTNAME=   ${PORTNAME}-${DISTVERSION}-src

MAINTAINER= myc@barev.net
COMMENT=    Qt-based frontend to Nagios

PLIST_FILES=    bin/NagiosAgent \
        share/pixmaps/NagiosAgent.png

USE_ZIP=    yes
USE_QT4=    gui network corelib qmake_build uic_build rcc_build moc_build

DESKTOP_ENTRIES=    "NagiosAgent" "GUI client for Nagios" \
            "${PREFIX}/share/pixmaps/NagiosAgent.png" \
            "NagiosAgent" "Network;Qt;" false

do-configure:
    @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${QMAKE} -unix NagiosAgent.pro

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/NagiosAgent    ${PREFIX}/bin/NagiosAgent
    ${INSTALL_DATA} ${WRKSRC}/resources/icon16x16.png ${PREFIX}/share/pixmaps/NagiosAgent.png

.include <bsd.port.mk>