0081341c9f
Let all ocaml ports RUN_DEPEND on the version of ocaml they were built with.
40 lines
868 B
Makefile
40 lines
868 B
Makefile
# $OpenBSD: Makefile,v 1.2 2012/11/30 19:38:09 chrisz 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_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>
|