aboutsummaryrefslogtreecommitdiffstats
path: root/cad/tkgate/Makefile
blob: 7b3efb72cfed4d68ea543f6cfaa591296ec50750 (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
# New ports collection makefile for:    tkgate
# Date created:             28 May 1999
# Whom:                 Jeffery Hansen <hansen@cmu.edu>
#
# $FreeBSD$
#

PORTNAME=   tkgate
PORTVERSION=    1.8.6
PORTREVISION=   1
CATEGORIES= cad
MASTER_SITES=   ftp://gadoid.ices.cmu.edu/pub/tkgate/
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    A Tcl/Tk based digital circuit editor and simulator

LIB_DEPENDS=    tk84.1:${PORTSDIR}/x11-toolkits/tk84
RUN_DEPENDS=    tclsh8.4:${PORTSDIR}/lang/tcl84
BUILD_DEPENDS=  xmkmf:${X_IMAKE_PORT}

HAS_CONFIGURE=  yes
USE_BISON=  yes
USE_X_PREFIX=   yes

PLIST_SUB=  VERSION=${PORTVERSION}

post-patch:
    @${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},g' \
        ${WRKSRC}/Imakefile ${WRKSRC}/config.h

.include <bsd.port.mk>