a6a77bf429
- libdvdread: allow package building with libdvdcss if WITH_DVDCSS is set [1] - libdvdread/libdvdnav: fix endianness handling [2] Submitted by: olgeni [1], richo <richo@psych0tik.net> [2] (via mail to ports@) PR: ports/162197 [1]
30 lines
731 B
Makefile
30 lines
731 B
Makefile
# New ports collection makefile for: mmpython
|
|
# Date created: 09 Aug 2003
|
|
# Whom: larse@isi.edu
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mmpython
|
|
PORTVERSION= 0.4.10
|
|
PORTREVISION= 4
|
|
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
|
|
|
|
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>
|