Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Dec 2013 18:23:30 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335839 - head/audio/beets
Message-ID:  <201312071823.rB7INUe4070615@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Sat Dec  7 18:23:30 2013
New Revision: 335839
URL: http://svnweb.freebsd.org/changeset/ports/335839

Log:
  - Add support for web plugin
  - Change to cleaner/simpler option_RUN_DEPENDS= format
  - Make option_DESC capitalization consistent
  
  Approved by:	swills (mentor, implicit)

Modified:
  head/audio/beets/Makefile

Modified: head/audio/beets/Makefile
==============================================================================
--- head/audio/beets/Makefile	Sat Dec  7 18:07:03 2013	(r335838)
+++ head/audio/beets/Makefile	Sat Dec  7 18:23:30 2013	(r335839)
@@ -23,36 +23,22 @@ NO_STAGE=	yes
 USE_PYTHON=	2.7+
 USE_PYDISTUTILS=	easy_install
 
-OPTIONS_DEFINE=	CHROMA BEATPORT DISCOGS FFMPEG REPLAYGAIN
+OPTIONS_DEFINE=	BEATPORT CHROMA DISCOGS FFMPEG REPLAYGAIN WEB
 OPTIONS_DEFAULT=
 
 CHROMA_DESC=	Audio Fingerprinting Plugin
-BEATPORT_DESC=	Beatport catalog autotagging support
-DISCOGS_DESC=	Discogs search plugin
-REPLAYGAIN_DESC=	Normalize audio loudness
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MCHROMA}
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}acoustid>=0:${PORTSDIR}/audio/py-pyacoustid
-.endif
-
-.if ${PORT_OPTIONS:MBEATPORT}
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}requests>=0:${PORTSDIR}/www/py-requests
-.endif
-
-.if ${PORT_OPTIONS:MDISCOGS}
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}discogs-client>=0:${PORTSDIR}/audio/py-discogs-client
-.endif
-
-.if ${PORT_OPTIONS:MFFMPEG}
-RUN_DEPENDS+=	ffmpeg>=2:${PORTSDIR}/multimedia/ffmpeg
-.endif
-
-.if ${PORT_OPTIONS:MREPLAYGAIN}
-RUN_DEPENDS+=	mp3gain>=0:${PORTSDIR}/audio/mp3gain \
-		aacgain>=0:${PORTSDIR}/audio/aacgain
-.endif
+BEATPORT_DESC=	Beatport Catalog Autotagging Support
+DISCOGS_DESC=	Discogs Search Plugin
+REPLAYGAIN_DESC=	Normalize Audio Loudness
+WEB_DESC=	Webserver Music Player Plugin
+
+CHROMA_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyacoustid>=0:${PORTSDIR}/audio/py-pyacoustid
+BEATPORT_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=0:${PORTSDIR}/www/py-requests
+DISCOGS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}discogs-client>=0:${PORTSDIR}/audio/py-discogs-client
+FFMPEG_RUN_DEPENDS=	ffmpeg>=2:${PORTSDIR}/multimedia/ffmpeg
+REPLAYGAIN_RUN_DEPENDS=	mp3gain>=0:${PORTSDIR}/audio/mp3gain
+REPLAYGAIN_RUN_DEPENDS+=	aacgain>=0:${PORTSDIR}/audio/aacgain
+WEB_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Flask>=0:${PORTSDIR}/www/py-flask
 
 .include <bsd.port.pre.mk>
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312071823.rB7INUe4070615>