1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00
freebsd-ports/net-mgmt/routers2-extensions/Makefile
Mathieu Arnold 8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00

45 lines
1.1 KiB
Makefile

# Created by: Xavier Beaudouin <kiwi@oav.net>
# $FreeBSD$
PORTNAME= routers2-extensions
PORTVERSION= 2.23
CATEGORIES= net-mgmt
MASTER_SITES= http://www.steveshipway.org/software/rrd/ \
ftp://ftp.oav.oav.net/routers2/
DISTNAME= routers2-v${PORTVERSION}
MAINTAINER= kiwi@oav.net
COMMENT= Extensions of routers2 frontend
RUN_DEPENDS= ${LOCALBASE}/www/routers2/routers2.cgi:net-mgmt/routers2 \
p5-Net-Telnet-Cisco>=0:net-mgmt/p5-Telnet-Cisco \
${LOCALBASE}/bin/htmldoc:textproc/htmldoc
WRKSRC= ${WRKDIR}/routers2-v${PORTVERSION}/extensions
USES= perl5 shebangfix
SHEBANG_FILES= trend.cgi \
showcfg.cgi \
tonagios.cgi
NO_BUILD= YES
NO_ARCH= yes
PORTDOCS= README *.txt extension.cgi.pl
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/*.cgi
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/www/routers2/extensions
${INSTALL_SCRIPT} ${WRKSRC}/*.cgi \
${STAGEDIR}${PREFIX}/www/routers2/extensions
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}; ${INSTALL_DATA} README *.txt extension.cgi.pl \
${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>