[94901] trunk/dports/devel/ocaml-pgocaml

mww at macports.org mww at macports.org
Mon Jul 2 00:05:28 PDT 2012


Revision: 94901
          https://trac.macports.org/changeset/94901
Author:   mww at macports.org
Date:     2012-07-02 00:05:28 -0700 (Mon, 02 Jul 2012)
Log Message:
-----------
ocaml-pgocaml: version 1.4

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

Removed Paths:
-------------
    trunk/dports/devel/ocaml-pgocaml/files/

Modified: trunk/dports/devel/ocaml-pgocaml/Portfile
===================================================================
--- trunk/dports/devel/ocaml-pgocaml/Portfile	2012-07-02 06:58:52 UTC (rev 94900)
+++ trunk/dports/devel/ocaml-pgocaml/Portfile	2012-07-02 07:05:28 UTC (rev 94901)
@@ -1,11 +1,12 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           ocaml 1.0
 
 name                ocaml-pgocaml
-version             1.1
-revision            1
+version             1.4
 categories          devel ocaml
+license             LGPL-2
 maintainers         landonf openmaintainer
 description         Type-safe OCaml-interface to the PostgreSQL-database
 long_description    PG'OCaml is a type-safe, simple interface to PostgreSQL \
@@ -14,13 +15,13 @@
 
 homepage            http://developer.berlios.de/projects/pgocaml/
 platforms           darwin
-master_sites        http://download.berlios.de/pgocaml/
+master_sites        sourceforge:pgocaml.berlios
 
 distname            pgocaml-${version}
+extract.suffix      .tgz
 
-checksums           md5 e52d0f88b4ce850aa592a033c7e7b64d \
-                    sha1 6f0daa89777a8b93380ad0857b50efc996df322e \
-                    rmd160 625caad4c1f5eeda00374f34a1bbe1ce06ee066b
+checksums           rmd160  3d118e0edfd0d308a9407f41fe66b1000c0f4c20 \
+                    sha256  ee041b2efcf071b0b0e7f48428b2cfd8a1b4550bfe402dbe2a259af2b7b5c190
 
 depends_lib         port:ocaml \
                     port:ocaml-findlib \
@@ -28,20 +29,15 @@
                     port:ocaml-csv \
                     port:ocaml-pcre
 
-patchfiles          patch-Makefile
-
 post-patch {
-    set ocaml_site_path [exec ocamlfind printconf destdir]
-
-    reinplace       "s|ocamlfind install|ocamlfind install -destdir ${destroot}/${ocaml_site_path}|g" \
-                    ${worksrcpath}/Makefile
+    reinplace "s|ocamlfind|${ocamlfind_wrapper}|g" ${worksrcpath}/Makefile
 }
 
-pre-destroot {
-    set ocaml_site_path [exec ocamlfind printconf destdir]
-    file mkdir ${destroot}/${ocaml_site_path}
-}
+use_configure       no
 
+build.target        pGOCaml_generic.cmi pGOCaml.cmi all
+use_parallel_build  no
+
 destroot.target     findlib_install
 
-use_configure        no
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120702/2023906c/attachment-0001.html>


More information about the macports-changes mailing list