initial import of ocamlduce-3.08.4pl3
-- OCamlDuce is a merger between OCaml and CDuce. It comes as a modified version of OCaml which integrates CDuce features. CDuce is a modern XML-oriented functional language with innovative features: it is statically type-safe, efficient, and offer powerful constructions to work with XML documents.
This commit is contained in:
parent
c9f49b6af4
commit
0066c70c68
lang/ocamlduce
32
lang/ocamlduce/Makefile
Normal file
32
lang/ocamlduce/Makefile
Normal file
@ -0,0 +1,32 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2005/09/23 14:27:27 avsm Exp $
|
||||
|
||||
COMMENT= "XML extension types for Objective Caml"
|
||||
CATEGORIES= lang textproc
|
||||
|
||||
V= 3.08.4pl3
|
||||
DISTNAME= ocamlduce-${V}
|
||||
MASTER_SITES= http://pauillac.inria.fr/~frisch/ocamlcduce/download/
|
||||
WRKDIST= ${WRKDIR}/ocaml-sub
|
||||
|
||||
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
|
||||
HOMEPAGE= http://www.cduce.org/ocaml.html
|
||||
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
|
||||
MODULES= lang/ocaml
|
||||
RUN_DEPENDS= :ocaml-3.08.4:lang/ocaml
|
||||
WANTLIB= curses m c pthread
|
||||
|
||||
NO_REGRESS= Yes
|
||||
CONFIGURE_STYLE=simple
|
||||
CONFIGURE_ARGS= -prefix ${PREFIX}
|
||||
MAKE_FILE= Makefile.ocamlduce
|
||||
BYT_FLAGS= CAMLC=ocamlc CAMLOPT=ocamlopt CAMLDEP=ocamldep
|
||||
MAKE_FLAGS= ${MODOCAML_NATIVE:S,Yes,,:S,No,${BYT_FLAGS},}
|
||||
ALL_TARGET= all ${MODOCAML_NATIVE:S,Yes,opt,:S,No,,}
|
||||
INSTALL_TARGET= minstall ${MODOCAML_NATIVE:S,Yes,minstallopt,:S,No,,}
|
||||
|
||||
.include <bsd.port.mk>
|
4
lang/ocamlduce/distinfo
Normal file
4
lang/ocamlduce/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
MD5 (ocamlduce-3.08.4pl3.tar.gz) = 16e69929c9fbe57642dd700bb595360e
|
||||
RMD160 (ocamlduce-3.08.4pl3.tar.gz) = c8e147c6b5a3883280b20b9717c189fbd570fa0c
|
||||
SHA1 (ocamlduce-3.08.4pl3.tar.gz) = e93dfe87b853573d6c5a72824131a9ae78a59a30
|
||||
SIZE (ocamlduce-3.08.4pl3.tar.gz) = 3079977
|
43
lang/ocamlduce/patches/patch-Makefile_ocamlduce
Normal file
43
lang/ocamlduce/patches/patch-Makefile_ocamlduce
Normal file
@ -0,0 +1,43 @@
|
||||
$OpenBSD: patch-Makefile_ocamlduce,v 1.1.1.1 2005/09/23 14:27:27 avsm Exp $
|
||||
--- Makefile.ocamlduce.orig Fri Sep 23 14:44:26 2005
|
||||
+++ Makefile.ocamlduce Fri Sep 23 14:53:27 2005
|
||||
@@ -396,17 +396,32 @@ clean::
|
||||
rm -f ocamlducedoc*
|
||||
cd ocamldoc && $(MAKE) clean
|
||||
|
||||
+NAT_BIN= ocamlducec.opt ocamlduceopt.opt ocamlducedep.opt \
|
||||
+ ocamlducedoc.opt ocamlduceopt
|
||||
+NAT_LIB= ocamlduce.cmxa ocamlduce.a
|
||||
+BYT_BIN= ocamlducec ocamlduce ocamlducedep ocamlducedoc
|
||||
+BYT_LIB= ocamlduce.cma stdlib/ocamlduce.cmi \
|
||||
+ cduce_types.cmi stdlib/ocamlduce.mli
|
||||
|
||||
# Findlib installation
|
||||
|
||||
-INSTALL_FILES= \
|
||||
- ocamlducec ocamlduce ocamlducedep ocamlducedoc ocamlduce.cma \
|
||||
- ocamlduceopt ocamlduce.cmxa ocamlduce.a \
|
||||
- ocamlducec.opt ocamlduceopt.opt ocamlducedep.opt ocamlducedoc.opt \
|
||||
- stdlib/ocamlduce.cmi cduce_types.cmi stdlib/ocamlduce.mli
|
||||
+INSTALL_FILES= ${NAT_BIN} ${NAT_LIB} ${BYT_BIN} ${BYT_LIB}
|
||||
|
||||
install: FORCE
|
||||
ocamlfind install ocamlduce META $(wildcard $(INSTALL_FILES))
|
||||
|
||||
uninstall: FORCE
|
||||
- ocamlfind remove ocamlduce
|
||||
\ No newline at end of file
|
||||
+ ocamlfind remove ocamlduce
|
||||
+
|
||||
+# Normal installation
|
||||
+
|
||||
+minstall: FORCE
|
||||
+ mkdir -p ${DESTDIR}${PREFIX}/lib/ocaml
|
||||
+ cp ${BYT_LIB} ${DESTDIR}${PREFIX}/lib/ocaml
|
||||
+ cp ${BYT_BIN} ${DESTDIR}${PREFIX}/bin
|
||||
+
|
||||
+minstallopt: FORCE
|
||||
+ mkdir -p ${DESTDIR}${PREFIX}/lib/ocaml
|
||||
+ cp ${NAT_LIB} ${DESTDIR}${PREFIX}/lib/ocaml
|
||||
+ cp ${NAT_BIN} ${DESTDIR}${PREFIX}/bin
|
||||
+
|
5
lang/ocamlduce/pkg/DESCR
Normal file
5
lang/ocamlduce/pkg/DESCR
Normal file
@ -0,0 +1,5 @@
|
||||
OCamlDuce is a merger between OCaml and CDuce. It comes as a modified
|
||||
version of OCaml which integrates CDuce features. CDuce is a modern
|
||||
XML-oriented functional language with innovative features: it is
|
||||
statically type-safe, efficient, and offer powerful constructions
|
||||
to work with XML documents.
|
8
lang/ocamlduce/pkg/PFRAG.native
Normal file
8
lang/ocamlduce/pkg/PFRAG.native
Normal file
@ -0,0 +1,8 @@
|
||||
@comment $OpenBSD: PFRAG.native,v 1.1.1.1 2005/09/23 14:27:27 avsm Exp $
|
||||
bin/ocamlducec.opt
|
||||
bin/ocamlducedep.opt
|
||||
bin/ocamlducedoc.opt
|
||||
bin/ocamlduceopt
|
||||
bin/ocamlduceopt.opt
|
||||
lib/ocaml/ocamlduce.a
|
||||
lib/ocaml/ocamlduce.cmxa
|
10
lang/ocamlduce/pkg/PLIST
Normal file
10
lang/ocamlduce/pkg/PLIST
Normal file
@ -0,0 +1,10 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/09/23 14:27:27 avsm Exp $
|
||||
bin/ocamlduce
|
||||
bin/ocamlducec
|
||||
bin/ocamlducedep
|
||||
bin/ocamlducedoc
|
||||
lib/ocaml/cduce_types.cmi
|
||||
lib/ocaml/ocamlduce.cma
|
||||
lib/ocaml/ocamlduce.cmi
|
||||
lib/ocaml/ocamlduce.mli
|
||||
%%native%%
|
Loading…
x
Reference in New Issue
Block a user