openbsd-ports/devel/ocaml-react/Makefile
avsm 6683787d0b initial import of ocaml-react-0.9.4; ok espie@
From: Christopher Zimmermann <madroach@gmerlin.de>
--
React is an OCaml module for functional reactive programming (FRP). It
provides support to program with time varying values : declarative
events and signals. React doesn't define any primitive event or
signal, it lets the client chooses the concrete timeline.

React is made of a single, independent, module and distributed under
the BSD3 license.
2012-08-18 23:13:53 +00:00

39 lines
857 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2012/08/18 23:13:53 avsm Exp $
COMMENT = functional reactive programming (FRP) for OCaml
CATEGORIES = devel
V = 0.9.4
DISTNAME = react-${V}
EXTRACT_SUFX = .tbz
NAME = ocaml-react
PKGNAME = ${NAME}-${V}
MASTER_SITES = http://erratique.ch/software/react/releases/
HOMEPAGE = http://erratique.ch/software/react
# BSD3
PERMIT_PACKAGE_FTP = Yes
PERMIT_PACKAGE_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
MODULES = lang/ocaml
BUILD_DEPENDS = sysutils/findlib
RUN_DEPENDS = lang/ocaml
CONFIGURE_STYLE = oasis
CONFIGURE_ARGS = --enable-tests
ALL_TARGET = -build
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${NAME}/api
${INSTALL_DATA} ${WRKDIST}/doc/* ${PREFIX}/share/doc/${NAME}/api/
${INSTALL_DATA} ${WRKDIST}/{README,CHANGES} ${PREFIX}/share/doc/${NAME}/
.include <bsd.port.mk>