1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00
freebsd-ports/math/ocamlgsl/Makefile
Kurt Jaeger 1aea8aaba1 math/ocamlgsl: update 1.15.1 -> 1.19.1
- master site changed from bitbucket to github

PR:		211444
Changes:	https://github.com/mmottl/gsl-ocaml/blob/master/CHANGES.txt
Submitted by:	Rainer Hurling <rhurlin@gwdg.de>
Approved by:	Michael Gruenewald <michipili@gmail.com> (maintainer timeout)
2016-10-21 14:35:12 +00:00

44 lines
947 B
Makefile

# Created by: Klaus T. Aehlig <aehlig@linta.de>
# $FreeBSD$
PORTNAME= ocaml-gsl
DISTVERSIONPREFIX=v
DISTVERSION= 1.19.1
CATEGORIES= math
DISTNAME= gsl-ocaml
DISTFILES= ${DISTNAME}-${DISTVERSION}.tar.gz
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= ${DISTNAME}
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
WRKSRC= ${WRKDIR}/gsl-ocaml-${PORTVERSION}
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>