View | Details | Raw Unified | Return to bug 176061
Collapse All | Expand All

(-)Makefile (-12 / +37 lines)
Lines 6-15 Link Here
6
#
6
#
7
7
8
PORTNAME=	lwt
8
PORTNAME=	lwt
9
PORTVERSION=	1.1.0
9
PORTVERSION=	2.4.3
10
PORTREVISION=	1
11
CATEGORIES=	devel
10
CATEGORIES=	devel
12
MASTER_SITES=	http://www.ocsigen.org/download/
11
MASTER_SITES=	http://ocsigen.org/download/
13
PKGNAMEPREFIX=	ocaml-
12
PKGNAMEPREFIX=	ocaml-
14
13
15
MAINTAINER=	jaapb@kerguelen.org
14
MAINTAINER=	jaapb@kerguelen.org
Lines 18-43 Link Here
18
MAKE_JOBS_UNSAFE=	yes
17
MAKE_JOBS_UNSAFE=	yes
19
18
20
USE_OCAML=		yes
19
USE_OCAML=		yes
21
OCAMLC_DEPEND=		ocaml>=3.10:${OCAMLC_PORT}
20
OCAMLC_DEPEND=		ocaml>=3.11:${OCAMLC_PORT}
22
USE_OCAML_FINDLIB=	yes
21
USE_OCAML_FINDLIB=	yes
23
USE_OCAMLFIND_PLIST=	yes
22
USE_OCAMLFIND_PLIST=	yes
24
USE_OCAML_LDCONFIG=	yes
23
USE_OCAML_LDCONFIG=	yes
25
24
26
USE_GMAKE=		yes
25
USE_GMAKE=		yes
26
27
HAS_CONFIGURE=		yes
28
CONFIGURE_ARGS=		--enable-ssl --enable-react --disable-libev \
29
			--disable-glib
30
27
DOCSDIR=		${PREFIX}/share/doc/ocaml/${PORTNAME}
31
DOCSDIR=		${PREFIX}/share/doc/ocaml/${PORTNAME}
28
PORTDOCS=		*
29
32
30
BUILD_DEPENDS+=		${SA_DIR}/ssl/ssl.a:${PORTSDIR}/security/ocaml-ssl
33
.if !defined(NOPORTDOCS)
31
RUN_DEPENDS+=		${SA_DIR}/ssl/ssl.a:${PORTSDIR}/security/ocaml-ssl
34
CONFIGURE_ARGS+=	--enable-docs --docdir ${DOCSDIR}
35
# For some reason, ocaml-text is needed when building documentation
36
BUILD_DEPENDS+		${SA_DIR}/text/text.a:${PORTSDIR}/textproc/ocaml-text
37
RUN_DEPENDS+		${SA_DIR}/text/text.a:${PORTSDIR}/textproc/ocaml-text
38
.else
39
CONFIGURE_ARGS+=	--disable-docs
40
.endif
32
41
42
BUILD_DEPENDS=		${SA_DIR}/react/react.a:${PORTSDIR}/devel/ocaml-react \
43
			${SA_DIR}/ssl/ssl.a:${PORTSDIR}/security/ocaml-ssl
44
RUN_DEPENDS=		${BUILD_DEPENDS}
45
33
SA_DIR=         	${PREFIX}/${OCAML_SITELIBDIR}
46
SA_DIR=         	${PREFIX}/${OCAML_SITELIBDIR}
34
47
35
.include <bsd.port.pre.mk>
48
OPTIONS_DEFINE=		TOPLEVEL
49
TOPLEVEL_DESC=		Include enhanced OCaml toplevel
36
50
37
post-install:
51
OPTIONS_DEFAULT=	TOPLEVEL
38
.if !defined(NOPORTDOCS)
52
39
	${MKDIR} ${DOCSDIR}
53
.include <bsd.port.options.mk>
40
	${INSTALL_MAN} ${WRKSRC}/_build/lwt.docdir/* ${DOCSDIR}
54
55
.if ${PORT_OPTIONS:MTOPLEVEL}
56
CONFIGURE_ARGS+=	--enable-toplevel --enable-text
57
BUILD_DEPENDS+		${SA_DIR}/text/text.a:${PORTSDIR}/textproc/ocaml-text
58
RUN_DEPENDS+		${SA_DIR}/text/text.a:${PORTSDIR}/textproc/ocaml-text
59
.else
60
CONFIGURE_ARGS+=	--disable-toplevel --disable-text
41
.endif
61
.endif
42
62
63
.include <bsd.port.pre.mk>
64
65
do-configure:
66
	@cd ${WRKSRC} && ocaml setup.ml -configure ${CONFIGURE_ARGS}
67
43
.include <bsd.port.post.mk>
68
.include <bsd.port.post.mk>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (lwt-1.1.0.tar.gz) = 6c9087e1185de933091fcd147f1c125157b01921d32ca0e2304319c2d72ee9d6
1
SHA256 (lwt-2.4.3.tar.gz) = efee23937750290d6dee96eed6c0bbdb19817d5be6eefcba61ac5031fac10107
2
SIZE (lwt-1.1.0.tar.gz) = 32844
2
SIZE (lwt-2.4.3.tar.gz) = 504000

Return to bug 176061