mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
devel/ocaml-react: Upgrade version 0.9.2 -> 0.9.4 and stage
The maintainer patch worked out of the box, but it came from a time before staging. Significant rework was necessary to provide stage support, but luckily Jaap already added this support for the pkgsrc version he maintains (also at devel/ocaml-react over there). PR: ports/176057 Submitted by: maintainer (Jaap Boender) Stage support: Taken from pkgsrc
This commit is contained in:
parent
37a6ac36f1
commit
e45387b904
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349285
@ -2,8 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= react
|
||||
PORTVERSION= 0.9.2
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.9.4
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://erratique.ch/software/react/releases/
|
||||
PKGNAMEPREFIX= ocaml-
|
||||
@ -12,6 +11,8 @@ EXTRACT_SUFX= .tbz
|
||||
MAINTAINER= jaapb@kerguelen.org
|
||||
COMMENT= OCaml module for functional reactive programming
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
|
||||
USE_OCAML= yes
|
||||
.if defined (WITHOUT_X11)
|
||||
OCAMLC_DEPEND= ocaml-notk>=3.11:${OCAMLC_PORT}
|
||||
@ -19,24 +20,23 @@ OCAMLC_DEPEND= ocaml-notk>=3.11:${OCAMLC_PORT}
|
||||
OCAMLC_DEPEND= ocaml>=3.11:${OCAMLC_PORT}
|
||||
.endif
|
||||
|
||||
USE_OCAML_LDCONFIG= yes
|
||||
USE_OCAML_FINDLIB= yes
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,"install" :: findlib_name,"install" :: "-destdir ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib" :: "-ldconf /dev/null" :: findlib_name,' \
|
||||
${WRKSRC}/setup.ml
|
||||
|
||||
do-configure:
|
||||
@cd ${WRKSRC} && ocaml setup.ml -configure ${CONFIGURE_ARGS}
|
||||
|
||||
do-build:
|
||||
@cd ${WRKSRC} && ${SH} ./build
|
||||
(cd ${WRKSRC} && ocaml setup.ml -build)
|
||||
(cd ${WRKSRC} && ocamlbuild src/react.cmxs)
|
||||
|
||||
do-install:
|
||||
@cd ${WRKSRC} && INSTALLDIR=${PREFIX}/lib/ocaml/site-lib/${PORTNAME} ${SH} ./build install-plugin
|
||||
${MKDIR} ${STAGEDIR}${OCAMLFIND_DESTDIR}
|
||||
(cd ${WRKSRC} && ocaml setup.ml -install)
|
||||
${INSTALL_LIB} ${WRKSRC}/_build/src/react.cmxs \
|
||||
${STAGEDIR}${OCAMLFIND_DESTDIR}/react
|
||||
|
||||
pre-install:
|
||||
# For nonstandard prefixes
|
||||
.if !exists(${OCAMLFIND_DESTDIR})
|
||||
${MKDIR} ${OCAMLFIND_DESTDIR}
|
||||
.endif
|
||||
.if !exists(${OCAMLFIND_LDCONF})
|
||||
${TOUCH} ${OCAMLFIND_LDCONF}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (react-0.9.2.tbz) = b953e50abbb5c4065eb17a50a02341d380eff32fe8cb309a40eca2ddddef2a3a
|
||||
SIZE (react-0.9.2.tbz) = 47337
|
||||
SHA256 (react-0.9.4.tbz) = 466ad4e2e7ff57c93c4e51511f53f2bdf32df46354458f4a158cd13bf3fbd4ab
|
||||
SIZE (react-0.9.4.tbz) = 82964
|
||||
|
@ -1,11 +1,11 @@
|
||||
lib/ocaml/site-lib/react/META
|
||||
lib/ocaml/site-lib/react/react.a
|
||||
lib/ocaml/site-lib/react/react.cma
|
||||
lib/ocaml/site-lib/react/react.cmi
|
||||
lib/ocaml/site-lib/react/react.cmo
|
||||
lib/ocaml/site-lib/react/react.cmx
|
||||
lib/ocaml/site-lib/react/react.cmxa
|
||||
lib/ocaml/site-lib/react/react.cmxs
|
||||
lib/ocaml/site-lib/react/react.ml
|
||||
lib/ocaml/site-lib/react/react.mli
|
||||
lib/ocaml/site-lib/react/react.o
|
||||
@dirrm lib/ocaml/site-lib/react
|
||||
@dirrmtry lib/ocaml/site-lib
|
||||
@dirrmtry lib/ocaml
|
||||
|
Loading…
Reference in New Issue
Block a user