1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/audio/py-ao/Makefile
Mathieu Arnold 7f4572eae4 Remove ${PORTSDIR}/ from dependencies, Mk and categories a, b, and c.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 13:29:15 +00:00

32 lines
765 B
Makefile

# 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: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>