[67396] trunk/dports/devel
mww at macports.org
mww at macports.org
Fri May 7 06:52:54 PDT 2010
Revision: 67396
http://trac.macports.org/changeset/67396
Author: mww at macports.org
Date: 2010-05-07 06:52:50 -0700 (Fri, 07 May 2010)
Log Message:
-----------
new port caml-pxp
Added Paths:
-----------
trunk/dports/devel/caml-pxp/
trunk/dports/devel/caml-pxp/Portfile
Added: trunk/dports/devel/caml-pxp/Portfile
===================================================================
--- trunk/dports/devel/caml-pxp/Portfile (rev 0)
+++ trunk/dports/devel/caml-pxp/Portfile 2010-05-07 13:52:50 UTC (rev 67396)
@@ -0,0 +1,54 @@
+# $Id: Portfile 60452 2009-11-12 23:28:18Z ryandesign at macports.org $
+
+PortSystem 1.0
+
+name caml-pxp
+version 1.2.1
+categories devel ml textproc
+maintainers mww openmaintainer
+platforms darwin
+license BSD
+description streaming XML input/output module for OCaml
+long_description Xmlm is an OCaml module providing streaming XML \
+ input/output. It aims at making XML processing robust and \
+ painless. The streaming interface can process documents \
+ without building an in-memory representation. It lets the \
+ programmer translate its data structures to XML documents \
+ and vice-versa. Functions are provided to easily transform \
+ arborescent data structures to/from XML documents.
+
+homepage http://erratique.ch/software/xmlm
+master_sites http://download.camlcity.org/download/
+
+distname pxp-${version}
+
+checksums md5 a22d9124516b8045d7e4b0978c6fd3f6 \
+ sha1 09754a2db5fd08c189ad52b5ebff37232a62665f \
+ rmd160 62fef42242d3fd0a04f4c4ca9a053180bab71f23
+
+depends_lib port:ocaml \
+ port:caml-findlib \
+ port:caml-ocamlnet
+
+configure.pre_args
+configure.args -with-lex
+
+use_parallel_build no
+build.target all opt
+
+pre-destroot {
+ set ocaml_site_path [exec ocamlfind printconf destdir]
+
+ foreach file {gensrc/pxp-lex-iso88591/Makefile gensrc/pxp-lex-iso885910/Makefile \
+ gensrc/pxp-lex-iso885913/Makefile gensrc/pxp-lex-iso885914/Makefile gensrc/pxp-lex-iso885915/Makefile \
+ gensrc/pxp-lex-iso885916/Makefile gensrc/pxp-lex-iso88592/Makefile gensrc/pxp-lex-iso88593/Makefile \
+ gensrc/pxp-lex-iso88594/Makefile gensrc/pxp-lex-iso88595/Makefile gensrc/pxp-lex-iso88596/Makefile \
+ gensrc/pxp-lex-iso88597/Makefile gensrc/pxp-lex-iso88598/Makefile gensrc/pxp-lex-iso88599/Makefile \
+ gensrc/pxp-lex-utf8/Makefile gensrc/pxp-ulex-utf8/Makefile gensrc/pxp-wlex/Makefile \
+ gensrc/pxp-wlex-utf8/Makefile src/pxp/Makefile src/pxp-engine/Makefile src/pxp-pp/Makefile} {
+ reinplace "s|\$(OCAMLFIND) install|\$(OCAMLFIND) install -destdir ${destroot}/${ocaml_site_path}|g" "${worksrcpath}/${file}"
+ }
+
+ xinstall -m 755 -d ${destroot}${ocaml_site_path}
+}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100507/f2c073cf/attachment-0001.html>
More information about the macports-changes
mailing list