1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/multimedia/mmpython/Makefile
Ganael LAPLANCHE 829867d94a Update multimedia/libdvdread and multimedia/libdvdnav
- Update multimedia/libdvdread to 6.0.2 and bump dependent ports' revisions
  (shared library version changed)
- Update multimedia/libdvdnav to version 6.0.1 (no ABI change)
2019-10-16 10:07:28 +00:00

33 lines
787 B
Makefile

# Created by: larse@isi.edu
# $FreeBSD$
PORTNAME= mmpython
PORTVERSION= 0.4.10
PORTREVISION= 10
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
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libdvdread.so:multimedia/libdvdread
RUN_DEPENDS= lsdvd:multimedia/lsdvd
USES= python:2.7
USE_PYTHON= distutils autoplist
post-patch:
@${REINPLACE_CMD} \
-e 's,/usr/local/,${LOCALBASE}/,g' \
-e 's|gcc -ldvdread|gcc -L${LOCALBASE}/lib -ldvdread|' \
${WRKSRC}/setup.py
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/mmpython/disc/*.so
.include <bsd.port.mk>