Bump math/ocamlgsl to version 1.19.1_2
[dports.git] / math / ocamlgsl / Makefile
1 # Created by: Klaus T. Aehlig <aehlig@linta.de>
2 # $FreeBSD$
3
4 PORTNAME=       ocaml-gsl
5 DISTVERSIONPREFIX=v
6 DISTVERSION=    1.19.1
7 PORTREVISION=   2
8 CATEGORIES=     math
9
10 MAINTAINER=     michipili@gmail.com
11 COMMENT=        Interface to GSL for the Objective Caml language
12
13 LICENSE=        GPLv3
14
15 LIB_DEPENDS=    libgsl.so:math/gsl
16 BUILD_DEPENDS=  gawk:lang/gawk \
17                 ${OCAMLC_DEPEND}
18 RUN_DEPENDS=    ocamlfind:devel/ocaml-findlib
19
20 USE_GITHUB=     yes
21 GH_ACCOUNT=     mmottl
22 GH_PROJECT=     gsl-ocaml
23
24 USES=                   gmake
25 USE_OCAML=              YES
26 USE_OCAML_FINDLIB=      YES
27 USE_OCAML_CAMLP4=       YES
28 USE_OCAML_LDCONFIG=     YES
29 OCAML_PKGDIRS=          gsl
30 HAS_CONFIGURE=          YES
31 MAKE_JOBS_UNSAFE=       yes
32
33 NOT_FOR_ARCHS=          armv6
34 NOT_FOR_ARCHS_REASON=   architectures with double-word alignment for doubles are not supported
35
36 DOCSDIR=        ${LOCALBASE}/share/doc
37
38 OPTIONS_DEFINE= DOCS
39
40 post-configure:
41         @${ECHO_CMD} 'stagedir="${STAGEDIR}"' >> ${WRKSRC}/setup.data
42         @${ECHO_CMD} 'docdir="$$datarootdir/doc/ocaml/$$pkg_name"' >> ${WRKSRC}/setup.data
43
44 .include <bsd.port.mk>