[53821] trunk/dports/devel
stechert at macports.org
stechert at macports.org
Tue Jul 14 16:27:03 PDT 2009
Revision: 53821
http://trac.macports.org/changeset/53821
Author: stechert at macports.org
Date: 2009-07-14 16:27:03 -0700 (Tue, 14 Jul 2009)
Log Message:
-----------
Re #18786, added port for caml-ansicolor.
Added Paths:
-----------
trunk/dports/devel/caml-ansicolor/
trunk/dports/devel/caml-ansicolor/Portfile
Added: trunk/dports/devel/caml-ansicolor/Portfile
===================================================================
--- trunk/dports/devel/caml-ansicolor/Portfile (rev 0)
+++ trunk/dports/devel/caml-ansicolor/Portfile 2009-07-14 23:27:03 UTC (rev 53821)
@@ -0,0 +1,40 @@
+# $Id$
+
+PortSystem 1.0
+
+name caml-ansicolor
+version 0.3
+categories devel ml
+maintainers anil at recoil.org openmaintainer
+description OCaml bindings for ANSI colors and cursor movements
+long_description ${description}
+
+homepage http://math.umh.ac.be/an/software.php
+platforms darwin
+master_sites http://w3.umh.ac.be/pub/ftp_san/
+
+distname ANSITerminal-${version}
+use_bzip2 yes
+
+depends_lib port:ocaml \
+ port:caml-findlib
+
+checksums md5 33efee4b57658ee07b6c17411bab7c66 \
+ sha1 83686fb5a572ce6c395b2cedcdf82dd9c506d3bb \
+ rmd160 381dac33989cd20945c8023c54ea3931cb49bbc6
+
+use_configure no
+build.target all doc
+
+pre-destroot {
+ set ocaml_site_path [exec ocamlfind printconf destdir]
+ file mkdir ${destroot}/${ocaml_site_path}
+ file mkdir ${destroot}/${ocaml_site_path}/stublibs
+}
+
+post-destroot {
+ xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
+ eval xinstall -m 644 [glob ${worksrcpath}/ANSITerminal.html/*.html] \
+ ${destroot}/${prefix}/share/doc/${name}
+}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090714/8cf53976/attachment.html>
More information about the macports-changes
mailing list