aboutsummaryrefslogtreecommitdiffstats
path: root/audio/py-mad/Makefile
blob: 9fca8857543811143e821785e2fa8181ec347206 (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
# Created by: Hye-Shik Chang
# $FreeBSD$

PORTNAME=   mad
PORTVERSION=    0.7
PORTREVISION=   1
CATEGORIES= audio python
MASTER_SITES=   GOOGLE_CODE
PROJECTHOST=    pymad
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   pymad-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Python module that provides the MPEG Audio Decoder interface

LICENSE=    LGPL20

LIB_DEPENDS=    libmad.so:${PORTSDIR}/audio/mad

USE_PYTHON=     2
USE_PYDISTUTILS=    yes
USE_PYTHON_PREFIX=  yes
PYDISTUTILS_AUTOPLIST=  yes
PYDISTUTILS_PKGNAME=    pymad

do-configure:
    @cd ${WRKSRC} && ${MAKE_ENV} ${PYTHON_CMD} config_unix.py \
        --prefix ${LOCALBASE}

.include <bsd.port.mk>