aboutsummaryrefslogtreecommitdiffstats
path: root/lang/caml-light/Makefile
blob: 7540eaaefb7223c701ea4a276222e8020696f43e (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
33
34
35
36
37
38
39
40
41
42
43
# New ports collection makefile for: CAML
# Date created:     21 July 1998
# Whom:         jkoshy
#
# $FreeBSD$
#

PORTNAME=   caml
PORTVERSION=    0.74
CATEGORIES= lang elisp
MASTER_SITES=   ftp://ftp.inria.fr/lang/caml-light/ \
    ftp://sunsite.doc.ic.ac.uk/computing/programming/languages/ml/caml-light/ \
    ftp://arcadia.informatik.uni-muenchen.de/pub/comp/programming/languages/functional/caml-light/ \
    ftp://sunsite.icm.edu.pl/pub/programming/caml/ \
    http://wwwfun.kurims.kyoto-u.ac.jp/soft/caml-light/
DISTNAME=   cl74unix

MAINTAINER= jkoshy@freebsd.org
COMMENT=    A strongly typed functional language belonging to the ML family

USE_XLIB=   yes
WRKSRC=     ${WRKDIR}/cl74
ALL_TARGET= configure world bootstrap
MAN1=   camlc.1 camllex.1 camllibr.1 camllight.1 camlmktop.1 camlrun.1 camlyacc.1 mletags.1 camllorder.1 camlsearch.1

.include <bsd.port.pre.mk>

.if ${ARCH} != "i386"
BROKEN=     "Does not compile on !i386"
.endif

do-build:
    cd ${WRKSRC}/src; ${MAKE} ${ALL_TARGET} PREFIX=${PREFIX} \
    X11BASE=${X11BASE}

# build some contrib stuff too
do-install:
    cd ${WRKSRC}/src; ${MAKE} ${INSTALL_TARGET} PREFIX=${PREFIX} \
    X11BASE=${X11BASE}
    cd ${WRKSRC}/contrib; ${MAKE} all ${INSTALL_TARGET} PREFIX=${PREFIX} \
    X11BASE=${X11BASE}

.include <bsd.port.post.mk>