summaryrefslogtreecommitdiff
path: root/devel/qtk/Makefile
blob: d0fbd7a5d1aa603f5cce853c6d00884d17a1adc3 (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
34
35
36
37
38
39
40
# 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.jump.net/~brooke/qtk/
DISTNAME=	${PORTNAME}
EXTRACT_SUFX=	# empty

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A neat development tool for various languages

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

USE_REINPLACE=	yes
EXTRACT_CMD=	${CP}
EXTRACT_BEFORE_ARGS=	# empty
EXTRACT_AFTER_ARGS=	.

NO_WRKSUBDIR=	yes
NO_BUILD=	yes

USE_X_PREFIX=	yes

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

do-configure:
	@${REINPLACE_CMD} \
		-e 's|/usr/bin/wish|${WISH}|;' \
		-e 's|keepnewline wish|keepnewline ${WISH}|' ${WRKSRC}/qtk

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/qtk ${PREFIX}/bin

.include <bsd.port.mk>