fa7673c6ce
- Employ USES+=localbase:ldflags - Remove excessive whitespace
41 lines
856 B
Makefile
41 lines
856 B
Makefile
# Created by: John Marino <marino@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= zarith
|
|
PORTVERSION= 1.4.1
|
|
CATEGORIES= math
|
|
MASTER_SITES= http://forge.ocamlcore.org/frs/download.php/1574/
|
|
PKGNAMEPREFIX= ocaml-
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= OCaml arithmetic library for arbitrary precision integers
|
|
|
|
LICENSE= LGPL20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libgmp.so:math/gmp
|
|
|
|
USES= gmake localbase:ldflags perl5 shebangfix tar:tgz
|
|
USE_PERL5= build
|
|
USE_OCAML= yes
|
|
USE_OCAML_FINDLIB= yes
|
|
OCAMLFIND_LDCONF= /dev/null
|
|
HAS_CONFIGURE= yes
|
|
ALL_TARGET= all
|
|
SHEBANG_FILES= z_pp.pl
|
|
CONFIGURE_ENV= DESTDIR=${STAGEDIR}
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
PORTDOCS= html
|
|
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
DOCS_ALL_TARGET=doc
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${MV} ${WRKSRC}/html ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|