[131478] trunk/dports/devel/ocaml-react/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Jan 12 09:25:59 PST 2015


Revision: 131478
          https://trac.macports.org/changeset/131478
Author:   ryandesign at macports.org
Date:     2015-01-12 09:25:59 -0800 (Mon, 12 Jan 2015)
Log Message:
-----------
ocaml-react: simplify destroot by using xinstall's -W argument

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

Modified: trunk/dports/devel/ocaml-react/Portfile
===================================================================
--- trunk/dports/devel/ocaml-react/Portfile	2015-01-12 17:23:15 UTC (rev 131477)
+++ trunk/dports/devel/ocaml-react/Portfile	2015-01-12 17:25:59 UTC (rev 131478)
@@ -45,20 +45,23 @@
 destroot {
   # from 'react.install'
   xinstall -m 0755 -d ${docdir} ${libdir}
-  xinstall -m 0644 "${worksrcpath}/_build/CHANGES.md" "${docdir}/CHANGES.md"
-  xinstall -m 0644 "${worksrcpath}/_build/README.md" "${docdir}/README.md"
-
-  xinstall -m 0644 "${worksrcpath}/_build/pkg/META" "${libdir}/META"
-  xinstall -m 0644 "${worksrcpath}/_build/src/react.a" "${libdir}/react.a"
-  xinstall -m 0644 "${worksrcpath}/_build/src/react.cma" "${libdir}/react.cma"
-  xinstall -m 0644 "${worksrcpath}/_build/src/react.cmi" "${libdir}/react.cmi"
-  xinstall -m 0644 "${worksrcpath}/_build/src/react.cmti" "${libdir}/react.cmti"
-  xinstall -m 0644 "${worksrcpath}/_build/src/react.cmx" "${libdir}/react.cmx"
-  xinstall -m 0644 "${worksrcpath}/_build/src/react.cmxa" "${libdir}/react.cmxa"
-  xinstall -m 0644 "${worksrcpath}/_build/src/react.cmxs" "${libdir}/react.cmxs"
-  xinstall -m 0644 "${worksrcpath}/_build/src/react.mli" "${libdir}/react.mli"
-  xinstall -m 0644 "${worksrcpath}/_build/src/react_top.a" "${libdir}/react_top.a"
-  xinstall -m 0644 "${worksrcpath}/_build/src/react_top.cma" "${libdir}/react_top.cma"
-  xinstall -m 0644 "${worksrcpath}/_build/src/react_top.cmxa" "${libdir}/react_top.cmxa"
-  xinstall -m 0644 "${worksrcpath}/_build/src/react_top.cmxs" "${libdir}/react_top.cmxs"
+  xinstall -m 0644 -W ${worksrcpath}/_build \
+    CHANGES.md \
+    README.md \
+    ${docdir}
+  xinstall -m 0644 -W ${worksrcpath}/_build \
+    pkg/META \
+    src/react.a \
+    src/react.cma \
+    src/react.cmi \
+    src/react.cmti \
+    src/react.cmx \
+    src/react.cmxa \
+    src/react.cmxs \
+    src/react.mli \
+    src/react_top.a \
+    src/react_top.cma \
+    src/react_top.cmxa \
+    src/react_top.cmxs \
+    ${libdir}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150112/a31304b2/attachment-0001.html>


More information about the macports-changes mailing list