[84324] trunk/dports/lang/ccl/Portfile

and.damore at macports.org and.damore at macports.org
Thu Sep 22 08:44:33 PDT 2011


Revision: 84324
          http://trac.macports.org/changeset/84324
Author:   and.damore at macports.org
Date:     2011-09-22 08:44:32 -0700 (Thu, 22 Sep 2011)
Log Message:
-----------
port ccl: copying doc and examples in porthier compliant paths

Modified Paths:
--------------
    trunk/dports/lang/ccl/Portfile

Modified: trunk/dports/lang/ccl/Portfile
===================================================================
--- trunk/dports/lang/ccl/Portfile	2011-09-22 15:43:45 UTC (rev 84323)
+++ trunk/dports/lang/ccl/Portfile	2011-09-22 15:44:32 UTC (rev 84324)
@@ -59,6 +59,7 @@
 
 build		{
 		  system "cd ${worksrcpath} && echo '(ccl::rebuild-ccl :full t)' | ./${bootimg} --batch"
+    system "cd ${worksrcpath}/doc/src && make -f Makefile.macports"
 		}
 
 set prefixpath  \\\"[regsub -all / [strsed ${prefix}/share/asdf-install {g/^\///}] "\\\" \\\""]\\\"
@@ -70,8 +71,16 @@
 		  ${workpath}/ccl/scripts/${ccl_script}
 		  system "chmod +x ${workpath}/ccl/scripts/${ccl_script}"
 		  file copy ${workpath}/ccl/scripts/${ccl_script} ${destroot}${prefix}/bin
-		}
 
+    xinstall -d ${destroot}${prefix}/share/doc/${name}
+    xinstall -d ${destroot}${prefix}/share/examples
+    xinstall -m 644 -W ${worksrcpath}/doc ccl-documentation.html LGPL LICENSE \
+             release-notes-1.1.txt release-notes-1.2.txt release-notes.txt \
+             ${destroot}${prefix}/share/doc/${name}
+    file copy ${worksrcpath}/examples ${destroot}${prefix}/share/examples/${name}
+
+    }
+
 post-activate	{
 		  # Prepare asdf install folders and so forth.
                   file mkdir ${prefix}/share/asdf-install
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110922/f8b58bd9/attachment-0001.html>


More information about the macports-changes mailing list