[38689] trunk/dports/devel/caml-calendar
landonf at macports.org
landonf at macports.org
Mon Jul 28 17:08:46 PDT 2008
Revision: 38689
http://trac.macosforge.org/projects/macports/changeset/38689
Author: landonf at macports.org
Date: 2008-07-28 17:08:45 -0700 (Mon, 28 Jul 2008)
Log Message:
-----------
Port broken; Update to 2.0, add findlib support.
Modified Paths:
--------------
trunk/dports/devel/caml-calendar/Portfile
Removed Paths:
-------------
trunk/dports/devel/caml-calendar/files/
Modified: trunk/dports/devel/caml-calendar/Portfile
===================================================================
--- trunk/dports/devel/caml-calendar/Portfile 2008-07-28 23:51:47 UTC (rev 38688)
+++ trunk/dports/devel/caml-calendar/Portfile 2008-07-29 00:08:45 UTC (rev 38689)
@@ -2,19 +2,33 @@
PortSystem 1.0
name caml-calendar
-version 1.09.3
-distfiles calendar-${version}.tar.gz
-worksrcdir calendar-${version}
-revision 0
-categories devel ml
+version 2.0.4
maintainers anil at recoil.org
description Objective Caml interface for calendar functions
long_description An OCaml interface for managing dates and times.
+
+categories devel ml
+
+distname calendar-${version}
+
homepage http://www.lri.fr/~signoles/prog.en.html
+master_sites http://www.lri.fr/~signoles/prog/calendar/
+
platforms darwin
-patchfiles patch-configure.diff patch-Makefile.in.diff
-master_sites http://www.lri.fr/~signoles/prog/calendar/
-extract.suffix .tar.gz
-build.target all
-checksums md5 1ece7e999bc401f7f5c8c16a6e254459
-depends_lib bin:camlp4:ocaml
+
+checksums md5 f460b1f0544d6c29b9d6517ef8a4b282
+
+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
+}
+
+pre-destroot {
+ set ocaml_site_path [exec ocamlfind printconf destdir]
+ file mkdir ${destroot}/${ocaml_site_path}
+}
+
+depends_lib port:ocaml \
+ port:caml-findlib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080728/36d1254f/attachment.html
More information about the macports-changes
mailing list