[94359] trunk/dports/devel/ocaml-text

mww at macports.org mww at macports.org
Sat Jun 16 02:42:07 PDT 2012


Revision: 94359
          https://trac.macports.org/changeset/94359
Author:   mww at macports.org
Date:     2012-06-16 02:42:05 -0700 (Sat, 16 Jun 2012)
Log Message:
-----------
ocaml-text: version 0.5, take (open)maintainership

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

Added Paths:
-----------
    trunk/dports/devel/ocaml-text/files/patch-setup.ml.diff

Removed Paths:
-------------
    trunk/dports/devel/ocaml-text/files/patch-Makefile.diff

Modified: trunk/dports/devel/ocaml-text/Portfile
===================================================================
--- trunk/dports/devel/ocaml-text/Portfile	2012-06-16 08:12:34 UTC (rev 94358)
+++ trunk/dports/devel/ocaml-text/Portfile	2012-06-16 09:42:05 UTC (rev 94359)
@@ -1,31 +1,33 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           ocaml 1.0
 
 name                ocaml-text
-version             0.2
-distname            text-${version}
+version             0.5
 categories          devel ml
 license             BSD
-maintainers         nomaintainer
+maintainers         mww openmaintainer
 description         library for Unicode text in OCaml
 long_description    OCaml-Text is a library for dealing with text, \
                     i.e. sequence of unicode characters, in a convenient way.
 platforms           darwin
 homepage            http://forge.ocamlcore.org/projects/ocaml-text/
-master_sites        http://forge.ocamlcore.org/frs/download.php/211/
-patchfiles          patch-Makefile.diff
+master_sites        http://forge.ocamlcore.org/frs/download.php/641/
 
-depends_lib         port:ocaml port:ocaml-findlib
+depends_lib         port:ocaml port:ocaml-findlib port:ocaml-pcre port:libiconv
 
-checksums           md5     8f6372dd2837d8b8c4050d0a3dc966e5 \
-                    sha1    16800464a73e82113087478d4212afd6af39291a \
-                    rmd160  f72dacb4004c81b2ea0b72bf40605cb9fe133eef
+checksums           rmd160  860fbfc66511d008ab4f18c53bcadc78e961c5ad \
+                    sha256  d7fc2ae616130a61f822686a6c366a5a4653d3fd8785c14d57038c9f5643dfc3
 
-use_configure       no
-set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib
-destroot.post_args  DESTDIR="$ocamlfind_destdir"
+patchfiles          patch-setup.ml.diff
+post-patch { reinplace "s|@prefix@|${prefix}|g" ${worksrcpath}/setup.ml }
 
+use_oasis           yes
+use_oasis_doc       yes
+
+configure.args-append --override pcre true
+
 livecheck.type      regex
 livecheck.url       http://forge.ocamlcore.org/frs/?group_id=100
-livecheck.regex     {>text-(.*)\.tar\.gz}
+livecheck.regex     {>ocaml-text-(.*)\.tar\.gz}

Deleted: trunk/dports/devel/ocaml-text/files/patch-Makefile.diff
===================================================================
--- trunk/dports/devel/ocaml-text/files/patch-Makefile.diff	2012-06-16 08:12:34 UTC (rev 94358)
+++ trunk/dports/devel/ocaml-text/files/patch-Makefile.diff	2012-06-16 09:42:05 UTC (rev 94359)
@@ -1,12 +0,0 @@
---- Makefile.orig	2009-09-28 12:42:48.000000000 +0100
-+++ Makefile	2009-09-28 12:44:05.000000000 +0100
-@@ -24,7 +24,8 @@
- 
- .PHONY: install
- install:
--	$(OF) install $(NAME) _build/META \
-+	mkdir -p ${DESTDIR}
-+	$(OF) install -destdir ${DESTDIR} -ldconf ignore $(NAME) _build/META \
- 	  _build/src/*.mli \
- 	  _build/src/*.cmi \
- 	  _build/src/*.cmx \

Added: trunk/dports/devel/ocaml-text/files/patch-setup.ml.diff
===================================================================
--- trunk/dports/devel/ocaml-text/files/patch-setup.ml.diff	                        (rev 0)
+++ trunk/dports/devel/ocaml-text/files/patch-setup.ml.diff	2012-06-16 09:42:05 UTC (rev 94359)
@@ -0,0 +1,17 @@
+--- setup.ml	2011-07-04 18:26:16.000000000 +0200
++++ setup.ml	2012-06-16 11:36:57.000000000 +0200
+@@ -9,13 +9,7 @@
+ 
+ (* List of paths to search for iconv *)
+ let search_paths = [
+-  "/usr";
+-  "/usr/local";
+-  "/opt";
+-  "/opt/local";
+-  "/sw";
+-  "/mingw";
+-  "/mingw/local";
++  "@prefix@";
+ ]
+ 
+ (* OASIS_START *)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120616/30d6962d/attachment-0001.html>


More information about the macports-changes mailing list