Tweak net-mgmt/icingaweb2-module-businessprocess version 2.2.0_2
[dports.git] / net-mgmt / ciscoconf / Makefile
1 PORTNAME=       ciscoconf
2 PORTVERSION=    1.1
3 CATEGORIES=     net-mgmt
4 MASTER_SITES=   ISC/ciscoconf/ \
5                 http://software.automagic.org/ciscoconf/
6
7 MAINTAINER=     jabley@automagic.org
8 COMMENT=        Fetches configuration from Cisco routers and stores them under RCS
9
10 BUILD_DEPENDS=  makedepend:devel/makedepend
11
12 ALL_TARGET=     depend all
13
14 post-patch:
15         ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.old
16         ${CAT} ${WRKSRC}/Makefile.old | \
17         ${SED} -e 's#/usr/local#${PREFIX}#g' | \
18         ${SED} -e 's#lib/cisco#share/cisco#' \
19         >> ${WRKSRC}/Makefile
20
21 do-install:
22         ${INSTALL_PROGRAM} ${WRKSRC}/ciscoconfd ${STAGEDIR}${PREFIX}/bin
23         ${INSTALL_SCRIPT} ${WRKSRC}/ciscoconfr ${STAGEDIR}${PREFIX}/bin
24         ${INSTALL_MAN} ${WRKSRC}/ciscoconfd.man \
25                 ${STAGEDIR}${MANPREFIX}/man/man8/ciscoconfd.8
26         ${INSTALL_MAN} ${WRKSRC}/ciscoconfr.man \
27                 ${STAGEDIR}${MANPREFIX}/man/man8/ciscoconfr.8
28         @${MKDIR} ${STAGEDIR}${PREFIX}/share/cisco/RCS
29
30 .include <bsd.port.mk>