mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
2a11baa703
to the code being for python2
39 lines
977 B
Makefile
39 lines
977 B
Makefile
# Created by: Hye-Shik Chang <perky@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= eyed3
|
|
PORTVERSION= 0.7.10
|
|
PORTREVISION= 1
|
|
CATEGORIES= audio python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= eyeD3-${PORTVERSION}
|
|
|
|
MAINTAINER= rm@FreeBSD.org
|
|
COMMENT= Python module for processing ID3 tags
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
NO_ARCH= yes
|
|
USES= python:2.7
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
|
|
PORTDOCS= AUTHORS ChangeLog README.rst
|
|
PORTEXAMPLES= *
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's,bash,sh,g;s,python,${PYTHON_CMD},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>
|