diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2003-08-22 05:13:49 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2003-08-22 05:13:49 +0000 |
commit | b70fb0b21e97d7eea6bcafa6a1319b2ed1a812bc (patch) | |
tree | fae94cc76796a5995381ea3a37702266969d4c23 /audio/py-eyed3 | |
parent | update irc/irc: 2.10.3 -> 2.10.3p3 (diff) |
Add new port for py-eyed3, an ID3 processing library for Python
Notes
Notes:
svn path=/head/; revision=87478
Diffstat (limited to 'audio/py-eyed3')
-rw-r--r-- | audio/py-eyed3/Makefile | 38 | ||||
-rw-r--r-- | audio/py-eyed3/distinfo | 1 | ||||
-rw-r--r-- | audio/py-eyed3/pkg-descr | 6 | ||||
-rw-r--r-- | audio/py-eyed3/pkg-plist | 28 |
4 files changed, 73 insertions, 0 deletions
diff --git a/audio/py-eyed3/Makefile b/audio/py-eyed3/Makefile new file mode 100644 index 000000000000..108315ad0b14 --- /dev/null +++ b/audio/py-eyed3/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: py-eyed3 +# Date created: 22 August 2003 +# Whom: Hye-Shik Chang <perky@FreeBSD.org> +# +# $FreeBSD$ + +PORTNAME= eyed3 +PORTVERSION= 0.5.1 +CATEGORIES= audio python +MASTER_SITES= http://www.travisshirk.net/eyeD3/releases/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= eyeD3-${PORTVERSION} + +MAINTAINER= perky@FreeBSD.org +COMMENT= Python module for processing ID3 tags + +LIB_DEPENDS= id3:${PORTSDIR}/audio/id3lib +RUN_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/optparse.py:${PORTSDIR}/devel/py-optik + +USE_PYTHON= yes +USE_PYTHON_PREFIX= yes +USE_GMAKE= yes +USE_REINPLACE= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= PYTHON="${PYTHON_CMD}" +MAKE_ENV= SETUP_ARGS_BUILD="${PYDISTUTILS_BUILDARGS}" \ + SETUP_ARGS_INSTALL="${PYDISTUTILS_INSTALLARGS}" +DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} + +post-patch: + ${REINPLACE_CMD} -e 's,PYTHON="",,g' -e 's,/usr/local,${LOCALBASE},g' \ + ${WRKSRC}/configure + ${REINPLACE_CMD} -e 's,\(setup.py build\),\1 $${SETUP_ARGS_BUILD},g' \ + -e 's,\(setup.py install\),\1 $${SETUP_ARGS_INSTALL} ,g' \ + -e 's,^DOC_DIR.*,DOC_DIR=${DOCSDIR},g' \ + ${WRKSRC}/Makefile.in + +.include <bsd.port.mk> diff --git a/audio/py-eyed3/distinfo b/audio/py-eyed3/distinfo new file mode 100644 index 000000000000..879bc784ae8e --- /dev/null +++ b/audio/py-eyed3/distinfo @@ -0,0 +1 @@ +MD5 (eyeD3-0.5.1.tar.gz) = 794ea47947df324f3b7dd7faadb68260 diff --git a/audio/py-eyed3/pkg-descr b/audio/py-eyed3/pkg-descr new file mode 100644 index 000000000000..279c37c02141 --- /dev/null +++ b/audio/py-eyed3/pkg-descr @@ -0,0 +1,6 @@ +eyeD3 is a Python program/module for processing (reading and +writing) ID3 tags. Information about mp3 files (i.e bit rate, +sample frequency, play time, etc.) is also available. The formats +supported are ID3 v1.0/v1.1 and v2.3/v2.4. + +WWW: http://www.travisshirk.net/eyeD3/ diff --git a/audio/py-eyed3/pkg-plist b/audio/py-eyed3/pkg-plist new file mode 100644 index 000000000000..4829f8eb9158 --- /dev/null +++ b/audio/py-eyed3/pkg-plist @@ -0,0 +1,28 @@ +bin/eyeD3 +%%PYTHON_SITELIBDIR%%/eyeD3/__init__.py +%%PYTHON_SITELIBDIR%%/eyeD3/__init__.pyc +%%PYTHON_SITELIBDIR%%/eyeD3/__init__.pyo +%%PYTHON_SITELIBDIR%%/eyeD3/binfuncs.py +%%PYTHON_SITELIBDIR%%/eyeD3/binfuncs.pyc +%%PYTHON_SITELIBDIR%%/eyeD3/binfuncs.pyo +%%PYTHON_SITELIBDIR%%/eyeD3/frames.py +%%PYTHON_SITELIBDIR%%/eyeD3/frames.pyc +%%PYTHON_SITELIBDIR%%/eyeD3/frames.pyo +%%PYTHON_SITELIBDIR%%/eyeD3/mp3.py +%%PYTHON_SITELIBDIR%%/eyeD3/mp3.pyc +%%PYTHON_SITELIBDIR%%/eyeD3/mp3.pyo +%%PYTHON_SITELIBDIR%%/eyeD3/tag.py +%%PYTHON_SITELIBDIR%%/eyeD3/tag.pyc +%%PYTHON_SITELIBDIR%%/eyeD3/tag.pyo +%%PYTHON_SITELIBDIR%%/eyeD3/utils.py +%%PYTHON_SITELIBDIR%%/eyeD3/utils.pyc +%%PYTHON_SITELIBDIR%%/eyeD3/utils.pyo +@dirrm %%PYTHON_SITELIBDIR%%/eyeD3 +%%DOCSDIR%%/README +%%DOCSDIR%%/README.html +%%DOCSDIR%%/AUTHORS +%%DOCSDIR%%/THANKS +%%DOCSDIR%%/COPYING +%%DOCSDIR%%/TODO +%%DOCSDIR%%/ChangeLog +@dirrm %%DOCSDIR%% |