summaryrefslogtreecommitdiff
path: root/devel/qtk/Makefile
blob: f167b452e306dd99a5dcbdf9e770ef4512bef5d7 (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
# New ports collection makefile for:	QTK - QuickTk
# Date created:		10 Aug 1999
# Whom:			Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#

PORTNAME=	qtk
PORTVERSION=	0.50
CATEGORIES=	devel tk82
MASTER_SITES=	http://www.psn.net/~andrews/dist/
DISTNAME=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org

RUN_DEPENDS=	${LOCALBASE}/bin/wish8.2:${PORTSDIR}/x11-toolkits/tk82

NO_BUILD=	YES

USE_X_PREFIX=	YES

WISH=		${LOCALBASE}/bin/wish8.2

post-patch:
	@${SED} 's:/usr/bin/wish:${WISH}:' \
		${WRKSRC}/qtk > ${WRKSRC}/qtk.new
	@${SED} 's:keepnewline wish:keepnewline ${WISH}:' \
		${WRKSRC}/qtk.new > ${WRKSRC}/qtk.new2

do-install:
	@${INSTALL_SCRIPT} ${WRKSRC}/qtk.new2 ${X11BASE}/bin/qtk

.include <bsd.port.mk>