aboutsummaryrefslogtreecommitdiffstats
path: root/audio/beets
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-02-15 10:49:57 +0800
committermiwi <miwi@FreeBSD.org>2013-02-15 10:49:57 +0800
commit225fed0384f9c44ce1602f08313ac99852cff143 (patch)
treec0c47a66b00dba0277add603dd20d5c35637313d /audio/beets
parent2b0bee009adf04fd693b4ed03e318f5e389a5ce6 (diff)
downloadfreebsd-ports-gnome-225fed0384f9c44ce1602f08313ac99852cff143.tar.gz
freebsd-ports-gnome-225fed0384f9c44ce1602f08313ac99852cff143.tar.zst
freebsd-ports-gnome-225fed0384f9c44ce1602f08313ac99852cff143.zip
Beets is the media library management system for
obsessive-compulsive music geeks. WWW: http://beets.radbox.org/ PR: ports/176087 Submitted by: Mark Felder <feld@feld.me>
Diffstat (limited to 'audio/beets')
-rw-r--r--audio/beets/Makefile35
-rw-r--r--audio/beets/distinfo2
-rw-r--r--audio/beets/pkg-descr4
-rw-r--r--audio/beets/pkg-plist62
4 files changed, 103 insertions, 0 deletions
diff --git a/audio/beets/Makefile b/audio/beets/Makefile
new file mode 100644
index 000000000000..23941d41d394
--- /dev/null
+++ b/audio/beets/Makefile
@@ -0,0 +1,35 @@
+# Created by: Mark Felder <feld@feld.me>
+# $FreeBSD$
+
+PORTNAME= beets
+PORTVERSION= 1.0.0
+CATEGORIES= audio python
+
+MAINTAINER= feld@feld.me
+COMMENT= A media library management system for obsessive-compulsive music geeks
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:${PORTSDIR}/devel/py-setuptools
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mutagen>=0:${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
+
+USE_PYTHON= 2.7+
+
+USE_GITHUB= yes
+GH_ACCOUNT= sampsyo
+GH_TAGNAME= v${PORTVERSION}
+GH_COMMIT= d06ca1e
+
+.include <bsd.port.pre.mk>
+
+do-build:
+ @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} \
+ ${PYSETUP} build)
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/beet ${PREFIX}/bin/
+ ${INSTALL} -d ${PYTHONPREFIX_SITELIBDIR}/beets
+ cd ${WRKSRC}/build/lib && ${COPYTREE_SHARE} \* ${PYTHONPREFIX_SITELIBDIR}/
+
+.include <bsd.port.post.mk>
diff --git a/audio/beets/distinfo b/audio/beets/distinfo
new file mode 100644
index 000000000000..544ebe940ea1
--- /dev/null
+++ b/audio/beets/distinfo
@@ -0,0 +1,2 @@
+SHA256 (beets-1.0.0.tar.gz) = 23092add10135d07c67c5b9b576192bd1c0e12699b2691efed824b8b4e055bf8
+SIZE (beets-1.0.0.tar.gz) = 529109
diff --git a/audio/beets/pkg-descr b/audio/beets/pkg-descr
new file mode 100644
index 000000000000..55d97c5c1d84
--- /dev/null
+++ b/audio/beets/pkg-descr
@@ -0,0 +1,4 @@
+Beets is the media library management system for
+obsessive-compulsive music geeks.
+
+WWW: http://beets.radbox.org/
diff --git a/audio/beets/pkg-plist b/audio/beets/pkg-plist
new file mode 100644
index 000000000000..82f8de00ada7
--- /dev/null
+++ b/audio/beets/pkg-plist
@@ -0,0 +1,62 @@
+bin/beet
+%%PYTHON_SITELIBDIR%%/beetsplug/zero.py
+%%PYTHON_SITELIBDIR%%/beetsplug/web/templates/index.html
+%%PYTHON_SITELIBDIR%%/beetsplug/web/static/underscore.js
+%%PYTHON_SITELIBDIR%%/beetsplug/web/static/jquery.js
+%%PYTHON_SITELIBDIR%%/beetsplug/web/static/beets.js
+%%PYTHON_SITELIBDIR%%/beetsplug/web/static/beets.css
+%%PYTHON_SITELIBDIR%%/beetsplug/web/static/backbone.js
+%%PYTHON_SITELIBDIR%%/beetsplug/web/__init__.py
+%%PYTHON_SITELIBDIR%%/beetsplug/the.py
+%%PYTHON_SITELIBDIR%%/beetsplug/scrub.py
+%%PYTHON_SITELIBDIR%%/beetsplug/rewrite.py
+%%PYTHON_SITELIBDIR%%/beetsplug/replaygain.py
+%%PYTHON_SITELIBDIR%%/beetsplug/rdm.py
+%%PYTHON_SITELIBDIR%%/beetsplug/mpdupdate.py
+%%PYTHON_SITELIBDIR%%/beetsplug/mbcollection.py
+%%PYTHON_SITELIBDIR%%/beetsplug/lyrics.py
+%%PYTHON_SITELIBDIR%%/beetsplug/lastgenre/genres.txt
+%%PYTHON_SITELIBDIR%%/beetsplug/lastgenre/genres-tree.yaml
+%%PYTHON_SITELIBDIR%%/beetsplug/lastgenre/__init__.py
+%%PYTHON_SITELIBDIR%%/beetsplug/inline.py
+%%PYTHON_SITELIBDIR%%/beetsplug/info.py
+%%PYTHON_SITELIBDIR%%/beetsplug/importfeeds.py
+%%PYTHON_SITELIBDIR%%/beetsplug/ihate.py
+%%PYTHON_SITELIBDIR%%/beetsplug/fuzzy_search.py
+%%PYTHON_SITELIBDIR%%/beetsplug/fetchart.py
+%%PYTHON_SITELIBDIR%%/beetsplug/embedart.py
+%%PYTHON_SITELIBDIR%%/beetsplug/echonest_tempo.py
+%%PYTHON_SITELIBDIR%%/beetsplug/convert.py
+%%PYTHON_SITELIBDIR%%/beetsplug/chroma.py
+%%PYTHON_SITELIBDIR%%/beetsplug/bpd/gstplayer.py
+%%PYTHON_SITELIBDIR%%/beetsplug/bpd/__init__.py
+%%PYTHON_SITELIBDIR%%/beetsplug/bench.py
+%%PYTHON_SITELIBDIR%%/beetsplug/__init__.py
+%%PYTHON_SITELIBDIR%%/beets/vfs.py
+%%PYTHON_SITELIBDIR%%/beets/util/pipeline.py
+%%PYTHON_SITELIBDIR%%/beets/util/functemplate.py
+%%PYTHON_SITELIBDIR%%/beets/util/enumeration.py
+%%PYTHON_SITELIBDIR%%/beets/util/bluelet.py
+%%PYTHON_SITELIBDIR%%/beets/util/artresizer.py
+%%PYTHON_SITELIBDIR%%/beets/util/__init__.py
+%%PYTHON_SITELIBDIR%%/beets/ui/commands.py
+%%PYTHON_SITELIBDIR%%/beets/ui/__init__.py
+%%PYTHON_SITELIBDIR%%/beets/plugins.py
+%%PYTHON_SITELIBDIR%%/beets/mediafile.py
+%%PYTHON_SITELIBDIR%%/beets/library.py
+%%PYTHON_SITELIBDIR%%/beets/importer.py
+%%PYTHON_SITELIBDIR%%/beets/autotag/mb.py
+%%PYTHON_SITELIBDIR%%/beets/autotag/match.py
+%%PYTHON_SITELIBDIR%%/beets/autotag/hooks.py
+%%PYTHON_SITELIBDIR%%/beets/autotag/__init__.py
+%%PYTHON_SITELIBDIR%%/beets/__init__.py
+@dirrmtry %%PYTHON_SITELIBDIR%%/beetsplug/web/templates
+@dirrmtry %%PYTHON_SITELIBDIR%%/beetsplug/web/static
+@dirrmtry %%PYTHON_SITELIBDIR%%/beetsplug/web
+@dirrmtry %%PYTHON_SITELIBDIR%%/beetsplug/lastgenre
+@dirrmtry %%PYTHON_SITELIBDIR%%/beetsplug/bpd
+@dirrmtry %%PYTHON_SITELIBDIR%%/beetsplug
+@dirrmtry %%PYTHON_SITELIBDIR%%/beets/util
+@dirrmtry %%PYTHON_SITELIBDIR%%/beets/ui
+@dirrmtry %%PYTHON_SITELIBDIR%%/beets/autotag
+@dirrmtry %%PYTHON_SITELIBDIR%%/beets