[26664] trunk/dports/python/py-pygresql/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Mon Jul 2 00:31:52 PDT 2007


Revision: 26664
          http://trac.macosforge.org/projects/macports/changeset/26664
Author:   jwa at macports.org
Date:     2007-07-02 00:31:52 -0700 (Mon, 02 Jul 2007)

Log Message:
-----------
install docs properly

Modified Paths:
--------------
    trunk/dports/python/py-pygresql/Portfile

Modified: trunk/dports/python/py-pygresql/Portfile
===================================================================
--- trunk/dports/python/py-pygresql/Portfile	2007-07-02 07:23:24 UTC (rev 26663)
+++ trunk/dports/python/py-pygresql/Portfile	2007-07-02 07:31:52 UTC (rev 26664)
@@ -28,8 +28,13 @@
 }
 
 post-destroot	{
-    xinstall -m 644 -W ${worksrcpath} changelog.txt announce.txt README \
-	${destroot}${prefix}/share/doc/${name}
+    xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}
+    foreach doc [glob ${worksrcpath}/docs/*] {
+	xinstall -m 644 ${doc} ${destroot}${prefix}/share/doc/${name}
+    }
+    foreach doc [glob ${worksrcpath}/tutorial/*] {
+	xinstall -m 644 ${doc} ${destroot}${prefix}/share/doc/${name}
+    }
 }
 
 livecheck.check	regex

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070702/744ba6ec/attachment.html


More information about the macports-changes mailing list