freebsd-ports/net-mgmt/ciscoconf/Makefile
2000-06-29 07:03:02 +00:00

40 lines
1009 B
Makefile

# New ports collection makefile for: ciscoconf
# Date created: 11 September 1998
# Whom: jabley@clear.co.nz
#
# $FreeBSD$
#
PORTNAME= ciscoconf
PORTVERSION= 1.0.b1
CATEGORIES= net
MASTER_SITES= ftp://ftp.patho.gen.nz/pub/users/jabley/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= billf
DISTNAME= ciscoconf-1.0beta1
MAINTAINER= jabley@clear.co.nz
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>