summaryrefslogtreecommitdiff
path: root/net-mgmt/pancho/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/pancho/Makefile')
-rw-r--r--net-mgmt/pancho/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/net-mgmt/pancho/Makefile b/net-mgmt/pancho/Makefile
index cb01c220afec..b03c016f37fd 100644
--- a/net-mgmt/pancho/Makefile
+++ b/net-mgmt/pancho/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= pancho
-PORTVERSION= 9.2.2
+PORTVERSION= 9.2.4
CATEGORIES= net
MASTER_SITES= http://www.panchoproject.org/archives/pancho/
DISTNAME= pancho-v${PORTVERSION}
@@ -14,9 +14,9 @@ DISTNAME= pancho-v${PORTVERSION}
MAINTAINER= ecu@ipv42.net
COMMENT= Network devices management tool using TFTP and SNMP
-#RUN_DEPENDS= ${SITE_PERL}/Net/SNMP.pm:${PORTSDIR}/net/p5-Net-SNMP \
-# ${SITE_PERL}/Config/IniFiles.pm:${PORTSDIR}/devel/p5-Config-IniFiles \
-# ${SITE_PERL}/Parallel/ForkManager.pm:${PORTSDIR}/devel/p5-Parallel-ForkManager
+RUN_DEPENDS= ${SITE_PERL}/Net/SNMP.pm:${PORTSDIR}/net/p5-Net-SNMP \
+ ${SITE_PERL}/Config/IniFiles.pm:${PORTSDIR}/devel/p5-Config-IniFiles \
+ ${SITE_PERL}/Parallel/ForkManager.pm:${PORTSDIR}/devel/p5-Parallel-ForkManager
WRKSRC= ${WRKDIR}/Pancho-${PORTVERSION}
USE_PERL5= YES
@@ -24,6 +24,8 @@ PERL_CONFIGURE= YES
MAN1= pancho.1
+DOCS= README README.plugins Plugin.sample
+
post-patch:
@${MV} ${WRKSRC}/lib/Pancho/Plugins/README ${WRKSRC}/README.plugins
@${MV} ${WRKSRC}/lib/Pancho/Plugins/Plugin.sample ${WRKSRC}/
@@ -32,9 +34,7 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/samples/sample.conf ${PREFIX}/etc/pancho.conf.sample
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for f in README README.plugins Plugin.sample
- @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
-.endfor
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>