mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
88266fb9b4
- copy audio/py-eyed3 0.6.18 to audio/py-eyed3-06 - update audio/py-eyed3 to 0.7.4 - chase dependency change of audio/abcde to use audio/py-eyed3-06 - drop maintainership of audio/py-eyed3-06 - add mutual CONFLICTS into a both ports
38 lines
945 B
Makefile
38 lines
945 B
Makefile
# Created by: Hye-Shik Chang <perky@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= eyed3
|
|
PORTVERSION= 0.7.4
|
|
CATEGORIES= audio python
|
|
MASTER_SITES= http://eyed3.nicfit.net/releases/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= eyeD3-${PORTVERSION}
|
|
|
|
MAINTAINER= rm@FreeBSD.org
|
|
COMMENT= Python module for processing ID3 tags
|
|
|
|
LICENSE= GPLv2
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}magic>0:${PORTSDIR}/devel/py-magic
|
|
|
|
USE_PYTHON= 2
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
USES= tar:tgz
|
|
|
|
CONFLICTS= py*-eyed3-06-[0-9]*
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
|
PORTDOCS= AUTHORS ChangeLog README.rst
|
|
PORTEXAMPLES= *
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's/bash/sh/g' ${WRKSRC}/bin/eyeD3
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
|
|
|
|
.include <bsd.port.mk>
|