[28374] trunk/dports/devel/mpfr/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Wed Aug 29 12:40:54 PDT 2007


Revision: 28374
          http://trac.macosforge.org/projects/macports/changeset/28374
Author:   vinc17 at macports.org
Date:     2007-08-29 12:40:53 -0700 (Wed, 29 Aug 2007)

Log Message:
-----------
Install doc.

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

Modified: trunk/dports/devel/mpfr/Portfile
===================================================================
--- trunk/dports/devel/mpfr/Portfile	2007-08-29 19:40:36 UTC (rev 28373)
+++ trunk/dports/devel/mpfr/Portfile	2007-08-29 19:40:53 UTC (rev 28374)
@@ -4,6 +4,7 @@
 
 name            mpfr
 version         2.3.0
+revision        1
 categories      devel math
 platforms       darwin
 maintainers     vincent-opdarw at vinc17.org
@@ -32,6 +33,13 @@
 test.run        yes
 test.target     check
 
+pre-destroot {
+    set docdir ${destroot}${prefix}/share/doc/${name}
+    file mkdir ${docdir}
+    xinstall -m 644 -v -W ${worksrcpath} \
+      AUTHORS BUGS COPYING.LIB FAQ.html NEWS TODO ${docdir}
+}
+
 platform darwin x86 {
     configure.args-append --host=none-apple-darwin
 }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070829/1b8c36f2/attachment.html


More information about the macports-changes mailing list