aboutsummaryrefslogtreecommitdiffstats
path: root/audio/py-ao/Makefile
blob: 300a8f79862cf23e3baf4e5c70c0cbb3c4d02687 (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: Neil Blakey-Milner <nbm@FreeBSD.org>
# $FreeBSD$

PORTNAME=   ao
PORTVERSION=    0.82
PORTREVISION=   1
CATEGORIES= audio python
MASTER_SITES=   http://ekyo.nerim.net/software/pyogg/ \
        http://www.sourcefiles.org/Programming/Development/Modules/Python/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   pyao-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Python wrapper for audio device abstraction library (libao)

LICENSE=    GPLv2

LIB_DEPENDS=    ao:${PORTSDIR}/audio/libao

USE_PYTHON=     yes
USE_PYDISTUTILS=    yes
PYDISTUTILS_PKGNAME=    pyao

PLIST_FILES=    %%PYTHON_SITELIBDIR%%/aomodule.so

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

.include <bsd.port.mk>