summaryrefslogtreecommitdiffstats
path: root/irc/zircon/Makefile
blob: b8716e6700926c654021fd721d6d4178c03f9644 (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
34
35
36
37
38
39
40
41
# New ports collection makefile for:	zircon
# Version required:	1.17p3
# Date created:		19 Aug 1995
# Whom:			jkh / pst
#
# $Id: Makefile,v 1.7 1996/08/16 12:24:55 peter Exp $
#

DISTNAME=	zircon-1.17p3
CATEGORIES+=	net
MASTER_SITES=	ftp://catless.ncl.ac.uk/pub/

#
# You can define USE_DPWISH if you want to run under the older
# tcl7.3/tk3.6/tclDP code.  The author strongly reccomends using
# tcl7.5/tk4.1 instead, and the tclDP wont be supported for long.
#
.if defined(USE_DPWISH) && ${USE_DPWISH} == YES
BUILD_DEPENDS=	dpwish:${PORTSDIR}/net/tclDP
RUN_DEPENDS=	dpwish:${PORTSDIR}/net/tclDP
MAKE_ENV=	WISH=${PREFIX}/bin/dpwish
.else
BUILD_DEPENDS=	wish4.1:${PORTSDIR}/x11/tk41
RUN_DEPENDS=	wish4.1:${PORTSDIR}/x11/tk41
MAKE_ENV=	WISH=${PREFIX}/bin/wish4.1
.endif

# In case the port is built not on FreeBSD-2.2+ (which has tcl standard)
.if exists(/usr/bin/tclsh)
MAKE_ENV+=	TCLSH=tclsh
.else
BUILD_DEPENDS+=	tclsh7.5:${PORTSDIR}/lang/tcl75
MAKE_ENV+=	TCLSH=tclsh7.5
.endif

MAKEFILE=	Makefile.FreeBSD

pre-patch:
	cp ${WRKSRC}/Makefile.Linux ${WRKSRC}/Makefile.FreeBSD

.include <bsd.port.mk>
OpenPOWER on IntegriCloud