[79835] trunk/dports/science/iverilog/Portfile

and.damore at macports.org and.damore at macports.org
Mon Jun 27 15:22:18 PDT 2011


Revision: 79835
          http://trac.macports.org/changeset/79835
Author:   and.damore at macports.org
Date:     2011-06-27 15:22:18 -0700 (Mon, 27 Jun 2011)
Log Message:
-----------
port iverilog, added docs to destroot

Modified Paths:
--------------
    trunk/dports/science/iverilog/Portfile

Modified: trunk/dports/science/iverilog/Portfile
===================================================================
--- trunk/dports/science/iverilog/Portfile	2011-06-27 22:22:14 UTC (rev 79834)
+++ trunk/dports/science/iverilog/Portfile	2011-06-27 22:22:18 UTC (rev 79835)
@@ -37,6 +37,24 @@
     depends_build-append    port:bison
 }
 
+
+post-destroot {
+    set docdir ${destroot}${prefix}/share/doc/${name}
+    xinstall -d ${docdir}
+    xinstall -W ${worksrcpath} \
+        BUGS.txt developer-quick-start.txt lpm.txt t-dll.txt \
+        QUICK_START.txt extensions.txt macosx.txt va_math.txt \
+        README.txt glossary.txt mingw.txt vpi.txt \
+        attributes.txt ieee1364-notes.txt netlist.txt \
+        xilinx-hint.txt ivl_target.txt swift.txt \
+        ${docdir}
+
+    set exampledir ${destroot}${prefix}/share/example
+    xinstall -d ${exampledir}
+    file copy ${worksrcpath}/examples ${exampledir}
+    file rename ${exampledir}/examples ${exampledir}/${name}
+}
+
 # g++-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
 universal_variant no
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110627/e1893c16/attachment.html>


More information about the macports-changes mailing list