1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/net-mgmt/fetchconfig/Makefile
Martin Wilke fd73392237 - Correct commit entry:
- Update to 0.22

PR:		168641
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com>
Approved by:	maintainer timeout
2012-08-05 05:56:37 +00:00

51 lines
1.4 KiB
Makefile

# New ports collection makefile for: fetchconfig
# Date created: 21 December 2008
# Whom: salexanov@gmail.com
#
# $FreeBSD$
#
PORTNAME= fetchconfig
PORTVERSION= 0.22
CATEGORIES= net-mgmt
MASTER_SITES= SAVANNAH
MAINTAINER= salexanov@gmail.com
COMMENT= Perl script for retrieving configuration of various network devices
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= p5-Net-Telnet>=0:${PORTSDIR}/net/p5-Net-Telnet
RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_PERL5= yes
NO_BUILD= yes
MODULES= model/Abstract.pm model/CiscoCAT.pm model/CiscoIOS.pm \
model/Dell.pm model/Detector.pm model/FortiGate.pm \
model/Parks.pm model/ProCurve.pm model/Riverstone.pm \
model/DmSwitch.pm model/Terayon.pm Constants.pm Logger.pm \
model/3ComMSR.pm model/CiscoASA.pm model/MikroTik.pm \
model/CiscoPIX.pm model/JunOS.pm model/TellabsMSR.pm
PORTDOCS= CHANGES README device_table.example
post-patch:
@${REINPLACE_CMD} -e '1s|.*|#!${PERL} -w|' ${WRKSRC}/${PORTNAME}.pl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME}
${MKDIR} ${PREFIX}/${SITE_PERL_REL}/${PORTNAME}/model
.for f in ${MODULES}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/${f} ${PREFIX}/${SITE_PERL_REL}/${PORTNAME}/${f}
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>