2011-12-25 20:58:39 +01:00
|
|
|
# New ports collection makefile for: ocaml-react
|
|
|
|
# Date created: April 18, 2011
|
|
|
|
# Whom: Jaap Boender <jaapb@kerguelen.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= react
|
|
|
|
PORTVERSION= 0.9.2
|
2012-01-07 19:17:09 +01:00
|
|
|
PORTREVISION= 1
|
2011-12-25 20:58:39 +01:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://erratique.ch/software/react/releases/
|
|
|
|
PKGNAMEPREFIX= ocaml-
|
|
|
|
EXTRACT_SUFX= .tbz
|
|
|
|
|
|
|
|
MAINTAINER= jaapb@kerguelen.org
|
|
|
|
COMMENT= OCaml module for functional reactive programming
|
|
|
|
|
|
|
|
USE_OCAML= yes
|
2012-01-07 19:17:09 +01:00
|
|
|
.if defined (WITHOUT_X11)
|
|
|
|
OCAMLC_DEPEND= ocaml-notk>=3.11:${OCAMLC_PORT}
|
|
|
|
.else
|
2011-12-25 20:58:39 +01:00
|
|
|
OCAMLC_DEPEND= ocaml>=3.11:${OCAMLC_PORT}
|
2012-01-07 19:17:09 +01:00
|
|
|
.endif
|
|
|
|
|
2011-12-25 20:58:39 +01:00
|
|
|
USE_OCAML_LDCONFIG= yes
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
@cd ${WRKSRC} && ${SH} ./build
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@cd ${WRKSRC} && INSTALLDIR=${PREFIX}/lib/ocaml/site-lib/${PORTNAME} ${SH} ./build install-plugin
|
|
|
|
|
2012-01-03 02:28:28 +01:00
|
|
|
pre-install:
|
2011-12-25 20:58:39 +01:00
|
|
|
# For nonstandard prefixes
|
|
|
|
.if !exists(${OCAMLFIND_DESTDIR})
|
|
|
|
${MKDIR} ${OCAMLFIND_DESTDIR}
|
|
|
|
.endif
|
|
|
|
.if !exists(${OCAMLFIND_LDCONF})
|
|
|
|
${TOUCH} ${OCAMLFIND_LDCONF}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|