[29549] trunk/dports/devel/libsdl/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Fri Sep 28 07:21:56 PDT 2007
Revision: 29549
http://trac.macosforge.org/projects/macports/changeset/29549
Author: nox at macports.org
Date: 2007-09-28 07:21:56 -0700 (Fri, 28 Sep 2007)
Log Message:
-----------
libsdl:
* Hopefully fixed #12800.
* Removed useless xinstall arguments.
Modified Paths:
--------------
trunk/dports/devel/libsdl/Portfile
Modified: trunk/dports/devel/libsdl/Portfile
===================================================================
--- trunk/dports/devel/libsdl/Portfile 2007-09-28 12:59:27 UTC (rev 29548)
+++ trunk/dports/devel/libsdl/Portfile 2007-09-28 14:21:56 UTC (rev 29549)
@@ -33,7 +33,7 @@
set docdir ${prefix}/share/doc/${name}-${version}
post-destroot {
- xinstall -m 0755 -d ${destroot}${docdir}/html
+ xinstall -d ${destroot}${docdir}/html
xinstall -m 0644 -W ${worksrcpath} BUGS COPYING CREDITS INSTALL README README-SDL.txt \
README.MacOSX TODO ${destroot}${docdir}
@@ -42,7 +42,7 @@
reinplace {s at docs/@@g} ${destroot}${docdir}/html/docs.html
foreach {dir} {html images} {
- xinstall -m 0755 -d ${destroot}${docdir}/html/${dir}
+ xinstall -d ${destroot}${docdir}/html/${dir}
eval xinstall -m 0644 [glob ${worksrcpath}/docs/${dir}/*] ${destroot}${docdir}/html/${dir}
}
}
@@ -53,9 +53,9 @@
while {[gets $qt_header line] != -1} {
if {[regexp {Version:} $line]} {
- regexp {(\d+)\.(\d+)(?:\.(\d+))?$} $line qt_ver qt_maj qt_min qt_rev
+ regexp {(\d+\.\d+(?:\.(\d+))?$} $line qt_ver
- if {$qt_maj > 7 || $qt_min > 0 || $qt_rev > 3} {
+ if {[rpm-vercomp ${qt_ver} 7.0.3] > 0} {
ui_error ""
ui_error "Installation of libSDL is exiting because it believes you have"
ui_error "QuickTime version ${qt_ver} installed."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070928/fe3c5834/attachment.html
More information about the macports-changes
mailing list