freebsd-ports/multimedia/mmpython/Makefile
Ganael LAPLANCHE 1e4183548e - Update libdvdread and libdvdnav to 4.2.1
- Bump dependent ports' revisions
2014-02-03 08:15:19 +00:00

27 lines
671 B
Makefile

# Created by: larse@isi.edu
# $FreeBSD$
PORTNAME= mmpython
PORTVERSION= 0.4.10
PORTREVISION= 5
CATEGORIES= multimedia python
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Retrieves metadata from mp3, ogg, avi, jpg, and other formats
LIB_DEPENDS= dvdread.4:${PORTSDIR}/multimedia/libdvdread
RUN_DEPENDS= lsdvd:${PORTSDIR}/multimedia/lsdvd
USE_PYTHON= yes
USE_PYDISTUTILS=yes
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} \
-e 's,/usr/local/,${LOCALBASE}/,g' \
-e 's|gcc -ldvdread|gcc -L${LOCALBASE}/lib -ldvdread|' \
${WRKSRC}/setup.py
.include <bsd.port.mk>