summaryrefslogtreecommitdiff
path: root/misc/kp/Makefile
blob: 1eaffefd7c28c468ebe538123f1cbbff0435b547 (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.4 1998/04/15 10:38:36 agc 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=	asami@FreeBSD.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"