aboutsummaryrefslogtreecommitdiffstats
path: root/devel/qtk/Makefile
blob: a6b3674e4a74af5ec4b611fd1d2b0aa9efa8c437 (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
# 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= will@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>