chrisz 4f34b70b07 Upgrade OCaml to 4.02. Since camlp4 is now a seperate port,
add / change BUILD_DEPENDS for all ports using camlp4.
Findlib is changed because it won't use camlp4 and doesn't install
the Bytes module anymore, which is now included in OCaml 4.02.

ok avsm@
2014-09-02 09:24:44 +00:00

37 lines
822 B
Makefile

# $OpenBSD: Makefile,v 1.14 2014/09/02 09:24:44 chrisz Exp $
COMMENT = cooperative lightweight thread library
CATEGORIES = devel
GH_ACCOUNT = ocsigen
GH_PROJECT = lwt
GH_TAGNAME = 2.4.5
GH_COMMIT = 75b1dc1aefae75dc4ac6455f5a2688b3a52adabd
DISTNAME = ${GH_PROJECT}-${GH_TAGNAME}
PKGNAME = ocaml-${DISTNAME}
HOMEPAGE = http://ocsigen.org/lwt/
# LGPLv2.1
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/ocaml \
devel/gettext
MYDEPENDS = devel/ocaml-react \
textproc/ocaml-text \
security/ocaml-ssl
BUILD_DEPENDS = ${MYDEPENDS} sysutils/findlib lang/ocaml-camlp4
RUN_DEPENDS = ${MYDEPENDS}
LIB_DEPENDS = devel/glib2 devel/libev
WANTLIB = glib-2.0 ev pthread
CONFIGURE_STYLE = oasis
CONFIGURE_ARGS = --enable-tests --enable-react --enable-glib \
--enable-ssl --disable-docs
USE_GMAKE = Yes
.include <bsd.port.mk>