[94899] trunk/dports/devel/ocaml-calendar/Portfile

mww at macports.org mww at macports.org
Sun Jul 1 23:52:49 PDT 2012


Revision: 94899
          https://trac.macports.org/changeset/94899
Author:   mww at macports.org
Date:     2012-07-01 23:52:49 -0700 (Sun, 01 Jul 2012)
Log Message:
-----------
ocaml-calendar: version 2.03.2

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

Modified: trunk/dports/devel/ocaml-calendar/Portfile
===================================================================
--- trunk/dports/devel/ocaml-calendar/Portfile	2012-07-02 06:41:53 UTC (rev 94898)
+++ trunk/dports/devel/ocaml-calendar/Portfile	2012-07-02 06:52:49 UTC (rev 94899)
@@ -1,37 +1,28 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           ocaml 1.0
+
 name                ocaml-calendar
-version             2.0.4
+version             2.03.2
+categories          devel ml
+platforms           darwin
+license             LGPL-2.1
 maintainers         nomaintainer
+homepage            http://calendar.forge.ocamlcore.org/
 description         Objective Caml interface for calendar functions
 long_description    An OCaml interface for managing dates and times.
 
-categories          devel ml
-
+master_sites        https://forge.ocamlcore.org/frs/download.php/915/
 distname            calendar-${version}
 
-homepage            http://calendar.forge.ocamlcore.org/
-master_sites        http://forge.ocamlcore.org/frs/download.php/171/
+checksums           rmd160  b065bb9dcd7a756fd7f77c5fca36b7e2c7e20902 \
+                    sha256  0e381faaa3bba522cbac705a7f872e6ecfa15220671f4688d1e311631687fb12
 
-platforms           darwin
-
-checksums           md5     f460b1f0544d6c29b9d6517ef8a4b282 \
-                    sha1    60917d141a79b07b3bf4289ef906e97bd657814a \
-                    rmd160  23c2a5a8d030cdf19d4d98b7b7bdf67d87146b59
-
 post-patch {
-    set ocaml_site_path [exec ${prefix}/bin/ocamlfind printconf destdir]
-
-    reinplace       "s|\$(CAMLFIND) install|\$(CAMLFIND) install -destdir ${destroot}/${ocaml_site_path}|g" \
-        ${worksrcpath}/Makefile.in
+    reinplace "s|@OCAMLFIND@|${ocamlfind_wrapper}|g" ${worksrcpath}/Makefile.in
 }
 
-pre-destroot {
-    set ocaml_site_path [exec ocamlfind printconf destdir]
-    file mkdir ${destroot}/${ocaml_site_path}
-}
-
 depends_lib         port:ocaml \
                     port:ocaml-findlib
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120701/a3b0d300/attachment.html>


More information about the macports-changes mailing list