1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/net-mgmt/nagios-certexp-plugin/Makefile
Erwin Lansing 3d19164eb6 Update MASTER_SITES
Submitted by:	Eric Cronin <ecronin@gizmolabs.org> (maintainer),
		pointyhat
2008-03-13 19:24:57 +00:00

43 lines
1.1 KiB
Makefile

# New ports collection makefile for: nagios-certexp-plugin
# Date created: 2007-03-20
# Whom: ecronin@gizmolabs.org
#
# $FreeBSD$
PORTNAME= nagios-certexp-plugin
PORTVERSION= 1.1
CATEGORIES= net-mgmt
MASTER_SITES= ftp://ftp.jhweiss.de/pub/users/weiss/nagios/plugins/
DISTNAME= check_certexp.pl
EXTRACT_SUFX=
MAINTAINER= ecronin@gizmolabs.org
COMMENT= Nagios plugin for checking SSL server certificate expiration
RUN_DEPENDS+= ${SITE_PERL}/mach/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net-SSLeay \
${SITE_PERL}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip \
${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long
USE_PERL5= yes
NO_WRKSUBDIR= yes
NO_BUILD= yes
PLIST_FILES= ${NAGIOS_PLUGIN_DIR}/check_certexp.pl
PLIST_DIRS= ${NAGIOS_PLUGIN_DIR}
NAGIOS_PLUGIN_DIR= libexec/nagios
do-extract:
${MKDIR} ${WRKSRC}
${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}/check_certexp.pl
post-patch:
${REINPLACE_CMD} -e \
"s,/usr/local/nagios/libexec,${PREFIX}/${NAGIOS_PLUGIN_DIR}," \
${WRKSRC}/check_certexp.pl
do-install:
${MKDIR} ${PREFIX}/${NAGIOS_PLUGIN_DIR}
${INSTALL_SCRIPT} ${WRKSRC}/check_certexp.pl ${PREFIX}/${NAGIOS_PLUGIN_DIR}
.include <bsd.port.mk>