[41706] trunk/dports/audio/qtplay/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun Nov 9 02:20:35 PST 2008
Revision: 41706
http://trac.macports.org/changeset/41706
Author: ryandesign at macports.org
Date: 2008-11-09 02:20:35 -0800 (Sun, 09 Nov 2008)
Log Message:
-----------
qtplay: make the enclosing worksrcdir when extracting since the upstream tarball does not do so
Modified Paths:
--------------
trunk/dports/audio/qtplay/Portfile
Modified: trunk/dports/audio/qtplay/Portfile
===================================================================
--- trunk/dports/audio/qtplay/Portfile 2008-11-09 10:18:17 UTC (rev 41705)
+++ trunk/dports/audio/qtplay/Portfile 2008-11-09 10:20:35 UTC (rev 41706)
@@ -25,21 +25,22 @@
distname ${name}${version}
checksums md5 f6cb47521afbfc5b40efdd2d8433830d
+extract.mkdir yes
post-extract {
- file delete ${workpath}/${name}
+ file delete ${worksrcpath}/${name}
}
use_configure no
set my_ldflags "-framework Carbon -framework QuickTime"
build {
- system "cd ${workpath} && gcc -o ${name} ${my_ldflags} ${name}.c"
+ system "cd ${worksrcpath} && gcc -o ${name} ${my_ldflags} ${name}.c"
}
destroot {
- xinstall -m 755 ${workpath}/${name} \
+ xinstall -m 755 -W ${worksrcpath} ${name} \
${destroot}${prefix}/bin
- xinstall -m 644 ${workpath}/${name}.1 \
+ xinstall -m 644 -W ${worksrcpath} ${name}.1 \
${destroot}${prefix}/share/man/man1
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081109/ea1a02bf/attachment-0001.html>
More information about the macports-changes
mailing list