# $OpenBSD: Makefile,v 1.2 2012/11/30 19:38:09 chrisz Exp $

COMMENT =	Generate OCaml modules from source files
CATEGORIES =	devel

# When changing version, remember to adapt MASTER_SITES, too.
V =		0.0.7
DISTNAME =	ocamlmod-${V}
PKGNAME =	ocaml-mod-${V}
MASTER_SITES =	https://forge.ocamlcore.org/frs/download.php/1350/

MAINTAINER =	Christopher Zimmermann <chrisz@openbsd.org>

HOMEPAGE =	https://forge.ocamlcore.org/projects/ocamlmod/

# LGPL >= 2.1
PERMIT_PACKAGE_CDROM =	Yes

MODULES =		lang/ocaml

BUILD_DEPENDS =		sysutils/findlib \
			devel/ounit

CONFIGURE_STYLE =	oasis
CONFIGURE_ARGS =	--enable-tests


.include <bsd.port.mk>
