aboutsummaryrefslogtreecommitdiffstats
path: root/audio/py-eyed3
diff options
context:
space:
mode:
authorperky <perky@FreeBSD.org>2003-08-22 13:13:49 +0800
committerperky <perky@FreeBSD.org>2003-08-22 13:13:49 +0800
commit7599ac93f89a831a05b465048ab0749ff4c4a772 (patch)
treea7d0747df27c50964ffc9816e2296f6b43a07661 /audio/py-eyed3
parent985d53ef5613fda4cc7f2fe4a30548336efdf6d8 (diff)
downloadfreebsd-ports-gnome-7599ac93f89a831a05b465048ab0749ff4c4a772.tar.gz
freebsd-ports-gnome-7599ac93f89a831a05b465048ab0749ff4c4a772.tar.zst
freebsd-ports-gnome-7599ac93f89a831a05b465048ab0749ff4c4a772.zip
Add new port for py-eyed3, an ID3 processing library for Python
Diffstat (limited to 'audio/py-eyed3')
-rw-r--r--audio/py-eyed3/Makefile38
-rw-r--r--audio/py-eyed3/distinfo1
-rw-r--r--audio/py-eyed3/pkg-descr6
-rw-r--r--audio/py-eyed3/pkg-plist28
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%%