[129507] trunk/dports/multimedia/mpv/Portfile
ionic at macports.org
ionic at macports.org
Sun Dec 14 16:26:55 PST 2014
Revision: 129507
https://trac.macports.org/changeset/129507
Author: ionic at macports.org
Date: 2014-12-14 16:26:55 -0800 (Sun, 14 Dec 2014)
Log Message:
-----------
mpv: inline waf fetching.
Modified Paths:
--------------
trunk/dports/multimedia/mpv/Portfile
Modified: trunk/dports/multimedia/mpv/Portfile
===================================================================
--- trunk/dports/multimedia/mpv/Portfile 2014-12-15 00:11:38 UTC (rev 129506)
+++ trunk/dports/multimedia/mpv/Portfile 2014-12-15 00:26:55 UTC (rev 129507)
@@ -7,7 +7,7 @@
# Please revbump mpv whenever ffmpeg{,-devel} is updated!
github.setup mpv-player mpv 0.7.1 v
-revision 0
+revision 1
categories multimedia
license GPL-2+
maintainers ionic
@@ -22,9 +22,21 @@
and even H.264 movies.
homepage http://www.mpv.io/
-checksums rmd160 0c34377f400bdb05536666866418442c32792866 \
- sha256 e7aa04852944eae4ebe0c38da83093e757f04741b98b3dd2cc4c2cdd3cea3e91
+set waf_version 1.8.1
+set waf_distfile waf-${waf_version}
+set mpv_distfile ${distfiles}
+master_sites-append http://ftp.waf.io/pub/release:waf
+distfiles-append ${waf_distfile}:waf
+extract.only-delete ${waf_distfile}
+
+checksums ${mpv_distfile} \
+ rmd160 0c34377f400bdb05536666866418442c32792866 \
+ sha256 e7aa04852944eae4ebe0c38da83093e757f04741b98b3dd2cc4c2cdd3cea3e91 \
+ ${waf_distfile} \
+ rmd160 d74bf5e8b2399098aef8e9bf57fb800a473be6a1 \
+ sha256 ec658116ba0b96629d91fde0b32321849e866e0819f1e835c4c2c7f7ffe1a21d
+
depends_build path:bin/pkg-config:pkgconfig
depends_lib path:lib/libavcodec.dylib:ffmpeg \
path:bin/perl:perl5 \
@@ -239,8 +251,8 @@
reinplace -W "${worksrcpath}" "s|'rst2man'|'rst2man-${python_ver_dot}'|" wscript
}
-pre-configure {
- system -W "${worksrcpath}" "${waf.python} bootstrap.py"
+post-extract {
+ xinstall -m 0644 -W "${distpath}" "${waf_distfile}" "${worksrcpath}/waf"
}
post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141214/62c08da4/attachment.html>
More information about the macports-changes
mailing list