9dff352320
for where it resulted in a change in output from build-depends-list or run-depends-list. Approved by: portmgr (adamw)
35 lines
911 B
Makefile
35 lines
911 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= Nagios-Plugins-Memcached
|
|
PORTVERSION= 0.02
|
|
PORTREVISION= 2
|
|
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 shebangfix
|
|
USE_PERL5= configure
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
RUN_DEPENDS= p5-Nagios-Plugin>=0:net-mgmt/p5-Nagios-Plugin \
|
|
p5-Cache-Memcached>=0:databases/p5-Cache-Memcached \
|
|
p5-Carp-Clan>=0:devel/p5-Carp-Clan
|
|
|
|
PORTDOCS= Changes README
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
SHEBANG_FILES= bin/check_memcached
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios
|
|
${INSTALL} ${WRKSRC}/bin/check_memcached ${STAGEDIR}${PREFIX}/libexec/nagios/check_memcached
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}/
|
|
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
|
|
|
.include <bsd.port.mk>
|