summaryrefslogtreecommitdiffstats
path: root/devel/qtk/Makefile
blob: d00eac500460a99d0c009645e364ef834125227f (plain)
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
# Version required:	0.50
# Date created:		10 Aug 1999
# Whom:			Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#

DISTNAME=	qtk
PKGNAME=	qtk-0.50
CATEGORIES=	devel tk82
MASTER_SITES=	http://www.psn.net/~andrews/dist/

MAINTAINER=	andrews@technologist.com

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>
OpenPOWER on IntegriCloud