summaryrefslogtreecommitdiff
path: root/net/ciscoconf/Makefile
blob: 9f4f086e9b76535f713cd64fc6edf3a57b72d614 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for: 	ciscoconf
# Version required: 			1.0beta1
# Date created: 			11 September 1998
# Whom: 				jabley@clear.co.nz
#
# $Id:$
#

DISTNAME=	ciscoconf-1.0beta1
PKGNAME=	ciscoconf-1.0
CATEGORIES=	net
MASTER_SITES=	ftp://ftp.patho.gen.nz/pub/users/jabley/ \
		http://www.FreeBSD.org/~billf/

MAINTAINER=	jabley@clear.co.nz

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>