summaryrefslogtreecommitdiff
path: root/net-mgmt/nagnu/Makefile
blob: 31ac0a2ed0297acaf251d95f7dec8497092e8db1 (plain)
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
PORTNAME=	nagnu
PORTVERSION=	1.1.3
CATEGORIES=	net-mgmt

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

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

BROKEN_FreeBSD_13=	ld: error: duplicate symbol: errorss
BROKEN_FreeBSD_14=	ld: error: duplicate symbol: errorss

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>