[95663] trunk/dports/lang/ocamlduce/Portfile
mww at macports.org
mww at macports.org
Wed Jul 18 14:18:41 PDT 2012
Revision: 95663
https://trac.macports.org/changeset/95663
Author: mww at macports.org
Date: 2012-07-18 14:18:41 -0700 (Wed, 18 Jul 2012)
Log Message:
-----------
ocamlduce: install lib so that ocamlduce and ocaml will find it; inv revision
Modified Paths:
--------------
trunk/dports/lang/ocamlduce/Portfile
Modified: trunk/dports/lang/ocamlduce/Portfile
===================================================================
--- trunk/dports/lang/ocamlduce/Portfile 2012-07-18 21:13:06 UTC (rev 95662)
+++ trunk/dports/lang/ocamlduce/Portfile 2012-07-18 21:18:41 UTC (rev 95663)
@@ -4,7 +4,7 @@
name ocamlduce
version 3.12.1.0
-revision 1
+revision 2
categories lang ml
maintainers mww openmaintainer
license {QPL LGPL}
@@ -48,9 +48,14 @@
destroot.args -f Makefile.ocamlduce
destroot.target installopt installbyte
destroot.destdir BINDIR=${destroot}${prefix}/bin \
- LIBDIR=${destroot}${prefix}/lib/ocaml/site-lib \
+ LIBDIR=${destroot}${prefix}/lib/ocaml \
MANDIR=${destroot}${prefix}/share/man
+post-destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/lib/ocaml/site-lib
+ system "cd ${destroot}${prefix}/lib/ocaml/site-lib && ln -s ../ocamlduce"
+}
+
# ocaml is not universal
universal_variant no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120718/d128fb8a/attachment.html>
More information about the macports-changes
mailing list