summaryrefslogtreecommitdiff
path: root/misc/kp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/kp/Makefile')
-rw-r--r--misc/kp/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/misc/kp/Makefile b/misc/kp/Makefile
index 2fd9247d864..9082f4fed76 100644
--- a/misc/kp/Makefile
+++ b/misc/kp/Makefile
@@ -3,18 +3,24 @@
# Date created: 8 May 1995
# Whom: asami
#
-# $Id: Makefile,v 1.1.1.1 1997/10/11 21:54:25 hubertf Exp $
+# $Id: Makefile,v 1.2 1997/10/27 00:16:42 hubertf Exp $
#
DISTNAME= kp-0.96
-CATEGORIES= misc tk41
+CATEGORIES= misc tk80
MASTER_SITES= ftp://stampede.cs.berkeley.edu/pub/kp/
MAINTAINER= asami@FreeBSD.org
-RUN_DEPENDS= wish4.1:${PORTSDIR}/x11/tk41
+RUN_DEPENDS= wish8.0:${PORTSDIR}/x11/tk80
-USE_X11= yes
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 <bsd.port.mk>