mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Assign RUN_DEPENDS properly. Apply shebangfix to fix a "/usr/bin/perl",
and remove a @dirrmtry from the plist.
This commit is contained in:
parent
8a548f82a5
commit
d82c3d245d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=379362
2 changed files with 5 additions and 4 deletions
|
@ -11,18 +11,20 @@ PKGNAMEPREFIX= p5-
|
|||
MAINTAINER= perl@FreeBSD.org
|
||||
COMMENT= Module to check memcached via nagios
|
||||
|
||||
USES= perl5
|
||||
USES= perl5 shebangfix
|
||||
USE_PERL5= configure
|
||||
|
||||
BUILD_DEPENDS+= p5-Nagios-Plugin>=0:${PORTSDIR}/net-mgmt/p5-Nagios-Plugin \
|
||||
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}
|
||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
|
||||
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
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
%%PERL5_MAN3%%/Nagios::Plugins::Memcached.3.gz
|
||||
%%SITE_PERL%%/Nagios/Plugins/Memcached.pm
|
||||
libexec/nagios/check_memcached
|
||||
@dirrmtry libexec/nagios
|
||||
|
|
Loading…
Add table
Reference in a new issue