Modified: trunk/dports/lang/ocaml3-camlp5/Portfile (94908 => 96031)
--- 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