summaryrefslogtreecommitdiff
path: root/misc/kp/Makefile
blob: 7b39d893cbc600a1d3acd7745ccbe2bfd5e53f88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $NetBSD: Makefile,v 1.5 1998/04/20 11:56:27 frueauf Exp $
# FreeBSD Id: Makefile,v 1.8 1997/04/20 13:19:32 wosch Exp
#

DISTNAME=       kp-0.96
CATEGORIES=	misc tk80
MASTER_SITES=   ftp://stampede.cs.berkeley.edu/pub/kp/

MAINTAINER=	packages@netbsd.org

RUN_DEPENDS=	wish8.0:${PORTSDIR}/x11/tk80

MAN1=		kp.1

pre-configure:
	find ${WRKDIR} -type f -print|xargs ${GREP} -l '/usr/local' > ${WRKDIR}/prefix-list
	for f in `cat ${WRKDIR}/prefix-list`; do \
		${SED} -e 's:/usr/local:'${PREFIX}':g' < $$f > $$f.pdone && ${MV} $$f.pdone $$f; \
	done
	${RM} ${WRKDIR}/prefix-list

.include "../../mk/bsd.pkg.mk"