1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/math/ocamlgsl/Makefile
Tobias C. Berner bb238a10bf Update math/gsl to 2.5
PR:		229067
2018-06-23 08:27:13 +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= 3
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>