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

COMMENT =	OCaml library for file(name) manipulation
CATEGORIES =	devel

# The last url component in MASTER_SITES changes every release, too.
DISTNAME =	ocaml-fileutils-0.4.5
MASTER_SITES =	https://forge.ocamlcore.org/frs/download.php/1194/

HOMEPAGE =	http://ocaml-fileutils.forge.ocamlcore.org/
MAINTAINER =	Christopher Zimmermann <chrisz@openbsd.org>

# LGPL >=2.1
PERMIT_PACKAGE_CDROM =	Yes

MODULES =		lang/ocaml

CONFIGURE_STYLE =	oasis
CONFIGURE_ARGS =	--enable-tests

BUILD_DEPENDS =		sysutils/findlib \
			devel/ounit


post-install:
	${INSTALL_DATA} \
		${WRKSRC}/CHANGELOG.txt \
		${PREFIX}/share/doc/ocaml-fileutils/


.include <bsd.port.mk>
