here is a diff for including docs with beets. call me stupid but i need the docs at least until i get started with it :)
sigh. more and more gmake-isms creeping into sphinx's makefile. is there a way to make this cross-make functioning? i'd try to push it upstream... # When both are available, use Sphinx 2.x for autodoc compatibility. ifeq ($(shell which sphinx-build2 >/dev/null 2>&1 ; echo $$?),0) SPHINXBUILD = sphinx-build2 endif another alternative would be calling /usr/local/bin/sphinx-build ... -f -- often the test of courage is not to die but to live.
--- Makefile.orig Wed May 21 23:14:46 2014 +++ Makefile Wed May 21 23:34:02 2014 @@ -16,11 +16,23 @@ MODULES = lang/python MODPY_SETUPTOOLS = Yes +BUILD_DEPENDS = devel/gmake \ + textproc/py-sphinx RUN_DEPENDS = audio/py-musicbrainzngs \ audio/py-mutagen \ devel/py-algorithm-munkres \ devel/py-enum34 \ textproc/py-unidecode \ textproc/py-yaml + +MAKE_ENV += PYTHONPATH=${WRKSRC} +post-build: + cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} ${GMAKE} html + +DOCS = ${PREFIX}/share/doc/beets + +post-install: + ${INSTALL_DATA_DIR} ${DOCS} + cd ${WRKSRC}/docs/_build/html && pax -rw * ${DOCS} .include <bsd.port.mk>
--- PLIST.orig Tue May 13 14:18:57 2014 +++ PLIST Wed May 21 23:31:08 2014 @@ -152,3 +152,146 @@ lib/python${MODPY_VERSION}/site-packages/beetsplug/web/templates/index.html lib/python${MODPY_VERSION}/site-packages/beetsplug/zero.py lib/python${MODPY_VERSION}/site-packages/beetsplug/zero.pyc +share/doc/beets/ +share/doc/beets/_images/ +share/doc/beets/_images/beetsweb.png +share/doc/beets/_sources/ +share/doc/beets/_sources/changelog.txt +share/doc/beets/_sources/dev/ +share/doc/beets/_sources/dev/api.txt +share/doc/beets/_sources/dev/index.txt +share/doc/beets/_sources/dev/media_file.txt +share/doc/beets/_sources/dev/plugins.txt +share/doc/beets/_sources/faq.txt +share/doc/beets/_sources/guides/ +share/doc/beets/_sources/guides/advanced.txt +share/doc/beets/_sources/guides/index.txt +share/doc/beets/_sources/guides/main.txt +share/doc/beets/_sources/guides/migration.txt +share/doc/beets/_sources/guides/tagger.txt +share/doc/beets/_sources/index.txt +share/doc/beets/_sources/plugins/ +share/doc/beets/_sources/plugins/beatport.txt +share/doc/beets/_sources/plugins/bpd.txt +share/doc/beets/_sources/plugins/bucket.txt +share/doc/beets/_sources/plugins/chroma.txt +share/doc/beets/_sources/plugins/convert.txt +share/doc/beets/_sources/plugins/discogs.txt +share/doc/beets/_sources/plugins/duplicates.txt +share/doc/beets/_sources/plugins/echonest.txt +share/doc/beets/_sources/plugins/echonest_tempo.txt +share/doc/beets/_sources/plugins/embedart.txt +share/doc/beets/_sources/plugins/fetchart.txt +share/doc/beets/_sources/plugins/fromfilename.txt +share/doc/beets/_sources/plugins/ftintitle.txt +share/doc/beets/_sources/plugins/fuzzy.txt +share/doc/beets/_sources/plugins/ihate.txt +share/doc/beets/_sources/plugins/importfeeds.txt +share/doc/beets/_sources/plugins/index.txt +share/doc/beets/_sources/plugins/info.txt +share/doc/beets/_sources/plugins/inline.txt +share/doc/beets/_sources/plugins/keyfinder.txt +share/doc/beets/_sources/plugins/lastgenre.txt +share/doc/beets/_sources/plugins/lyrics.txt +share/doc/beets/_sources/plugins/mbcollection.txt +share/doc/beets/_sources/plugins/mbsync.txt +share/doc/beets/_sources/plugins/missing.txt +share/doc/beets/_sources/plugins/mpdstats.txt +share/doc/beets/_sources/plugins/mpdupdate.txt +share/doc/beets/_sources/plugins/play.txt +share/doc/beets/_sources/plugins/random.txt +share/doc/beets/_sources/plugins/replaygain.txt +share/doc/beets/_sources/plugins/rewrite.txt +share/doc/beets/_sources/plugins/scrub.txt +share/doc/beets/_sources/plugins/smartplaylist.txt +share/doc/beets/_sources/plugins/the.txt +share/doc/beets/_sources/plugins/web.txt +share/doc/beets/_sources/plugins/zero.txt +share/doc/beets/_sources/reference/ +share/doc/beets/_sources/reference/cli.txt +share/doc/beets/_sources/reference/config.txt +share/doc/beets/_sources/reference/index.txt +share/doc/beets/_sources/reference/pathformat.txt +share/doc/beets/_sources/reference/query.txt +share/doc/beets/_static/ +share/doc/beets/_static/ajax-loader.gif +share/doc/beets/_static/basic.css +share/doc/beets/_static/comment-bright.png +share/doc/beets/_static/comment-close.png +share/doc/beets/_static/comment.png +share/doc/beets/_static/default.css +share/doc/beets/_static/doctools.js +share/doc/beets/_static/down-pressed.png +share/doc/beets/_static/down.png +share/doc/beets/_static/file.png +share/doc/beets/_static/jquery.js +share/doc/beets/_static/minus.png +share/doc/beets/_static/plus.png +share/doc/beets/_static/pygments.css +share/doc/beets/_static/searchtools.js +share/doc/beets/_static/sidebar.js +share/doc/beets/_static/underscore.js +share/doc/beets/_static/up-pressed.png +share/doc/beets/_static/up.png +share/doc/beets/_static/websupport.js +share/doc/beets/changelog.html +share/doc/beets/dev/ +share/doc/beets/dev/api.html +share/doc/beets/dev/index.html +share/doc/beets/dev/media_file.html +share/doc/beets/dev/plugins.html +share/doc/beets/faq.html +share/doc/beets/genindex.html +share/doc/beets/guides/ +share/doc/beets/guides/advanced.html +share/doc/beets/guides/index.html +share/doc/beets/guides/main.html +share/doc/beets/guides/migration.html +share/doc/beets/guides/tagger.html +share/doc/beets/index.html +share/doc/beets/objects.inv +share/doc/beets/plugins/ +share/doc/beets/plugins/beatport.html +share/doc/beets/plugins/bpd.html +share/doc/beets/plugins/bucket.html +share/doc/beets/plugins/chroma.html +share/doc/beets/plugins/convert.html +share/doc/beets/plugins/discogs.html +share/doc/beets/plugins/duplicates.html +share/doc/beets/plugins/echonest.html +share/doc/beets/plugins/echonest_tempo.html +share/doc/beets/plugins/embedart.html +share/doc/beets/plugins/fetchart.html +share/doc/beets/plugins/fromfilename.html +share/doc/beets/plugins/ftintitle.html +share/doc/beets/plugins/fuzzy.html +share/doc/beets/plugins/ihate.html +share/doc/beets/plugins/importfeeds.html +share/doc/beets/plugins/index.html +share/doc/beets/plugins/info.html +share/doc/beets/plugins/inline.html +share/doc/beets/plugins/keyfinder.html +share/doc/beets/plugins/lastgenre.html +share/doc/beets/plugins/lyrics.html +share/doc/beets/plugins/mbcollection.html +share/doc/beets/plugins/mbsync.html +share/doc/beets/plugins/missing.html +share/doc/beets/plugins/mpdstats.html +share/doc/beets/plugins/mpdupdate.html +share/doc/beets/plugins/play.html +share/doc/beets/plugins/random.html +share/doc/beets/plugins/replaygain.html +share/doc/beets/plugins/rewrite.html +share/doc/beets/plugins/scrub.html +share/doc/beets/plugins/smartplaylist.html +share/doc/beets/plugins/the.html +share/doc/beets/plugins/web.html +share/doc/beets/plugins/zero.html +share/doc/beets/reference/ +share/doc/beets/reference/cli.html +share/doc/beets/reference/config.html +share/doc/beets/reference/index.html +share/doc/beets/reference/pathformat.html +share/doc/beets/reference/query.html +share/doc/beets/search.html +share/doc/beets/searchindex.js