1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

- Update to 0.5.2

- Install some more documentation
This commit is contained in:
Rene Ladan 2013-11-04 17:46:55 +00:00
parent cfb53c7daa
commit 775a0f3e70
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=332751
3 changed files with 16 additions and 9 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= mpd2
PORTVERSION= 0.5.1
PORTVERSION= 0.5.2
CATEGORIES= audio python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= python-${PORTNAME}-${PORTVERSION}
@ -15,7 +15,7 @@ NO_STAGE= yes
GH_ACCOUNT= Mic92
GH_PROJECT= python-${PORTNAME}
GH_TAGNAME= v${PORTVERSION}
GH_COMMIT= f8d5946
GH_COMMIT= df508d4
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
@ -25,7 +25,10 @@ OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
OPTIONS_DEFINE= DOCS EXAMPLES
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
PORTDOCS= commands.rst
PORTDOCS_1= index.rst changes.rst
PORTDOCS_2= topics/advanced.rst topics/commands.rst \
topics/getting-started.rst topics/logging.rst
PORTDOCS= ${PORTDOCS_1} ${PORTDOCS_2}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
PORTEXAMPLES= locking.py logger.py
@ -33,15 +36,18 @@ PORTEXAMPLES= locking.py logger.py
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
@${MKDIR} ${DOCSDIR}/topics
.for f in ${PORTDOCS_1}
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
.endfor
.for f in ${PORTDOCS_2}
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}/topics
.endfor
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
.for f in ${PORTEXAMPLES}
@${INSTALL_SCRIPT} ${WRKSRC}/examples/${f} ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/examples/${f} ${EXAMPLESDIR}
.endfor
.endif

View File

@ -1,2 +1,2 @@
SHA256 (python-mpd2-0.5.1.tar.gz) = f42be7295f97321a70aea66a42f5260f18eed8a267211304d44b128ae0abb72f
SIZE (python-mpd2-0.5.1.tar.gz) = 29593
SHA256 (python-mpd2-0.5.2.tar.gz) = d39e9ab589b413e340630269486d12bfc3cec44dc92977c4b64b8d73cea4034e
SIZE (python-mpd2-0.5.2.tar.gz) = 35170

View File

@ -1 +1,2 @@
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%/topics