pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/mpc mpc: Install man page.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7161bf7f2c27
branches:  trunk
changeset: 345153:7161bf7f2c27
user:      nia <nia%pkgsrc.org@localhost>
date:      Wed Dec 04 11:37:16 2019 +0000

description:
mpc: Install man page.

Bump PKGREVISION

diffstat:

 audio/mpc/Makefile                      |  22 +++++++++++++---------
 audio/mpc/PLIST                         |  25 ++++++++++++++++++++++++-
 audio/mpc/distinfo                      |   3 ++-
 audio/mpc/patches/patch-doc_meson.build |  13 +++++++++++++
 4 files changed, 52 insertions(+), 11 deletions(-)

diffs (108 lines):

diff -r 551db366fb4e -r 7161bf7f2c27 audio/mpc/Makefile
--- a/audio/mpc/Makefile        Wed Dec 04 11:22:39 2019 +0000
+++ b/audio/mpc/Makefile        Wed Dec 04 11:37:16 2019 +0000
@@ -1,25 +1,29 @@
-# $NetBSD: Makefile,v 1.32 2019/11/10 11:27:07 nia Exp $
+# $NetBSD: Makefile,v 1.33 2019/12/04 11:37:16 nia Exp $
 
 DISTNAME=              mpc-0.33
+PKGREVISION=           1
 CATEGORIES=            audio
-MASTER_SITES=          http://www.musicpd.org/download/mpc/0/
+MASTER_SITES=          https://www.musicpd.org/download/mpc/0/
 EXTRACT_SUFX=          .tar.xz
 
 MAINTAINER=            simonb%NetBSD.org@localhost
-HOMEPAGE=              http://musicpd.org/
+HOMEPAGE=              https://musicpd.org/
 COMMENT=               Command-line client for musicpd
 LICENSE=               gnu-gpl-v2
 
-USE_LIBTOOL=           yes
 USE_TOOLS+=            pkg-config
 
-REPLACE_SH=            doc/*.sh
-
 LDFLAGS+=              ${BUILDLINK_LDADD.iconv}
 
-# By default it generates and installs HTML documentation if py-sphinx
-# is installed, causing our PLIST check to fail.
-MESON_ARGS+=           -Ddocumentation=disabled
+SUBST_CLASSES+=                sphinx
+SUBST_STAGE.sphinx=    pre-configure
+SUBST_FILES.sphinx=    meson.build
+SUBST_MESSAGE.sphinx=  Fixing sphinx binary name.
+SUBST_SED.sphinx+=     -e "s,sphinx-build,sphinx-build-${PYVERSSUFFIX},"
+
+PYTHON_FOR_BUILD_ONLY= tool
+
+PYTHON_VERSIONED_DEPENDENCIES= sphinx:tool
 
 .include "../../devel/meson/build.mk"
 BUILDLINK_API_DEPENDS.libmpdclient+=   libmpdclient>=2.9
diff -r 551db366fb4e -r 7161bf7f2c27 audio/mpc/PLIST
--- a/audio/mpc/PLIST   Wed Dec 04 11:22:39 2019 +0000
+++ b/audio/mpc/PLIST   Wed Dec 04 11:37:16 2019 +0000
@@ -1,5 +1,6 @@
-@comment $NetBSD: PLIST,v 1.8 2018/02/25 20:30:21 wiz Exp $
+@comment $NetBSD: PLIST,v 1.9 2019/12/04 11:37:16 nia Exp $
 bin/mpc
+man/man1/mpc.1
 share/doc/mpc/AUTHORS
 share/doc/mpc/COPYING
 share/doc/mpc/NEWS
@@ -7,3 +8,25 @@
 share/doc/mpc/contrib/mpc-completion.bash
 share/doc/mpc/contrib/mpd-m3u-handler.sh
 share/doc/mpc/contrib/mpd-pls-handler.sh
+share/doc/mpc/html/.buildinfo
+share/doc/mpc/html/_sources/index.rst.txt
+share/doc/mpc/html/_static/alabaster.css
+share/doc/mpc/html/_static/basic.css
+share/doc/mpc/html/_static/custom.css
+share/doc/mpc/html/_static/doctools.js
+share/doc/mpc/html/_static/documentation_options.js
+share/doc/mpc/html/_static/file.png
+share/doc/mpc/html/_static/jquery-3.4.1.js
+share/doc/mpc/html/_static/jquery.js
+share/doc/mpc/html/_static/language_data.js
+share/doc/mpc/html/_static/minus.png
+share/doc/mpc/html/_static/plus.png
+share/doc/mpc/html/_static/pygments.css
+share/doc/mpc/html/_static/searchtools.js
+share/doc/mpc/html/_static/underscore-1.3.1.js
+share/doc/mpc/html/_static/underscore.js
+share/doc/mpc/html/genindex.html
+share/doc/mpc/html/index.html
+share/doc/mpc/html/objects.inv
+share/doc/mpc/html/search.html
+share/doc/mpc/html/searchindex.js
diff -r 551db366fb4e -r 7161bf7f2c27 audio/mpc/distinfo
--- a/audio/mpc/distinfo        Wed Dec 04 11:22:39 2019 +0000
+++ b/audio/mpc/distinfo        Wed Dec 04 11:37:16 2019 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.23 2019/11/02 19:07:25 nia Exp $
+$NetBSD: distinfo,v 1.24 2019/12/04 11:37:16 nia Exp $
 
 SHA1 (mpc-0.33.tar.xz) = e6d5d7d46bed3e41741221846ac438af9b7e987a
 RMD160 (mpc-0.33.tar.xz) = 5dc046e58b7f72d425df57d0082cc0bb9a607513
 SHA512 (mpc-0.33.tar.xz) = d3247dfb54ac3c95caf5666088968a952b33eb7e8f941bca4f3715603839cf5a1bc5300488c78fdce6e38f612b243f2252ea682b8d0fec9f230acd760bf3560c
 Size (mpc-0.33.tar.xz) = 45044 bytes
+SHA1 (patch-doc_meson.build) = 49744b643095d5181804d60fc3ba85ddfd74701f
diff -r 551db366fb4e -r 7161bf7f2c27 audio/mpc/patches/patch-doc_meson.build
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/mpc/patches/patch-doc_meson.build   Wed Dec 04 11:37:16 2019 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-doc_meson.build,v 1.1 2019/12/04 11:37:16 nia Exp $
+
+Install man pages to the correct location.
+
+--- doc/meson.build.orig       2019-10-31 15:01:59.000000000 +0000
++++ doc/meson.build
+@@ -15,5 +15,5 @@ custom_target(
+   command: [sphinx, '-q', '-b', 'man', '-d', '@OUTDIR@/man_doctrees', meson.current_source_dir(), '@OUTPUT@/man1'],
+   build_by_default: true,
+   install: true,
+-  install_dir: get_option('datadir'),
++  install_dir: get_option('prefix'),
+ )



Home | Main Index | Thread Index | Old Index