aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mpv
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-04-08 15:05:48 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-04-08 15:05:48 +0000
commit8157e9f8001110ec707b895aa362d7abc4f5c948 (patch)
tree81627af7b0f0c701d807cb8a4046a4740517b9f9 /multimedia/mpv
parent671d1d9bd194a574d3933765d1cc084536ad8e91 (diff)
downloadports-8157e9f8001110ec707b895aa362d7abc4f5c948.tar.gz
ports-8157e9f8001110ec707b895aa362d7abc4f5c948.zip
Notes
Diffstat (limited to 'multimedia/mpv')
-rw-r--r--multimedia/mpv/Makefile16
1 files changed, 1 insertions, 15 deletions
diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile
index b4d810c7e023..5548d0de9eed 100644
--- a/multimedia/mpv/Makefile
+++ b/multimedia/mpv/Makefile
@@ -28,7 +28,7 @@ GH_COMMIT= ff4c1cc
WAF_VERSION= 1.8.7
-USES= compiler:c11 desktop-file-utils iconv pkgconfig python:build
+USES= compiler:c11 desktop-file-utils iconv pkgconfig python:build waf
USE_XORG= x11 xv xxf86vm
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
@@ -126,8 +126,6 @@ JACK_CONFIGURE_ENABLE= jack
PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio
PULSEAUDIO_CONFIGURE_ENABLE= pulse
-.include <bsd.port.options.mk>
-
post-extract:
${CP} ${DISTDIR}/waf-${WAF_VERSION} ${WRKSRC}/waf
@${CHMOD} +x ${WRKSRC}/waf
@@ -138,18 +136,6 @@ post-patch:
@${FIND} ${WRKSRC}/DOCS/man -name '*.rst' | ${XARGS} ${REINPLACE_CMD} \
-e 's|/usr/local|${PREFIX}|g'
-do-configure:
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \
- waf configure ${_MAKE_JOBS} ${CONFIGURE_ARGS}
-
-do-build:
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \
- waf build ${_MAKE_JOBS}
-
-do-install:
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \
- waf install --destdir=${STAGEDIR}
-
post-stage:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mpv
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmpv.so