aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mps/Makefile
blob: f53447a124ece7fd492f2896e238d3c361200ba0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Created by: Nicola Vitale <nivit@FreeBSD.org>
# $FreeBSD$

PORTNAME=   mps
PORTVERSION=    0.20.16
#PORTREVISION=  0
CATEGORIES= audio
MASTER_SITES=   CHEESESHOP

MAINTAINER= nivit@FreeBSD.org
COMMENT=    Terminal based MP3 search, playback and download

LICENSE=    GPLv3

OPTIONS_DEFAULT=    MPLAYER
OPTIONS_RADIO=  PLAYER
OPTIONS_RADIO_PLAYER=   MPLAYER MPV

MPV_DESC=   Mpv media player support

# This port installs the following files in shared dirs
# PLIST_FILES=  bin/mps
PYDISTUTILS_AUTOPLIST=  yes

USE_PYDISTUTILS=    yes
USE_PYTHON= yes

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MMPLAYER}
RUN_DEPENDS=    mplayer:${PORTSDIR}/multimedia/mplayer
.elif ${PORT_OPTIONS:MMPV}
RUN_DEPENDS=    mpv:${PORTSDIR}/multimedia/mpv
.endif

.include <bsd.port.mk>