freebsd-ports/math/ocamlgsl/Makefile
2022-01-12 20:41:22 +01:00

44 lines
993 B
Makefile

# Created by: Klaus T. Aehlig <aehlig@linta.de>
PORTNAME= ocaml-gsl
DISTVERSIONPREFIX=v
DISTVERSION= 1.19.1
PORTREVISION= 6
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 \
ocamlbuild:devel/ocaml-ocamlbuild \
${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>