aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authornivit <nivit@FreeBSD.org>2008-04-06 00:30:57 +0800
committernivit <nivit@FreeBSD.org>2008-04-06 00:30:57 +0800
commit19817fca0b478c45a05cdcd354cfb60a49a5c10f (patch)
tree80e74e669f506a1246f39d739f6d783d277c25d1 /audio
parent915557f43deca76b0c0eec98b08b528092e933c6 (diff)
downloadfreebsd-ports-gnome-19817fca0b478c45a05cdcd354cfb60a49a5c10f.tar.gz
freebsd-ports-gnome-19817fca0b478c45a05cdcd354cfb60a49a5c10f.tar.zst
freebsd-ports-gnome-19817fca0b478c45a05cdcd354cfb60a49a5c10f.zip
- Update to 0.93
- Add HAS_CONFIGURE, CONFIGURE_ARGS - Remove files/patch-setup.py - Remove post-patch target in Makefile
Diffstat (limited to 'audio')
-rw-r--r--audio/py-tagpy/Makefile16
-rw-r--r--audio/py-tagpy/distinfo6
-rw-r--r--audio/py-tagpy/files/patch-setup.py18
3 files changed, 12 insertions, 28 deletions
diff --git a/audio/py-tagpy/Makefile b/audio/py-tagpy/Makefile
index fb9519e10e36..153d9b47ac57 100644
--- a/audio/py-tagpy/Makefile
+++ b/audio/py-tagpy/Makefile
@@ -6,8 +6,8 @@
#
PORTNAME= tagpy
-PORTVERSION= 0.91
-PORTREVISON= 1
+PORTVERSION= 0.93
+#PORTREVISION= 0
CATEGORIES= audio python
MASTER_SITES= http://news.tiker.net/news.tiker.net/download/software/${PORTNAME}/ \
http://nivi.interfree.it/distfiles/${PORTNAME}/
@@ -19,12 +19,14 @@ COMMENT= Python bindings for Scott Wheeler's TagLib
LIB_DEPENDS= boost_python.4:${PORTSDIR}/devel/boost-python \
tag.5:${PORTSDIR}/audio/taglib
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS= --taglib-inc-dir="${LOCALBASE}/include/taglib" \
+ --taglib-lib-dir="${LOCALBASE}/lib" \
+ --boost-inc-dir="${PYTHON_INCLUDEDIR}\", \"${LOCALBASE}/include" \
+ --boost-lib-dir="${PYTHON_LIBDIR}\", \"${LOCALBASE}/lib" \
+ --boost-python-lib-names="boost_python"
+
USE_PYTHON= yes
USE_PYDISTUTILS= yes
-post-patch:
- @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
- -e 's|%%PYTHON_INCLUDEDIR%%|${PYTHON_INCLUDEDIR}|g' \
- -e 's|%%PYTHON_LIBDIR%%|${PYTHON_LIBDIR}|g' ${WRKSRC}/setup.py
-
.include <bsd.port.mk>
diff --git a/audio/py-tagpy/distinfo b/audio/py-tagpy/distinfo
index 0daa9afe2d2d..c36515e21f25 100644
--- a/audio/py-tagpy/distinfo
+++ b/audio/py-tagpy/distinfo
@@ -1,3 +1,3 @@
-MD5 (tagpy-0.91.tar.gz) = c9de0b7b3819579b5f460b20c42e03c9
-SHA256 (tagpy-0.91.tar.gz) = 6fa08195dc705c1ab605c5f49ee5e44e14f2c3f7e03ee6566b9f22b638794e45
-SIZE (tagpy-0.91.tar.gz) = 135012
+MD5 (tagpy-0.93.tar.gz) = f71e3bbeab4f07703460a0ecd61a5db8
+SHA256 (tagpy-0.93.tar.gz) = aa7073bcd8b8cea07e699a29f327014fed6562dd3ead23bc5fcbeefdf1f0a042
+SIZE (tagpy-0.93.tar.gz) = 138197
diff --git a/audio/py-tagpy/files/patch-setup.py b/audio/py-tagpy/files/patch-setup.py
deleted file mode 100644
index 4db8e00f8a1d..000000000000
--- a/audio/py-tagpy/files/patch-setup.py
+++ /dev/null
@@ -1,18 +0,0 @@
---- setup.py Sun Jan 8 19:36:27 2006
-+++ setup.py.port Mon Jan 22 15:51:41 2007
-@@ -4,12 +4,12 @@
- from distutils.core import setup,Extension
-
- # BEGIN USER CUSTOMIZABLE SECTION --------------------
--TAGLIB_INCLUDE_DIRS = ["/usr/include/taglib"]
-+TAGLIB_INCLUDE_DIRS = ["%%LOCALBASE%%/include/taglib"]
- TAGLIB_LIBRARY_DIRS = []
- TAGLIB_LIBRARIES = ["tag"]
-
--BOOST_INCLUDE_DIRS = []
--BOOST_LIBRARY_DIRS = []
-+BOOST_INCLUDE_DIRS = ["%%PYTHON_INCLUDEDIR%%", "%%LOCALBASE%%/include"]
-+BOOST_LIBRARY_DIRS = ["%%PYTHON_LIBDIR%%", "%%LOCALBASE%%/lib"]
- BOOST_LIBRARIES = ["boost_python"]
- # END USER CUSTOMIZABLE SECTION ----------------------
-