aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/nagnu/Makefile
blob: 34df94d5456df21886fd6e5c1eccecaadb955e0b (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
# $FreeBSD$

PORTNAME=   nagnu
PORTVERSION=    1.1.3
CATEGORIES= net-mgmt

MAINTAINER= fredrik@min-hemsida.net
COMMENT=    Nagios dashboard

LICENSE=    BSD2CLAUSE
LICENSE_FILE=   ${WRKSRC}/LICENSE

LIB_DEPENDS=    libcurl.so:ftp/curl

USES=       ncurses
USE_GITHUB= yes
GH_ACCOUNT= frlen
PLIST_FILES=    bin/nagnu \
        man/man8/nagnu.8.gz \
        share/examples/nagnu/nagnu.conf.sample

GNU_CONFIGURE=  yes

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/nagnu ${STAGEDIR}${PREFIX}/bin

    ${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/nagnu
    ${INSTALL_DATA} ${WRKSRC}/nagnu.conf.sample \
        ${STAGEDIR}${PREFIX}/share/examples/nagnu/nagnu.conf.sample

    ${INSTALL_MAN} ${WRKSRC}/docs/nagnu.8 \
        ${STAGEDIR}${MANPREFIX}/man/man8

.include <bsd.port.mk>