openbsd-ports/devel/ocaml-react/Makefile
2013-03-11 10:50:00 +00:00

37 lines
784 B
Makefile

# $OpenBSD: Makefile,v 1.3 2013/03/11 10:50:12 espie Exp $
COMMENT = functional reactive programming (FRP) for OCaml
CATEGORIES = devel
V = 0.9.4
REVISION = 0
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_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>