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

PORTNAME=   ao
PORTVERSION=    0.82
PORTREVISION=   2
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
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libao.so:${PORTSDIR}/audio/libao

USES=       python:2
USE_PYTHON= distutils autoplist

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

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/aomodule.so

.include <bsd.port.mk>