1995-02-12 08:57:14 +00:00
|
|
|
# New ports collection makefile for: zircon
|
1996-08-16 12:25:00 +00:00
|
|
|
# Version required: 1.17p3
|
1995-08-19 07:59:36 +00:00
|
|
|
# Date created: 19 Aug 1995
|
|
|
|
# Whom: jkh / pst
|
1995-02-12 08:57:14 +00:00
|
|
|
#
|
1996-11-18 11:44:27 +00:00
|
|
|
# $Id: Makefile,v 1.8 1996/08/17 11:07:53 peter Exp $
|
1995-02-12 08:57:14 +00:00
|
|
|
#
|
|
|
|
|
1996-08-16 12:25:00 +00:00
|
|
|
DISTNAME= zircon-1.17p3
|
1996-11-18 11:44:27 +00:00
|
|
|
CATEGORIES= net
|
1995-08-19 07:59:36 +00:00
|
|
|
MASTER_SITES= ftp://catless.ncl.ac.uk/pub/
|
1995-04-15 05:42:12 +00:00
|
|
|
|
1996-08-16 12:25:00 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
1996-08-17 11:07:53 +00:00
|
|
|
.if defined(USE_DPWISH) && ${USE_DPWISH} == YES
|
1995-10-04 01:56:37 +00:00
|
|
|
BUILD_DEPENDS= dpwish:${PORTSDIR}/net/tclDP
|
|
|
|
RUN_DEPENDS= dpwish:${PORTSDIR}/net/tclDP
|
1996-08-16 12:25:00 +00:00
|
|
|
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
|
|
|
|
|
1996-08-17 11:07:53 +00:00
|
|
|
# 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
|
|
|
|
|
1996-08-16 12:25:00 +00:00
|
|
|
MAKEFILE= Makefile.FreeBSD
|
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
cp ${WRKSRC}/Makefile.Linux ${WRKSRC}/Makefile.FreeBSD
|
1995-02-12 08:57:14 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|