summaryrefslogtreecommitdiff
path: root/net-mgmt/check_ssl_cert/Makefile
blob: 32e00d2f00b08e4f17545e9847dee9499abd8070 (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

PORTNAME=	check_ssl_cert
DISTVERSIONPREFIX=	v
DISTVERSION=	2.0.0
CATEGORIES=	net-mgmt

MAINTAINER=	cmt@FreeBSD.org
COMMENT=	Nagios/Icinga plugin for checking SSL/TLS certificates

LICENSE=	GPLv3

RUN_DEPENDS=	expect:lang/expect \
		curl:ftp/curl \
		p5-TimeDate>=0:devel/p5-TimeDate

NO_BUILD=	yes
NO_ARCH=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	matteocorti

PLIST_FILES=	libexec/nagios/check_ssl_cert \
		${MANPREFIX}/man/man1/check_ssl_cert.1.gz

do-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
	${INSTALL_SCRIPT} ${WRKSRC}/check_ssl_cert ${STAGEDIR}${PREFIX}/libexec/nagios/
	${INSTALL_MAN} ${WRKSRC}/check_ssl_cert.1 ${STAGEDIR}${MANPREFIX}/man/man1

.include <bsd.port.mk>