aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ocamlduce
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ocamlduce')
-rw-r--r--lang/ocamlduce/Makefile35
-rw-r--r--lang/ocamlduce/distinfo6
-rw-r--r--lang/ocamlduce/pkg-plist12
3 files changed, 25 insertions, 28 deletions
diff --git a/lang/ocamlduce/Makefile b/lang/ocamlduce/Makefile
index a2e4fb596327..4f32519366be 100644
--- a/lang/ocamlduce/Makefile
+++ b/lang/ocamlduce/Makefile
@@ -6,35 +6,30 @@
#
PORTNAME= ocamlduce
-PORTVERSION= 3.10.0.1
+PORTVERSION= 3.11.1.0
CATEGORIES= lang
-MASTER_SITES= http://gallium.inria.fr/~frisch/ocamlcduce/download/
-DISTNAME= ${PORTNAME}-${PORTVERSION}${PKGNAMESUFFIX}
+MASTER_SITES= https://forge.ocamlcore.org/frs/download.php/225/
MAINTAINER= jaapb@kerguelen.org
COMMENT= Library to integrate XML features into OCaml
+BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/lang/ocaml:extract
+
+BROKEN= does not build
+
+ALL_TARGET= prepare config/Makefile world world.opt
+INSTALL_TARGET= installbyte installopt
+
+.include <bsd.port.pre.mk>
+
+OCAML_WRKSRC!= (cd ${PORTSDIR}/lang/ocaml && ${MAKE} -V WRKSRC)
+
USE_GMAKE= yes
USE_OCAML= yes
-OCAMLC_DEPEND= ocaml>=3.10.0:${OCAMLC_PORT}
+MAKE_ENV+= PORTSDIR="${PORTSDIR}" OCAML_SOURCE="${OCAML_WRKSRC}" BINDIR="${LOCALBASE}/bin" SA_DIR="${LOCALBASE}/lib/ocaml/site-lib"
+OCAMLC_DEPEND= ocaml>=3.11.1:${OCAMLC_PORT}
USE_OCAML_FINDLIB= yes
USE_OCAML_LDCONFIG= yes
USE_OCAML_PLIST= yes
-ALL_TARGET= all opt
-BROKEN= does not build with current version of lang/ocaml
-DEPRECATED= has been broken for 7 months
-EXPIRATION_DATE=2010-01-08
-
-.include <bsd.port.pre.mk>
-
-post-extract:
-# For nonstandard prefixes
-.if !exists(${OCAMLFIND_DESTDIR})
- ${MKDIR} ${OCAMLFIND_DESTDIR}
-.endif
-.if !exists(${OCAMLFIND_LDCONF})
- ${TOUCH} ${OCAMLFIND_LDCONF}
-.endif
-
.include <bsd.port.post.mk>
diff --git a/lang/ocamlduce/distinfo b/lang/ocamlduce/distinfo
index 0c9ef693acd9..bdd036acaa0b 100644
--- a/lang/ocamlduce/distinfo
+++ b/lang/ocamlduce/distinfo
@@ -1,3 +1,3 @@
-MD5 (ocamlduce-3.10.0.1.tar.gz) = bb137a5a653197f1d345483e3e7beb52
-SHA256 (ocamlduce-3.10.0.1.tar.gz) = 0b6d68a499a30269939fc88953abe423006847c0e224c5b7bfabb0944b6875c0
-SIZE (ocamlduce-3.10.0.1.tar.gz) = 1008267
+MD5 (ocamlduce-3.11.1.0.tar.gz) = 5ef11249b590ab038c45583369936baa
+SHA256 (ocamlduce-3.11.1.0.tar.gz) = fd1f92e80b36b1fae028c4d1119dd2ff567001ed09e0ce5634a3497027827d4e
+SIZE (ocamlduce-3.11.1.0.tar.gz) = 138926
diff --git a/lang/ocamlduce/pkg-plist b/lang/ocamlduce/pkg-plist
index 677d22f694f5..57f44b407a7d 100644
--- a/lang/ocamlduce/pkg-plist
+++ b/lang/ocamlduce/pkg-plist
@@ -1,22 +1,24 @@
%%OCAML_SITELIBDIR%%/ocamlduce/META
%%OCAML_SITELIBDIR%%/ocamlduce/cduce_types.cmi
-%%OCAML_SITELIBDIR%%/ocamlduce/cduce_types.o
%%OCAML_SITELIBDIR%%/ocamlduce/ocamlduce.a
%%OCAML_SITELIBDIR%%/ocamlduce/ocamlduce.cma
%%OCAML_SITELIBDIR%%/ocamlduce/ocamlduce.cmi
%%OCAML_SITELIBDIR%%/ocamlduce/ocamlduce.cmxa
%%OCAML_SITELIBDIR%%/ocamlduce/ocamlduce.mli
-%%OCAML_SITELIBDIR%%/ocamlduce/ocamlduce.o
%%OCAML_SITELIBDIR%%/ocamlduce/topdirs.cmi
-%%OCAML_SITELIBDIR%%/ocamlduce/toplevelducelib.cma
+%%OCAML_SITELIBDIR%%/ocamlduce/topdirs.cmo
+%%OCAML_SITELIBDIR%%/ocamlduce/topdirs.mli
+%%OCAML_SITELIBDIR%%/ocamlduce/toplevellib.cma
%%OCAML_SITELIBDIR%%/ocamlduce/toploop.cmi
+%%OCAML_SITELIBDIR%%/ocamlduce/toploop.cmo
+%%OCAML_SITELIBDIR%%/ocamlduce/toploop.mli
%%OCAML_SITELIBDIR%%/ocamlduce/topmain.cmi
+%%OCAML_SITELIBDIR%%/ocamlduce/topmain.cmo
+%%OCAML_SITELIBDIR%%/ocamlduce/topmain.mli
%%OCAML_SITELIBDIR%%/ocamlduce/topstart.cmo
bin/ocamlducec
bin/ocamlduce
bin/ocamlducedep
bin/ocamlducedoc
bin/ocamlduceopt
-bin/ocamlducemktop
-bin/expungeduce
bin/ocamlducefind