1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/net-mgmt/ciscoconf/Makefile
Garrett Wollman 60aab66567 Say hello to the new "net-mgmt" category. There are probably more
ports that belong here than the ones I have identified and moved in
this, first, pass.

Approved in principle by: marcus
2004-02-23 04:42:13 +00:00

39 lines
1.0 KiB
Makefile

# New ports collection makefile for: ciscoconf
# Date created: 11 September 1998
# Whom: jabley@clear.co.nz
#
# $FreeBSD$
#
PORTNAME= ciscoconf
PORTVERSION= 1.1
CATEGORIES= net-mgmt
MASTER_SITES= ftp://ftp.isc.org/isc/ciscoconf/ \
http://software.automagic.org/ciscoconf/
MAINTAINER= jabley@automagic.org
COMMENT= Fetches configuration from Cisco routers and stores them under RCS
BUILD_DEPENDS= makedepend:${PORTSDIR}/x11/XFree86
ALL_TARGET= depend all
MAN8= ciscoconfd.8 ciscoconfr.8
post-patch:
${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.old
${CAT} ${WRKSRC}/Makefile.old | \
${SED} -e 's#/usr/local#${PREFIX}#g' | \
${SED} -e 's#lib/cisco#share/cisco#' \
>> ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ciscoconfd ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/ciscoconfr ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/ciscoconfd.man ${PREFIX}/man/man8/ciscoconfd.8
${INSTALL_MAN} ${WRKSRC}/ciscoconfr.man ${PREFIX}/man/man8/ciscoconfr.8
post-install:
${MKDIR} ${PREFIX}/share/cisco/RCS
.include <bsd.port.mk>