On Jan 31, 2014, at 10:15, [email protected] wrote: > Revision > 116627 > Author > [email protected] > Date > 2014-01-31 08:15:01 -0800 (Fri, 31 Jan 2014) > Log Message > > ocaml-ctypes: new port > Added Paths > > • trunk/dports/devel/ocaml-ctypes/ > • trunk/dports/devel/ocaml-ctypes/Portfile > Diff > > Added: trunk/dports/devel/ocaml-ctypes/Portfile (0 => 116627) > > --- trunk/dports/devel/ocaml-ctypes/Portfile (rev 0) > +++ trunk/dports/devel/ocaml-ctypes/Portfile 2014-01-31 16:15:01 UTC (rev > 116627) > > @@ -0,0 +1,27 @@ > > +# $Id$ > + > +PortSystem 1.0 > +PortGroup ocaml 1.0 > + > +name ocaml-ctypes > +version 0.2.2 > +categories devel ml > +platforms darwin > +license BSD > +maintainers mww openmaintainer > +description Library for binding to C libraries using pure OCaml > +long_description ${description} > +homepage > https://github.com/ocamllabs/ocaml-ctypes > > +master_sites > https://codeload.github.com/ocamllabs/ocaml-ctypes/tar.gz/ > > +distfiles ocaml-ctypes-${version} > +checksums rmd160 97b380a84d1043ff4c1fb62ac63313d63dbfd3a6 \ > + sha256 > 1325c9ade812679e444b54b3e3faf79c1239254947a81fe48ab342043073eae2 > + > +depends_lib port:ocaml \ > + port:ocaml-findlib \ > + port:libffi > + > +worksrcdir ocaml-ctypes-ocaml-ctypes-0.2.2 > +use_configure no > +destroot.destdir OCAMLFIND=${ocamlfind_wrapper}
For software hosted at github, please use the github portgroup; it should simplify your portfile. (You’ll no longer need to specify homepage, master_sites, distfiles, and worksrcdir, and it should fix your livecheck.) If there’s a problem getting it to work, let me know and I’ll take a look. _______________________________________________ macports-dev mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-dev
