[61799] trunk/dports/science/stuff/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Dec 21 09:55:47 PST 2009


Revision: 61799
          http://trac.macports.org/changeset/61799
Author:   ryandesign at macports.org
Date:     2009-12-21 09:55:46 -0800 (Mon, 21 Dec 2009)
Log Message:
-----------
stuff: simplify destroot, don't install docs into versioned directory

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

Modified: trunk/dports/science/stuff/Portfile
===================================================================
--- trunk/dports/science/stuff/Portfile	2009-12-21 17:54:40 UTC (rev 61798)
+++ trunk/dports/science/stuff/Portfile	2009-12-21 17:55:46 UTC (rev 61799)
@@ -5,6 +5,7 @@
 
 name               stuff
 version            1.19
+revision           1
 categories         science
 platforms          darwin
 maintainers        saao.ac.za:tim
@@ -23,10 +24,16 @@
                    rmd160  c8ac8d3bbe7cd4a7e48b81b98de60b6c777e6e74
 
 post-destroot {
-    set docdir ${destroot}${prefix}/share/doc/${name}-${version}
+    set docdir ${destroot}${prefix}/share/doc/${name}
     xinstall -m 755 -d ${docdir}
-    eval xinstall -m 644 ${worksrcpath}/README ${worksrcpath}/AUTHORS \
-        ${worksrcpath}/COPYRIGHT ${worksrcpath}/ChangeLog ${worksrcpath}/BUGS \
-        ${worksrcpath}/HISTORY ${worksrcpath}/INSTALL ${worksrcpath}/THANKS \
+    xinstall -m 644 -W ${worksrcpath} \
+        README \
+        AUTHORS \
+        COPYRIGHT \
+        ChangeLog \
+        BUGS \
+        HISTORY \
+        INSTALL \
+        THANKS \
         ${docdir}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091221/cf6b369d/attachment.html>


More information about the macports-changes mailing list