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
|
2003-03-25 03:50:51 +01:00
|
|
|
PORTVERSION= 9.1.0
|
2001-11-05 15:58:39 +01:00
|
|
|
CATEGORIES= net
|
2002-09-09 22:39:04 +02:00
|
|
|
MASTER_SITES= http://www.panchoproject.org/archives/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
|
|
|
|
2002-09-09 22:39:04 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/SNMP.pm:${PORTSDIR}/net/p5-Net-SNMP \
|
2002-11-01 18:58:44 +01:00
|
|
|
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Config/IniFiles.pm:${PORTSDIR}/devel/p5-Config-IniFiles \
|
|
|
|
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/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}
|
2002-04-20 17:40:25 +02:00
|
|
|
USE_PERL5= YES
|
2003-01-16 03:51:48 +01:00
|
|
|
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-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)
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
|
|
|
|
.for f in README README.plugins Plugin.sample
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/${PORTNAME}
|
|
|
|
.endfor
|
|
|
|
.endif
|
2001-11-05 15:58:39 +01:00
|
|
|
.include <bsd.port.mk>
|