[27597] trunk/dports/devel/libsdl/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Fri Aug 10 04:39:39 PDT 2007


Revision: 27597
          http://trac.macosforge.org/projects/macports/changeset/27597
Author:   nox at macports.org
Date:     2007-08-10 04:39:38 -0700 (Fri, 10 Aug 2007)

Log Message:
-----------
libsdl:
* Fixed documentation installation.

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

Modified: trunk/dports/devel/libsdl/Portfile
===================================================================
--- trunk/dports/devel/libsdl/Portfile	2007-08-10 08:26:27 UTC (rev 27596)
+++ trunk/dports/devel/libsdl/Portfile	2007-08-10 11:39:38 UTC (rev 27597)
@@ -34,8 +34,13 @@
 	xinstall -m 0644 -W ${worksrcpath} BUGS COPYING CREDITS INSTALL README README-SDL.txt \
         README.MacOSX TODO ${destroot}${docdir}
 
-	xinstall -m 0644 -W ${worksrcpath}/docs index.html docs.html ${destroot}${docdir}/html
-    eval xinstall -m 0644 [glob ${worksrcpath}/docs/*] ${destroot}${docdir}/html
+	xinstall -m 0644 -W ${worksrcpath} docs.html docs/index.html ${destroot}${docdir}/html
+	reinplace {s at docs/@@g} ${destroot}${docdir}/html/docs.html    
+
+	foreach {dir} {html images} {
+		xinstall -m 0755 -d ${destroot}${docdir}/html/${dir}
+		eval xinstall -m 0644 [glob ${worksrcpath}/docs/${dir}/*] ${destroot}${docdir}/html/${dir}
+	}
 }
 
 platform darwin 7 {

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070810/687131c7/attachment.html


More information about the macports-changes mailing list