summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2015-02-26 09:46:11 +0000
committermarkd <markd@pkgsrc.org>2015-02-26 09:46:11 +0000
commitfe91000b645ade5eaa632a6cc3900c55f3e3e7ee (patch)
tree1e0637139a46b15af9655f968fb1213d4ebcdc27 /multimedia
parentdc0ba5b0272d35ad934112268f79ad4f2f3a256b (diff)
downloadpkgsrc-fe91000b645ade5eaa632a6cc3900c55f3e3e7ee.tar.gz
Use specific version docutils commands.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mpv/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile
index 495155f9658..d44033a87e7 100644
--- a/multimedia/mpv/Makefile
+++ b/multimedia/mpv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2015/02/21 23:35:41 ryoon Exp $
+# $NetBSD: Makefile,v 1.15 2015/02/26 09:46:11 markd Exp $
DISTNAME= mpv-0.8.0
PKGREVISION= 1
@@ -10,7 +10,7 @@ HOMEPAGE= http://mpv.io/
COMMENT= Video player based on MPlayer and mplayer2
LICENSE= gnu-gpl-v2
-BUILD_DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
+BUILD_DEPENDS+= ${PYPKGPREFIX}-docutils>=0.12:../../textproc/py-docutils
# ${WRKSRC}/bootstrap.py mentions needed version
BUILD_DEPENDS+= waf>=1.8.4:../../devel/waf
@@ -29,6 +29,12 @@ SUBST_FILES.audio+= stream/audio_in.c waftools/checks/custom.py wscript
SUBST_STAGE.audio= pre-configure
SUBST_MESSAGE.audio= Fixing path to audio device.
+SUBST_CLASSES+= docutils
+SUBST_SED.docutils+= -e "s,rst2man,rst2man-${PYVERSSUFFIX},"
+SUBST_FILES.docutils+= wscript
+SUBST_STAGE.docutils= pre-configure
+SUBST_MESSAGE.docutils= Fix docutils command names.
+
post-install:
cd ${DESTDIR}${PREFIX} && ${MV} etc/mpv/encoding-profiles.conf share/examples/mpv