mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
cffc07fb2e
Submitted by: johan@huldtgren.com
57 lines
2.3 KiB
Makefile
57 lines
2.3 KiB
Makefile
# Created by: Mark Felder <feld@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= beets
|
|
PORTVERSION= 1.3.6
|
|
CATEGORIES= audio python
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
MAINTAINER= feld@FreeBSD.org
|
|
COMMENT= Media library management system for obsessive-compulsive music geeks
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mutagen>=1.22:${PORTSDIR}/audio/py-mutagen \
|
|
${PYTHON_PKGNAMEPREFIX}unidecode>=0:${PORTSDIR}/converters/py-unidecode \
|
|
${PYTHON_PKGNAMEPREFIX}musicbrainzngs>=0:${PORTSDIR}/audio/py-musicbrainzngs \
|
|
${PYTHON_PKGNAMEPREFIX}munkres>=0:${PORTSDIR}/math/py-munkres \
|
|
${PYTHON_PKGNAMEPREFIX}yaml>=0:${PORTSDIR}/devel/py-yaml \
|
|
${PYTHON_PKGNAMEPREFIX}enum34>=0:${PORTSDIR}/devel/py-enum34 \
|
|
${PYTHON_PKGNAMEPREFIX}sqlite3>=0:${PORTSDIR}/databases/py-sqlite3
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
|
|
PLIST_FILES= man/man1/beet.1.gz man/man5/beetsconfig.5.gz
|
|
|
|
OPTIONS_DEFINE= BEATPORT BPD CHROMA DISCOGS ECHONEST LASTFM FFMPEG REPLAYGAIN WEB
|
|
OPTIONS_DEFAULT=
|
|
|
|
CHROMA_DESC= Audio Fingerprinting Plugin
|
|
BPD_DESC= MPD Compatible Music Player Plugin
|
|
BEATPORT_DESC= Beatport Catalog Autotagging Support
|
|
DISCOGS_DESC= Discogs Search Plugin
|
|
ECHONEST_DESC= Echo Nest Plugin
|
|
LASTFM_DESC= LastGenre Plugin
|
|
REPLAYGAIN_DESC= Normalize Audio Loudness
|
|
WEB_DESC= Webserver Music Player Plugin
|
|
|
|
CHROMA_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyacoustid>=0:${PORTSDIR}/audio/py-pyacoustid
|
|
BPD_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gstreamer>=0.10:${PORTSDIR}/multimedia/py-gstreamer
|
|
BPD_RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mpd>=0.2.0:${PORTSDIR}/audio/py-mpd
|
|
BEATPORT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests1>=0:${PORTSDIR}/www/py-requests1
|
|
DISCOGS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}discogs-client>=0:${PORTSDIR}/audio/py-discogs-client
|
|
ECHONEST_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyechonest>=8.0.1:${PORTSDIR}/devel/py-pyechonest
|
|
FFMPEG_RUN_DEPENDS= ffmpeg>=2:${PORTSDIR}/multimedia/ffmpeg
|
|
LASTFM_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pylast>=0:${PORTSDIR}/audio/py-pylast
|
|
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>
|
|
|
|
post-install:
|
|
${INSTALL} ${WRKSRC}/man/beet.1 ${STAGEDIR}${PREFIX}/man/man1/
|
|
${INSTALL} ${WRKSRC}/man/beetsconfig.5 ${STAGEDIR}${PREFIX}/man/man5/
|
|
|
|
.include <bsd.port.post.mk>
|