mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
41 lines
877 B
Makefile
41 lines
877 B
Makefile
# Created by: jaapb@kerguelen.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= lwt
|
|
PORTVERSION= 1.1.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.ocsigen.org/download/
|
|
PKGNAMEPREFIX= ocaml-
|
|
|
|
MAINTAINER= jaapb@kerguelen.org
|
|
COMMENT= Cooperative threading library for OCaml
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
USE_OCAML= yes
|
|
OCAMLC_DEPEND= ocaml>=3.10:${OCAMLC_PORT}
|
|
USE_OCAML_FINDLIB= yes
|
|
USE_OCAMLFIND_PLIST= yes
|
|
USE_OCAML_LDCONFIG= yes
|
|
|
|
USE_GMAKE= yes
|
|
DOCSDIR= ${PREFIX}/share/doc/ocaml/${PORTNAME}
|
|
PORTDOCS= *
|
|
|
|
BUILD_DEPENDS+= ${SA_DIR}/ssl/ssl.a:${PORTSDIR}/security/ocaml-ssl
|
|
RUN_DEPENDS+= ${SA_DIR}/ssl/ssl.a:${PORTSDIR}/security/ocaml-ssl
|
|
|
|
SA_DIR= ${PREFIX}/${OCAML_SITELIBDIR}
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/_build/lwt.docdir/* ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|