# Created by: Neil Blakey-Milner # $FreeBSD: head/audio/py-ao/Makefile 412344 2016-04-01 13:29:15Z mat $ 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: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