mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
54 lines
2.1 KiB
Tcl
54 lines
2.1 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
PortGroup meson 1.0
|
|
PortGroup legacysupport 1.0
|
|
|
|
name mpc
|
|
version 0.34
|
|
revision 0
|
|
checksums rmd160 b5c6e7279aed751891333a293f753d4ce96f0bbf \
|
|
sha256 691e3f3654bc10d022bb0310234d0bc2d8c075a698f09924d9ebed8f506fda20 \
|
|
size 47940
|
|
|
|
set branch [join [lrange [split ${version} .] 0 0] .]
|
|
categories audio
|
|
maintainers nomaintainer
|
|
license GPL-2+
|
|
|
|
description a command line tool for MPD
|
|
long_description mpc is a simple command line client for MPD.\
|
|
Music Player Daemon (MPD) allows remote access for playing music (MP3, Ogg\
|
|
Vorbis, FLAC, AAC, Mod, and wave files) and managing playlists. MPD is\
|
|
designed for integrating a computer into a stereo system that provides\
|
|
control for music playback over a local network. It also makes a great\
|
|
desktop music player, especially if you are a console junkie, like\
|
|
frontend options, or restart X often.
|
|
|
|
homepage https://www.musicpd.org/clients/${name}/
|
|
master_sites https://www.musicpd.org/download/${name}/${branch}/
|
|
|
|
set python_branch 3.10
|
|
set python_version [string map {. {}} ${python_branch}]
|
|
|
|
depends_build-append \
|
|
port:pkgconfig \
|
|
port:py${python_version}-sphinx
|
|
|
|
depends_lib port:libiconv \
|
|
port:libmpdclient
|
|
|
|
configure.args --mandir ${prefix}/share/man \
|
|
-Ddocumentation=enabled
|
|
|
|
# Add path to sphinx-build
|
|
configure.env-append \
|
|
PATH=${frameworks_dir}/Python.framework/Versions/${python_branch}/bin:$env(PATH)
|
|
|
|
use_xz yes
|
|
|
|
patchfiles patch-iconv.diff
|
|
|
|
livecheck.url https://www.musicpd.org/download/${name}/${branch}/
|
|
livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)"
|