aboutsummaryrefslogtreecommitdiffstats
path: root/audio/py-ao/Makefile
blob: 4af96eaf1d4aa636e734ae4164b9bf23e2137166 (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
# New ports collection makefile for: pyao
# Date created:     23 Sep 2002
# Whom:         nbm
#
# $FreeBSD$
#

PORTNAME=   ao
PORTVERSION=    0.82
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= xride@FreeBSD.org
COMMENT=    A python wrapper for ao, an audio device abstraction library

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

PLIST_FILES=    lib/%%PYTHON_VERSION%%/site-packages/aomodule.so
USE_PYTHON=     yes
USE_PYDISTUTILS=    yes
PYDISTUTILS_PKGNAME=    pyao

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

.include <bsd.port.mk>