diff options
author | Rene Ladan <rene@FreeBSD.org> | 2013-12-16 12:03:47 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2013-12-16 12:03:47 +0000 |
commit | 595ae0a408c85bfc7918cb6da54d8771c0cf64d0 (patch) | |
tree | d0cc2ada93eae0a688a489668d484db485664be7 | |
parent | 988d8f0d87cc6b324899157b5389d02e650cb960 (diff) | |
download | ports-595ae0a408c85bfc7918cb6da54d8771c0cf64d0.tar.gz ports-595ae0a408c85bfc7918cb6da54d8771c0cf64d0.zip |
Notes
-rw-r--r-- | audio/py-mpd2/Makefile | 24 | ||||
-rw-r--r-- | audio/py-mpd2/pkg-plist | 2 |
2 files changed, 11 insertions, 15 deletions
diff --git a/audio/py-mpd2/Makefile b/audio/py-mpd2/Makefile index aa61aa557d80..5a43e0031293 100644 --- a/audio/py-mpd2/Makefile +++ b/audio/py-mpd2/Makefile @@ -3,6 +3,7 @@ PORTNAME= mpd2 PORTVERSION= 0.5.2 +PORTREVISION= 1 CATEGORIES= audio python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= python-${PORTNAME}-${PORTVERSION} @@ -11,15 +12,17 @@ MAINTAINER= rene@FreeBSD.org COMMENT= Fork of the Python MPD client library USE_GITHUB= yes -NO_STAGE= yes GH_ACCOUNT= Mic92 GH_PROJECT= python-${PORTNAME} GH_TAGNAME= v${PORTVERSION} GH_COMMIT= df508d4 USE_PYTHON= yes -USE_PYDISTUTILS= easy_install +USE_PYDISTUTILS= yes PYDISTUTILS_PKGNAME= python_mpd2 +PYDISTUTILS_AUTOPLIST= yes + +NO_ARCH= yes OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options OPTIONS_DEFINE= DOCS EXAMPLES @@ -31,24 +34,19 @@ PORTDOCS_2= topics/advanced.rst topics/commands.rst \ PORTDOCS= ${PORTDOCS_1} ${PORTDOCS_2} EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} PORTEXAMPLES= locking.py logger.py - -.include <bsd.port.options.mk> +PLIST_DIRSTRY= ${DOCSDIR}/topics post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR}/topics + ${MKDIR} ${STAGEDIR}${DOCSDIR}/topics .for f in ${PORTDOCS_1} - ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR} .endfor .for f in ${PORTDOCS_2} - ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}/topics + ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}/topics .endfor -.endif -.if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${EXAMPLESDIR} + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in ${PORTEXAMPLES} - ${INSTALL_SCRIPT} ${WRKSRC}/examples/${f} ${EXAMPLESDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/examples/${f} ${STAGEDIR}${EXAMPLESDIR} .endfor -.endif .include <bsd.port.mk> diff --git a/audio/py-mpd2/pkg-plist b/audio/py-mpd2/pkg-plist deleted file mode 100644 index 8990d9fd9bf8..000000000000 --- a/audio/py-mpd2/pkg-plist +++ /dev/null @@ -1,2 +0,0 @@ -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% -%%PORTDOCS%%@dirrm %%DOCSDIR%%/topics |