[96031] trunk/dports/lang

mww at macports.org mww at macports.org
Sun Jul 29 05:38:11 PDT 2012


Revision: 96031
          https://trac.macports.org/changeset/96031
Author:   mww at macports.org
Date:     2012-07-29 05:38:08 -0700 (Sun, 29 Jul 2012)
Log Message:
-----------
ocaml3-camlp5: new port (clone camlp5 for ocaml3)

Modified Paths:
--------------
    trunk/dports/lang/ocaml3-camlp5/Portfile

Added Paths:
-----------
    trunk/dports/lang/ocaml3-camlp5/

Modified: trunk/dports/lang/ocaml3-camlp5/Portfile
===================================================================
--- trunk/dports/lang/camlp5/Portfile	2012-07-02 08:39:58 UTC (rev 94908)
+++ trunk/dports/lang/ocaml3-camlp5/Portfile	2012-07-29 12:38:08 UTC (rev 96031)
@@ -2,7 +2,7 @@
 
 PortSystem 1.0
 
-name                camlp5
+name                ocaml3-camlp5
 version             6.06
 categories          lang ml
 license             BSD
@@ -27,13 +27,23 @@
 checksums           rmd160  fefa727e756266d3b0697df494042c327f32294d \
                     sha256  763f89ee6cde4ca063a50708c3fe252d55ea9f8037e3ae9801690411ea6180c5
 
-depends_build       port:ocaml
+distname            camlp5-${version}
+
+depends_build       port:ocaml3
 extract.suffix      .tgz
+configure.env-append PATH=${prefix}/libexec/ocaml3:$env(PATH)
 configure.pre_args  --prefix "${prefix}" \
+                    --bindir "${prefix}/libexec/ocaml3" \
+                    --libdir "${prefix}/lib/ocaml3" \
                     --mandir "${prefix}/share/man"
+build.env-append    PATH=${prefix}/libexec/ocaml3:$env(PATH)
 build.target        world.opt
 use_parallel_build  no
 
+post-destroot {
+    delete ${destroot}${prefix}/share/man
+}
+
 # ocaml is not universal
 universal_variant   no
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120729/bd48bf42/attachment-0001.html>


More information about the macports-changes mailing list