diff options
Diffstat (limited to 'multimedia/mpv/Makefile')
-rw-r--r-- | multimedia/mpv/Makefile | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile index 2b6a3a7f295b..69ec535b806c 100644 --- a/multimedia/mpv/Makefile +++ b/multimedia/mpv/Makefile @@ -7,10 +7,6 @@ DISTVERSIONPREFIX= v PORTREVISION= 7 PORTEPOCH= 1 CATEGORIES= multimedia audio -MASTER_SITES= http://ftp.waf.io/pub/release/:1 \ - http://www.freehackers.org/~tnagy/release/:1 -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} waf-${WAF_VERSION}:1 -EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= cpm@fbsd.es COMMENT= Free and open-source general-purpose video player @@ -22,9 +18,11 @@ LIB_DEPENDS= libavcodec.so:${PORTSDIR}/multimedia/ffmpeg \ BUILD_DEPENDS= rst2man:${PORTSDIR}/textproc/py-docutils USE_GITHUB= yes -GH_ACCOUNT= mpv-player +GH_ACCOUNT= mpv-player waf-project:waf +GH_PROJECT= waf:waf +GH_TAGNAME= waf-1.8.9:waf -WAF_VERSION= 1.8.9 +WAF_CMD= ${WRKSRC_waf}/waf-light USES= compiler:c11 desktop-file-utils iconv pkgconfig python:build waf USE_LDCONFIG= yes @@ -144,10 +142,6 @@ ZSH_CONFIGURE_ENABLE= zsh-comp CFLAGS:= ${CFLAGS:N-O*} -O0 .endif -post-extract: - @${CP} ${DISTDIR}/waf-${WAF_VERSION} ${WRKSRC}/waf - @${CHMOD} +x ${WRKSRC}/waf - post-patch: @${REINPLACE_CMD} -e 's|/pkgconfig/mpv.pc|data/pkgconfig/mpv.pc|g' \ ${WRKSRC}/wscript_build.py |