Revision: 94897 https://trac.macports.org/changeset/94897 Author: mww@macports.org Date: 2012-07-01 23:39:41 -0700 (Sun, 01 Jul 2012) Log Message: ----------- ocaml-ulex: add license, use later checksum algorithms, use ocaml-group Modified Paths: -------------- trunk/dports/devel/ocaml-ulex/Portfile Modified: trunk/dports/devel/ocaml-ulex/Portfile =================================================================== --- trunk/dports/devel/ocaml-ulex/Portfile 2012-07-02 06:35:46 UTC (rev 94896) +++ trunk/dports/devel/ocaml-ulex/Portfile 2012-07-02 06:39:41 UTC (rev 94897) @@ -1,46 +1,36 @@ # $Id$ PortSystem 1.0 +PortGroup ocaml 1.0 name ocaml-ulex version 1.1 +categories devel textproc ml +platforms darwin +license BSD maintainers nomaintainer description lexer generator for Unicode and OCaml long_description ulex is a lexer generator for Unicode and OCaml written by Alain Frisch. -categories devel textproc ml - distname ulex-${version} homepage http://www.cduce.org/download.html master_sites http://www.cduce.org/download/ -platforms darwin +checksums rmd160 4219fce15e357bf6edaa6efad04902a84082c3b9 \ + sha256 a01ff3223b295c5b24ee414bb9e9add14357ccf364addcfa734d91a02f9f543a -checksums md5 ce49a013bc4a0e085977a9fe157017bf \ - sha1 1637679a2f678d146e6fbf425f947e6dd8dac8a0 \ - rmd160 4219fce15e357bf6edaa6efad04902a84082c3b9 - depends_lib port:ocaml \ port:ocaml-findlib use_configure no post-patch { - set ocaml_site_path [exec ${prefix}/bin/ocamlfind printconf destdir] - - reinplace "s|ocamlfind install|ocamlfind install -ldconf ignore -destdir ${destroot}/${ocaml_site_path}|g" \ - ${worksrcpath}/Makefile + reinplace "s|ocamlfind|${ocamlfind_wrapper}|g" ${worksrcpath}/Makefile } build.target all.opt -pre-destroot { - set ocaml_site_path [exec ocamlfind printconf destdir] - file mkdir ${destroot}/${ocaml_site_path} -} - - livecheck.type regex livecheck.regex {ulex-(\d+(?:\.\d+)*)}