aboutsummaryrefslogtreecommitdiff
path: root/sysutils/doconfig/Makefile
blob: 2d58e2fbdc002dde247cce4de39fda001f5a8923 (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
# Ports collection Makefile for:	doconfig
# Version required:			1.1
# Date created:				7/27/1998
# Whom:					nectar@FreeBSD.ORG
#
# $Id: Makefile,v 1.1.1.1 1998/08/03 06:28:04 nectar Exp $
#

DISTNAME=		doconfig-1.1
CATEGORIES=		sysutils
MASTER_SITES=		ftp://ftp.cold.org/pub/brandon/

MAINTAINER=		nectar@FreeBSD.ORG

MAN8=			autokernconf.8 doconfig.8

WRKSRC=			${WRKDIR}/doconfig

do-build:
	@ ${MV} ${WRKSRC}/doconfig ${WRKSRC}/_doconfig
	@ ${SED} 's#%%PREFIX%%#${PREFIX}#g' <${WRKSRC}/_doconfig \
		>${WRKSRC}/doconfig
	@ ${RM} ${WRKSRC}/_doconfig

do-install:
.for f in autokernconf doconfig
	${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/sbin/${f}
.endfor
.for f in ${MAN8}
	${INSTALL_MAN} ${WRKSRC}/${f} ${PREFIX}/man/man8/${f}
.endfor

.include <bsd.port.mk>