aboutsummaryrefslogtreecommitdiff
path: root/audio/mps/Makefile
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2014-04-09 00:26:00 +0000
committerNicola Vitale <nivit@FreeBSD.org>2014-04-09 00:26:00 +0000
commit7e53606992a915c9f0e3ed68cf5babdf3fa0a1a9 (patch)
treeddae79d278a5f6a6ef86ebb527fbd7a4b85dea46 /audio/mps/Makefile
parent3841348bc27e0c735b504b31a8782ae7029b534b (diff)
downloadports-7e53606992a915c9f0e3ed68cf5babdf3fa0a1a9.tar.gz
ports-7e53606992a915c9f0e3ed68cf5babdf3fa0a1a9.zip
Terminal based MP3 search, playback and download.
- Search and stream music - Create playlists - Download music - Works with Python 2.7 and 3.x - Works with Windows, Linux and Mac OS X - No Python dependencies - Requires mplayer or mpv WWW: http://github.com/np1/mps/
Notes
Notes: svn path=/head/; revision=350651
Diffstat (limited to 'audio/mps/Makefile')
-rw-r--r--audio/mps/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/audio/mps/Makefile b/audio/mps/Makefile
new file mode 100644
index 000000000000..d6080ae484fa
--- /dev/null
+++ b/audio/mps/Makefile
@@ -0,0 +1,36 @@
+# Created by: Nicola Vitale <nivit@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= mps
+PORTVERSION= 0.20.06
+#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>