aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mmpython/Makefile
blob: 48e365e2991c8741c3912bb8101c1d8cd65a4b41 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# New ports collection makefile for: mmpython
# Date created:     09 Aug 2003
# Whom:         larse@isi.edu
#
# $FreeBSD$
#

PORTNAME=   mmpython
PORTVERSION=    0.4.8
PORTREVISION=   2
CATEGORIES= multimedia python
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= lewiz@compsoc.man.ac.uk
COMMENT=    Retrieves metadata from mp3, ogg, avi, jpg and other formats

LIB_DEPENDS=    dvdread.5:${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>