From ac710b0a76a217783f9c179176ff22f3357fcf26 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Sun, 10 Aug 2014 08:29:14 +0000 Subject: [PATCH] Fix a stage violation and shebangfix --- net-mgmt/nagios-openldap-plugins/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net-mgmt/nagios-openldap-plugins/Makefile b/net-mgmt/nagios-openldap-plugins/Makefile index a91422faf015..68f60c789621 100644 --- a/net-mgmt/nagios-openldap-plugins/Makefile +++ b/net-mgmt/nagios-openldap-plugins/Makefile @@ -21,8 +21,9 @@ RUN_DEPENDS= p5-perl-ldap>=0:${PORTSDIR}/net/p5-perl-ldap \ PORTSCOUT= ignore:1 NO_BUILD= yes -USES= perl5 +USES= perl5 shebangfix USE_PERL5= run +SHEBANG_FILES= check_*.pl PLIST_FILES= libexec/nagios/check_berkeleydb_locks.pl \ libexec/nagios/check_ldap_dn.pl \ @@ -44,7 +45,7 @@ post-patch: ${WRKSRC}/*.pl do-install: - @${MKDIR} ${PREFIX}/libexec/nagios + @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/nagios @(cd ${WRKSRC} && ${COPYTREE_BIN} . ${STAGEDIR}${PREFIX}/libexec/nagios/) .include