freebsd-ports/net/pancho/Makefile
Sergei Kolobov 0617052cd8 - Update to 9.2.4
- Uncomment RUN_DEPENDS
- Use of DOCS

PR:		58640
Submitted by:	maintainer
2003-11-01 22:09:41 +00:00

40 lines
1.1 KiB
Makefile

# New ports collection makefile for: pancho
# Date created: november 2nd, 2001
# Whom: Nicolas Jombart <Nicolas.Jombart@hsc-labs.com>
#
# $FreeBSD$
#
PORTNAME= pancho
PORTVERSION= 9.2.4
CATEGORIES= net
MASTER_SITES= http://www.panchoproject.org/archives/pancho/
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
WRKSRC= ${WRKDIR}/Pancho-${PORTVERSION}
USE_PERL5= YES
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}/
post-install:
@${INSTALL_DATA} ${WRKSRC}/samples/sample.conf ${PREFIX}/etc/pancho.conf.sample
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>