summaryrefslogtreecommitdiffstats
path: root/lang/mozart/Makefile
blob: fe8308bf0eb536fa8cae9271b68cbd0511804ee0 (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
42
43
44
45
46
47
48
49
50
51
# New ports collection makefile for:   mozart
# Date created:        23. June 2000
# Whom:                Mathias Picker <mathiasp@virtual-earth.de>
#
# $FreeBSD$
#

PORTNAME=		mozart
PORTVERSION=		1.1.0.20000207
CATEGORIES=		lang tk80
MASTER_SITES=		ftp://ftp.mozart-oz.org/pub/mozart/${PORTVERSION}/tar/ \
			ftp://ftp.sics.se/pub/mozart/${PORTVERSION}/tar/
EXTRACT_SUFX=		-src.tar.gz

MAINTAINER=    		mathiasp@virtual-earth.de

BUILD_DEPENDS=	xemacs:${PORTSDIR}/editors/xemacs21
LIB_DEPENDS=		gdbm.2:${PORTSDIR}/databases/gdbm \
			tk80.1:${PORTSDIR}/x11-toolkits/tk80

SCRIPTS_ENV=		LN=${LN} PERL=${PERL}
ALL_TARGET=
MAKE_ARGS=		PREFIX=${PREFIX}/lib/oz
USE_BISON=		yes
USE_GMAKE=		yes
HAS_CONFIGURE=	yes
USE_XLIB=		yes
# magic wand: set INSTALL to some absurd value, or else
# mozart's configure will not find the right install
# when configuring as root.
CONFIGURE_ENV=	INSTALL=${CHMOD}
CONFIGURE_ARGS=	--prefix=${PREFIX}/lib/oz  --disable-doc \
--with-inc-dir=${LOCALBASE}/include/tcl8.0,${LOCALBASE}/include/tk8.0 \
--with-lib-dir=${LOCALBASE}/lib --with-tcl-lib=${LOCALBASE}/lib \
--with-tk-lib=${LOCALBASE}/lib

pre-extract:
	@${ECHO}
	@${ECHO} -----------------------------------------------------
	@${ECHO}
	@${ECHO} If you have problems building mozart,
	@${ECHO} deinstall any old version of mozart
	@${ECHO} and unset OZHOME
	@${ECHO}
	@${ECHO} ----------------------------------------------------
	@${ECHO}

post-install:
	@cat ${PKGMESSAGE}

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