[95007] trunk/dports/devel

mww at macports.org mww at macports.org
Tue Jul 3 12:17:12 PDT 2012


Revision: 95007
          https://trac.macports.org/changeset/95007
Author:   mww at macports.org
Date:     2012-07-03 12:17:11 -0700 (Tue, 03 Jul 2012)
Log Message:
-----------
ocaml-ansiterminal: new/upgraded port v0.6

Modified Paths:
--------------
    trunk/dports/devel/ocaml-ansiterminal/Portfile

Added Paths:
-----------
    trunk/dports/devel/ocaml-ansiterminal/

Modified: trunk/dports/devel/ocaml-ansiterminal/Portfile
===================================================================
--- trunk/dports/devel/caml-ansicolor/Portfile	2012-07-01 21:39:37 UTC (rev 94870)
+++ trunk/dports/devel/ocaml-ansiterminal/Portfile	2012-07-03 19:17:11 UTC (rev 95007)
@@ -1,43 +1,34 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           ocaml 1.0
 
-name                caml-ansicolor
-version             0.3
+name                ocaml-ansiterminal
+version             0.6
 categories          devel ml
-maintainers         nomaintainer
+license             LGPL-3
+platforms           darwin
+maintainers         mww
 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/
+homepage            http://ansiterminal.forge.ocamlcore.org/
+master_sites        https://forge.ocamlcore.org/frs/download.php/610/
 
 distname            ANSITerminal-${version}
-use_bzip2           yes
 
 depends_lib         port:ocaml \
                     port:ocaml-findlib
 
-checksums           md5     33efee4b57658ee07b6c17411bab7c66 \
-                    sha1    83686fb5a572ce6c395b2cedcdf82dd9c506d3bb \
-                    rmd160  381dac33989cd20945c8023c54ea3931cb49bbc6
+checksums           rmd160  3cd49b82079a2e09d7ffd3aa97c9819ace5acb27 \
+                    sha256  e2edb63c27508bf7a07da6a066cdaee4534c4ef480ecf38ea33089f2d538a27c
 
-livecheck.type      regex
-livecheck.url       http://w3.umh.ac.be/pub/ftp_san/
-livecheck.regex     {ANSITerminal-(.*)\.tar\.bz2}
+use_oasis           yes
+use_oasis_doc       yes
 
-use_configure       no
-build.target        all doc
+configure.args-append "--override docdir ${destroot}${prefix}/share/doc/${name}"
 
-pre-destroot {
-    set ocaml_site_path [exec ocamlfind printconf destdir]
-    file mkdir ${destroot}/${ocaml_site_path}
-    file mkdir ${destroot}/${ocaml_site_path}/stublibs
-}
+livecheck.type      regex
+livecheck.url       https://forge.ocamlcore.org/frs/?group_id=187
+livecheck.regex     ANSITerminal-(\[0-9.\]+)${extract.suffix}
 
-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/20120703/cf656942/attachment-0001.html>


More information about the macports-changes mailing list