aboutsummaryrefslogtreecommitdiff
path: root/lang/caml-light/Makefile
blob: 40574af033a799903dc419aab6669bf6cd803cbf (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
# New ports collection makefile for: CAML
# Date created:		21 July 1998
# Whom:			jkoshy
#
# $FreeBSD$
#

PORTNAME=	caml
PORTVERSION=	0.75
PORTREVISION=	1
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=	cl75unix

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

USE_XLIB=	yes
WRKSRC=		${WRKDIR}/cl75
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>

do-build:
	cd ${WRKSRC}/src; ${SETENV} ${MAKE_ENV} ${MAKE} ${ALL_TARGET}

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

.include <bsd.port.post.mk>