2001-11-05 15:58:39 +01:00
|
|
|
# New ports collection makefile for: pancho
|
|
|
|
# Date created: november 2nd, 2001
|
|
|
|
# Whom: Nicolas Jombart <Nicolas.Jombart@hsc-labs.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pancho
|
2005-10-30 22:28:13 +01:00
|
|
|
PORTVERSION= 9.3.9
|
2004-02-23 05:42:13 +01:00
|
|
|
CATEGORIES= net-mgmt
|
2004-10-12 09:14:12 +02:00
|
|
|
MASTER_SITES= http://www.pancho.org/archives/pancho/ \
|
2004-06-11 23:47:58 +02:00
|
|
|
http://ipv42.net/distfiles/pancho/
|
2001-12-08 21:53:05 +01:00
|
|
|
DISTNAME= pancho-v${PORTVERSION}
|
2001-11-05 15:58:39 +01:00
|
|
|
|
2003-01-18 23:48:27 +01:00
|
|
|
MAINTAINER= ecu@ipv42.net
|
2003-03-25 03:50:51 +01:00
|
|
|
COMMENT= Network devices management tool using TFTP and SNMP
|
2001-11-05 15:58:39 +01:00
|
|
|
|
2004-02-23 05:42:13 +01:00
|
|
|
RUN_DEPENDS= ${SITE_PERL}/Net/SNMP.pm:${PORTSDIR}/net-mgmt/p5-Net-SNMP \
|
2003-11-01 23:09:41 +01:00
|
|
|
${SITE_PERL}/Config/IniFiles.pm:${PORTSDIR}/devel/p5-Config-IniFiles \
|
|
|
|
${SITE_PERL}/Parallel/ForkManager.pm:${PORTSDIR}/devel/p5-Parallel-ForkManager
|
2001-11-05 15:58:39 +01:00
|
|
|
|
2003-01-16 03:51:48 +01:00
|
|
|
WRKSRC= ${WRKDIR}/Pancho-${PORTVERSION}
|
|
|
|
PERL_CONFIGURE= YES
|
2001-11-05 15:58:39 +01:00
|
|
|
|
2003-01-16 03:51:48 +01:00
|
|
|
MAN1= pancho.1
|
2001-11-05 15:58:39 +01:00
|
|
|
|
2003-11-01 23:09:41 +01:00
|
|
|
DOCS= README README.plugins Plugin.sample
|
|
|
|
|
2003-01-16 03:51:48 +01:00
|
|
|
post-patch:
|
|
|
|
@${MV} ${WRKSRC}/lib/Pancho/Plugins/README ${WRKSRC}/README.plugins
|
|
|
|
@${MV} ${WRKSRC}/lib/Pancho/Plugins/Plugin.sample ${WRKSRC}/
|
2001-11-05 15:58:39 +01:00
|
|
|
|
2003-01-16 03:51:48 +01:00
|
|
|
post-install:
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/samples/sample.conf ${PREFIX}/etc/pancho.conf.sample
|
|
|
|
.if !defined(NOPORTDOCS)
|
2003-10-04 14:41:07 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2003-11-01 23:09:41 +01:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
2003-01-16 03:51:48 +01:00
|
|
|
.endif
|
2003-10-04 14:41:07 +02:00
|
|
|
|
2001-11-05 15:58:39 +01:00
|
|
|
.include <bsd.port.mk>
|