[84781] trunk/dports/devel/ocaml-ogg/Portfile

mww at macports.org mww at macports.org
Sat Oct 1 12:45:54 PDT 2011


Revision: 84781
          http://trac.macports.org/changeset/84781
Author:   mww at macports.org
Date:     2011-10-01 12:45:48 -0700 (Sat, 01 Oct 2011)
Log Message:
-----------
ocaml-ogg: use ocaml port group

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

Modified: trunk/dports/devel/ocaml-ogg/Portfile
===================================================================
--- trunk/dports/devel/ocaml-ogg/Portfile	2011-10-01 18:45:15 UTC (rev 84780)
+++ trunk/dports/devel/ocaml-ogg/Portfile	2011-10-01 19:45:48 UTC (rev 84781)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup ocaml 1.0
 
 name                ocaml-ogg
 version             0.2.0
@@ -23,12 +24,7 @@
                     port:libogg
 
 configure.pkg_config    ${prefix}/bin/pkg-config
+configure.env       OCAMLFIND=${ocamlfind_wrapper}
 
 build.args          LIBDIRS=${prefix}/lib
 
-pre-destroot {
-  set ocamlfind_destdir "${destroot}[exec ${prefix}/bin/ocamlfind printconf destdir]"
-  file mkdir $ocamlfind_destdir
-  reinplace "s#\$(OCAMLFIND_INSTFLAGS)# -ldconf ignore -destdir '$ocamlfind_destdir'#g" \
-    ${worksrcpath}/src/OCamlMakefile
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111001/307cd919/attachment.html>


More information about the macports-changes mailing list