summaryrefslogtreecommitdiff
path: root/misc/kp/Makefile
diff options
context:
space:
mode:
authorhubertf <hubertf>1997-10-27 00:16:42 +0000
committerhubertf <hubertf>1997-10-27 00:16:42 +0000
commitfb5b814db160f7f0c67c37564b68a3fa40df7f8d (patch)
tree2b16ce76a2553ca8cde4bbeccaebfcb834dc383c /misc/kp/Makefile
parent4d9f3c3675c793d069baa5f2604b5ee09dac12e2 (diff)
downloadpkgsrc-fb5b814db160f7f0c67c37564b68a3fa40df7f8d.tar.gz
tk41 -> tk80, move remove USE_X11, replace /usr/local
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>