aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mmpython/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/mmpython/Makefile')
-rw-r--r--multimedia/mmpython/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/multimedia/mmpython/Makefile b/multimedia/mmpython/Makefile
index 8baa85a764b8..14dfbc19389c 100644
--- a/multimedia/mmpython/Makefile
+++ b/multimedia/mmpython/Makefile
@@ -7,6 +7,7 @@
PORTNAME= mmpython
PORTVERSION= 0.4.3
+PORTREVISION= 1
CATEGORIES= multimedia python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -14,7 +15,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
# The mmpython folks keep changing their release naming scheme.
#DISTNAME= mmpython_${PORTVERSION:C/\./-/}
-MAINTAINER= lars.eggert@gmx.net
+MAINTAINER= purple@lewiz.net
COMMENT= Retrieves metadata from mp3, ogg, avi, jpg and other formats
LIB_DEPENDS= dvdread.3:${PORTSDIR}/multimedia/libdvdread
@@ -27,5 +28,9 @@ RUN_DEPENDS= lsdvd:${PORTSDIR}/multimedia/lsdvd
#USE_BZIP2= yes
USE_PYTHON= yes
USE_PYDISTUTILS=yes
+USE_REINPLACE= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|gcc -ldvdread|gcc -L${LOCALBASE}/lib -ldvdread|' ${WRKSRC}/setup.py
.include <bsd.port.mk>