[95494] trunk/dports/devel/ocamlsdl/Portfile

mww at macports.org mww at macports.org
Fri Jul 13 23:49:02 PDT 2012


Revision: 95494
          https://trac.macports.org/changeset/95494
Author:   mww at macports.org
Date:     2012-07-13 23:49:02 -0700 (Fri, 13 Jul 2012)
Log Message:
-----------
ocamlsdl: version 0.9.1

Modified Paths:
--------------
    trunk/dports/devel/ocamlsdl/Portfile

Modified: trunk/dports/devel/ocamlsdl/Portfile
===================================================================
--- trunk/dports/devel/ocamlsdl/Portfile	2012-07-14 06:48:34 UTC (rev 95493)
+++ trunk/dports/devel/ocamlsdl/Portfile	2012-07-14 06:49:02 UTC (rev 95494)
@@ -1,12 +1,13 @@
 # $Id$
 
 PortSystem        1.0
+PortGroup           ocaml 1.0
 
 name              ocamlsdl
-version           0.8.0
+version           0.9.1
 categories        devel multimedia
 license           LGPL
-maintainers       nomaintainer
+maintainers       mww openmaintainer
 description       OCaml bindings for SDL
 long_description  \
     SDL (Simple DirectMedia Layer) is a generic API that provides low level access to audio, keyboard, mouse, and display\
@@ -15,24 +16,15 @@
 homepage          http://ocamlsdl.sourceforge.net/
 platforms         darwin
 master_sites      sourceforge:project/${name}/OCamlSDL/${name}-${version}
-checksums           md5     b7ee334cf107867cc8d08cbcc319c9af \
-                    sha1    ebccd8c47d3c0ada8b97a7f6de5483197c885194 \
-                    rmd160  f4595325d075cc6348c341e63ea321952758d7fb
-#patchfiles              patch-configure.diff patch-src-Makefile.diff
+checksums           rmd160  9ed03415db7dabe652efa78e80ddfae221f09d20 \
+                    sha256  abfb295b263dc11e97fffdd88ea1a28b46df8cc2b196777093e4fe7f509e4f8f
+
 depends_lib       port:libsdl_image port:libsdl_mixer port:libsdl_ttf port:ocaml port:lablgl port:ocaml-findlib
 
-set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib
-
-# cheat the system by providing a thin ocamlfind-wrapper that obeys destdir
-post-extract {
-    system -W ${worksrcpath} "echo ${prefix}/bin/ocamlfind \\$* -destdir ${ocamlfind_destdir} -ldconf ignore > ocamlfind"
-    system -W ${worksrcpath} "chmod +x ocamlfind"
-}
-
 configure.args    --disable-sdltest
-configure.env     OCAMLFIND=${worksrcpath}/ocamlfind
+configure.env       OCAMLFIND=${ocamlfind_wrapper}
 
 pre-destroot {
-    xinstall -m 755 -d ${ocamlfind_destdir} ${destroot}${prefix}/share/doc/${name}
+    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
     file copy ${worksrcpath}/doc/html ${destroot}${prefix}/share/doc/${name}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120713/3a30519d/attachment.html>


More information about the macports-changes mailing list