c0728d2077
- patches now upstream, so remove local versions - add missing GMAKE dependency (I am fixing this requirement in OASIS directly too)
40 lines
911 B
Makefile
40 lines
911 B
Makefile
# $OpenBSD: Makefile,v 1.3 2012/09/05 21:39:09 avsm Exp $
|
|
|
|
COMMENT = cooperative lightweight thread library
|
|
CATEGORIES = devel
|
|
|
|
DISTNAME = lwt-2.4.1
|
|
PKGNAME = ocaml-${DISTNAME}
|
|
MASTER_SITES = http://ocsigen.org/download/
|
|
|
|
HOMEPAGE = http://ocsigen.org/lwt/
|
|
|
|
|
|
# LGPLv2.1
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
|
|
MODULES = lang/ocaml
|
|
|
|
MYDEPENDS = devel/ocaml-react \
|
|
textproc/ocaml-text \
|
|
security/ocaml-ssl
|
|
BUILD_DEPENDS = ${MYDEPENDS} sysutils/findlib
|
|
RUN_DEPENDS = ${MYDEPENDS} lang/ocaml
|
|
LIB_DEPENDS = devel/glib2 devel/libev converters/libiconv
|
|
WANTLIB = glib-2.0 ev iconv intl pthread
|
|
|
|
CONFIGURE_STYLE = oasis
|
|
CONFIGURE_ARGS = --enable-tests --enable-react --enable-glib --enable-ssl
|
|
USE_GMAKE = Yes
|
|
|
|
|
|
post-install:
|
|
${INSTALL_DATA} \
|
|
${WRKDIST}/{CHANGES,COPYING,README} \
|
|
${PREFIX}/share/doc/ocaml-lwt/
|
|
|
|
.include <bsd.port.mk>
|