aboutsummaryrefslogtreecommitdiff
path: root/math/ocamlgsl/Makefile
blob: 86ac3e9836508a39d598dea5981c7b7fc0f1434b (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
# Ports collection makefile for:	ocamlgsl
# Date created:				2011/04/10
# Whom:					Klaus T. Aehlig <aehlig@linta.de>
#
# $FreeBSD$
#

PORTNAME=	ocamlgsl
PORTVERSION=	0.6.0
PORTREVISION=	1
CATEGORIES=	math
MASTER_SITES=	http://oandrieu.nerim.net/ocaml/gsl/

MAINTAINER=	aehlig@linta.de
COMMENT=	An interface to GSL for the Objective Caml language

LIB_DEPENDS=	gsl:${PORTSDIR}/math/gsl
BUILD_DEPENDS=	gawk:${PORTSDIR}/lang/gawk \
		${OCAMLC_DEPEND}
RUN_DEPENDS=	ocamlfind:${PORTSDIR}/devel/ocaml-findlib

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

INSTALL_TARGET=	install-findlib

USE_GMAKE=	YES
USE_GCC=	4.2+
USE_OCAML=	YES
MAKE_ENV+=	OCAMLDIR=${OCAML_LIBDIR}
MAKE_JOBS_UNSAFE=	yes
NO_OCAML_BUILDDEPENDS=	yes
USE_OCAML_LDCONFIG=	yes

.include <bsd.port.mk>