2014-06-02 23:28:39 +02:00
|
|
|
# Created by: John Marino <marino@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= zarith
|
2017-04-28 17:47:17 +02:00
|
|
|
PORTVERSION= 1.4.1
|
2014-06-02 23:28:39 +02:00
|
|
|
CATEGORIES= math
|
2017-04-28 17:47:17 +02:00
|
|
|
MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/1574/
|
2014-06-02 23:28:39 +02:00
|
|
|
PKGNAMEPREFIX= ocaml-
|
|
|
|
|
2016-09-15 03:29:41 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-06-02 23:28:39 +02:00
|
|
|
COMMENT= OCaml arithmetic library for arbitrary precision integers
|
|
|
|
|
2016-10-16 11:03:43 +02:00
|
|
|
LICENSE= LGPL20
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
2014-06-02 23:28:39 +02:00
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
LIB_DEPENDS= libgmp.so:math/gmp
|
2014-06-02 23:28:39 +02:00
|
|
|
|
2017-04-28 17:47:17 +02:00
|
|
|
USES= gmake localbase:ldflags perl5 shebangfix tar:tgz
|
|
|
|
USE_PERL5= build
|
|
|
|
USE_OCAML= yes
|
2014-06-02 23:28:39 +02:00
|
|
|
USE_OCAML_FINDLIB= yes
|
|
|
|
OCAMLFIND_LDCONF= /dev/null
|
2017-04-28 17:47:17 +02:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
ALL_TARGET= all
|
|
|
|
SHEBANG_FILES= z_pp.pl
|
|
|
|
CONFIGURE_ENV= DESTDIR=${STAGEDIR}
|
2014-06-02 23:28:39 +02:00
|
|
|
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2015-10-11 23:33:55 +02:00
|
|
|
|
2014-06-02 23:28:39 +02:00
|
|
|
PORTDOCS= html
|
|
|
|
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2015-08-28 15:39:56 +02:00
|
|
|
DOCS_ALL_TARGET=doc
|
2014-06-02 23:28:39 +02:00
|
|
|
|
2015-08-28 15:39:56 +02:00
|
|
|
post-install-DOCS-on:
|
2016-10-16 11:03:43 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2014-06-02 23:28:39 +02:00
|
|
|
${MV} ${WRKSRC}/html ${STAGEDIR}${DOCSDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|