1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/audio/py-python-mpd2/Makefile
Sunpoet Po-Chuan Hsieh 77ca6d59fb Move audio/py-mpd2 to audio/py-python-mpd2
- Remove no-op DOCSDIR and EXAMPLESDIR: they are overwritten by USE_PYTHON=concurrent
- Take maintainership
2020-01-25 18:16:18 +00:00

39 lines
1016 B
Makefile

# Created by: rene@FreeBSD.org (repocopied from audio/py-mpd)
# $FreeBSD$
PORTNAME= python-mpd2
PORTVERSION= 1.1.0
DISTVERSIONPREFIX= v
CATEGORIES= audio python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python MPD client library
LICENSE= LGPL3+
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= python shebangfix
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
USE_GITHUB= yes
GH_ACCOUNT= Mic92
SHEBANG_FILES= doc/*.py examples/*.py
OPTIONS_DEFINE= DOCS EXAMPLES
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/topics
${INSTALL_DATA} ${WRKSRC}/doc/commands_header.txt ${WRKSRC}/doc/*.rst ${STAGEDIR}${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/doc/topics/*.rst ${STAGEDIR}${DOCSDIR}/topics/
${INSTALL_SCRIPT} ${WRKSRC}/doc/generate_command_reference.py ${STAGEDIR}${DOCSDIR}/
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/examples/*.py ${WRKSRC}/examples/summary.txt ${STAGEDIR}${EXAMPLESDIR}/
.include <bsd.port.mk>