[36297] trunk/dports/devel/boost/Portfile

raimue at macports.org raimue at macports.org
Fri Apr 25 19:08:57 PDT 2008


Revision: 36297
          http://trac.macosforge.org/projects/macports/changeset/36297
Author:   raimue at macports.org
Date:     2008-04-25 19:08:56 -0700 (Fri, 25 Apr 2008)

Log Message:
-----------
devel/boost:
Add +docs variant, closes #14895

Modified Paths:
--------------
    trunk/dports/devel/boost/Portfile

Modified: trunk/dports/devel/boost/Portfile
===================================================================
--- trunk/dports/devel/boost/Portfile	2008-04-26 00:00:16 UTC (rev 36296)
+++ trunk/dports/devel/boost/Portfile	2008-04-26 02:08:56 UTC (rev 36297)
@@ -104,3 +104,15 @@
 	configure.args-delete	--without-icu
 	configure.args-append	--with-icu=${prefix}
 }
+
+variant docs {
+    post-destroot {
+        # Install HTML documentation
+        xinstall -d ${destroot}${prefix}/share/doc/${name}
+        xinstall -W ${worksrcpath} index.htm boost.css rst.css boost.png \
+            ${destroot}${prefix}/share/doc/${name}
+        file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
+        file copy ${worksrcpath}/more ${destroot}${prefix}/share/doc/${name}
+        file copy ${worksrcpath}/libs ${destroot}${prefix}/share/doc/${name}
+    }
+}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080425/3fc5cff2/attachment.html


More information about the macports-changes mailing list