freebsd-ports/net-mgmt/p5-Nagios-Plugins-Memcached/Makefile
2013-11-05 12:02:05 +00:00

33 lines
914 B
Makefile

# $FreeBSD$
PORTNAME= Nagios-Plugins-Memcached
PORTVERSION= 0.02
PORTREVISION= 1
CATEGORIES= net-mgmt perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:ZIGOROU
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Module to check memcached via nagios
USES= perl5
USE_PERL5= configure
BUILD_DEPENDS+= p5-Nagios-Plugin>=0:${PORTSDIR}/net-mgmt/p5-Nagios-Plugin \
p5-Cache-Memcached>=0:${PORTSDIR}/databases/p5-Cache-Memcached \
p5-Carp-Clan>=0:${PORTSDIR}/devel/p5-Carp-Clan
RUN_DEPENDS+= ${BUILD_DEPENDS}
PORTDOCS= Changes README
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
${INSTALL} ${WRKSRC}/bin/check_memcached ${STAGEDIR}${PREFIX}/libexec/nagios/check_memcached
.if !defined(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}/
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
.include <bsd.port.mk>