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

PORTNAME=   ao
PORTVERSION=    0.82
CATEGORIES= audio
MASTER_SITES=   http://www.andrewchatham.com/pyogg/download/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   pyao-${PORTVERSION}

MAINTAINER= ports@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

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

.include <bsd.port.mk>