1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/math/ocamlgsl/Makefile
Tobias C. Berner 5da7ccc1fb Update math/gsl to 2.4
Exp-Run by:	antoine
PR:		220408
2017-07-03 20:38:11 +00:00

45 lines
967 B
Makefile

# Created by: Klaus T. Aehlig <aehlig@linta.de>
# $FreeBSD$
PORTNAME= ocaml-gsl
DISTVERSIONPREFIX=v
DISTVERSION= 1.19.1
PORTREVISION= 2
CATEGORIES= math
MAINTAINER= michipili@gmail.com
COMMENT= Interface to GSL for the Objective Caml language
LICENSE= GPLv3
LIB_DEPENDS= libgsl.so:math/gsl
BUILD_DEPENDS= gawk:lang/gawk \
${OCAMLC_DEPEND}
RUN_DEPENDS= ocamlfind:devel/ocaml-findlib
USE_GITHUB= yes
GH_ACCOUNT= mmottl
GH_PROJECT= gsl-ocaml
USES= gmake
USE_OCAML= YES
USE_OCAML_FINDLIB= YES
USE_OCAML_CAMLP4= YES
USE_OCAML_LDCONFIG= YES
OCAML_PKGDIRS= gsl
HAS_CONFIGURE= YES
MAKE_JOBS_UNSAFE= yes
NOT_FOR_ARCHS= armv6
NOT_FOR_ARCHS_REASON= architectures with double-word alignment for doubles are not supported
DOCSDIR= ${LOCALBASE}/share/doc
OPTIONS_DEFINE= DOCS
post-configure:
@${ECHO_CMD} 'stagedir="${STAGEDIR}"' >> ${WRKSRC}/setup.data
@${ECHO_CMD} 'docdir="$$datarootdir/doc/ocaml/$$pkg_name"' >> ${WRKSRC}/setup.data
.include <bsd.port.mk>