blob: 6c57c78276d73ff2f46e94aa0d26dea6e6d9107d (
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
|
# $NetBSD: Makefile,v 1.3 2000/06/12 15:17:45 wulf Exp $
#
DISTNAME= ocaml-3.00
CATEGORIES= lang
MASTER_SITES= ftp://ftp.inria.fr/lang/caml-light/
MAINTAINER= groo@netbsd.org
HOMEPAGE= http://caml.inria.fr/ocaml/
DEPENDS+= tk-8.0.*:../../x11/tk80
USE_GMAKE= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= -prefix ${LOCALBASE} -tklibs -L${LOCALBASE}/lib -tkdefs "-I${LOCALBASE}/include/tcl8.0 -I${LOCALBASE}/include/tk8.0" -libs "-Wl,-R${X11BASE}/lib -Wl,-R${LOCALBASE}/lib"
ALL_TARGET= world
pre-install:
if ${TEST} ${MACHINE_ARCH} = 'i386'; then \
cd ${WRKSRC}; \
${GMAKE} opt; \
${GMAKE} ocamlc.opt; \
${GMAKE} ocamlopt.opt; \
fi
.include "../../mk/bsd.prefs.mk"
.if (${MACHINE_ARCH} == "i386")
PLIST_SRC= ${PKGDIR}/PLIST.opt ${PKGDIR}/PLIST
.endif
.include "../../mk/bsd.pkg.mk"
|