2016-06-23 19:23:53 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2016/06/23 19:23:53 krw Exp $
|
2012-07-13 08:36:03 +00:00
|
|
|
|
|
|
|
COMMENT = unit test framework for OCaml
|
|
|
|
CATEGORIES = devel
|
|
|
|
|
2014-09-03 07:41:10 +00:00
|
|
|
DISTNAME = ounit-2.0.0
|
2016-06-23 19:23:53 +00:00
|
|
|
REVISION = 2
|
2012-07-13 08:36:03 +00:00
|
|
|
|
2012-08-18 22:26:12 +00:00
|
|
|
# The last url component (the number) changes every release, too.
|
2014-09-03 07:41:10 +00:00
|
|
|
MASTER_SITES = http://forge.ocamlcore.org/frs/download.php/1258/
|
2012-07-13 08:36:03 +00:00
|
|
|
|
|
|
|
HOMEPAGE = http://ounit.forge.ocamlcore.org/
|
2014-10-22 13:00:54 +00:00
|
|
|
MAINTAINER = Christopher Zimmermann <chrisz@openbsd.org>
|
2012-07-13 08:36:03 +00:00
|
|
|
|
|
|
|
# LGPL >=2.1
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
|
2012-08-18 22:26:12 +00:00
|
|
|
MODULES = lang/ocaml
|
2012-07-13 08:36:03 +00:00
|
|
|
|
2016-06-23 19:23:53 +00:00
|
|
|
BUILD_DEPENDS += sysutils/findlib \
|
|
|
|
devel/ocaml-ocamlbuild \
|
|
|
|
lang/ocaml-camlp4
|
2012-07-13 08:36:03 +00:00
|
|
|
|
2012-08-18 22:26:12 +00:00
|
|
|
CONFIGURE_STYLE = oasis
|
2012-07-13 08:36:03 +00:00
|
|
|
|
|
|
|
|
2014-09-03 07:41:10 +00:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ounit
|
|
|
|
${INSTALL_DATA} \
|
|
|
|
${WRKSRC}/examples/* \
|
|
|
|
${PREFIX}/share/examples/ounit/
|
|
|
|
|
2012-07-13 08:36:03 +00:00
|
|
|
.include <bsd.port.mk>
|