[51602] trunk/dports/gnome/gnome/Portfile

devans at macports.org devans at macports.org
Thu May 28 16:42:48 PDT 2009


Revision: 51602
          http://trac.macports.org/changeset/51602
Author:   devans at macports.org
Date:     2009-05-28 16:42:47 -0700 (Thu, 28 May 2009)
Log Message:
-----------
gnome: use text of long_description for installed README.gnome.txt.

Modified Paths:
--------------
    trunk/dports/gnome/gnome/Portfile

Modified: trunk/dports/gnome/gnome/Portfile
===================================================================
--- trunk/dports/gnome/gnome/Portfile	2009-05-28 20:53:58 UTC (rev 51601)
+++ trunk/dports/gnome/gnome/Portfile	2009-05-28 23:42:47 UTC (rev 51602)
@@ -26,9 +26,8 @@
 build       { }
 
 destroot    {
-    file mkdir ${destroot}${prefix}/share/doc/gnome
-    file copy ${filespath}/README.gnome.txt.in ${destroot}${prefix}/share/doc/gnome/README.gnome.txt
-    reinplace "s|@PREFIX@|${prefix}|g" ${destroot}${prefix}/share/doc/gnome/README.gnome.txt
+    file mkdir ${destroot}${prefix}/share/doc
+    system "echo ${long_description} > ${destroot}${prefix}/share/doc/README.${name}.txt"
 }
 
 post-activate {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090528/7fa107bd/attachment-0001.html>


More information about the macports-changes mailing list