1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/net-mgmt/pancho/Makefile
Mark Linimon 9839011ec3 Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl.

Work done by:	gabor
Sponsored by:	Google Summer of Code 2007
Hat:		portmgr
2007-09-08 01:12:10 +00:00

41 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.3.9
CATEGORIES= net-mgmt
MASTER_SITES= http://www.pancho.org/archives/pancho/ \
http://ipv42.net/distfiles/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-mgmt/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}
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>