diff options
author | Marcus von Appen <mva@FreeBSD.org> | 2012-12-22 10:11:42 +0000 |
---|---|---|
committer | Marcus von Appen <mva@FreeBSD.org> | 2012-12-22 10:11:42 +0000 |
commit | d498d3028a1394ba288f42dbddf8055136b9c516 (patch) | |
tree | 22b15c11845df0a18ada2caaa3ed035649e20360 /audio/py-pyaudio/Makefile | |
parent | 3ae4b73e8f1f978b7b6e23c1fcb94d31a5e8e957 (diff) | |
download | ports-d498d3028a1394ba288f42dbddf8055136b9c516.tar.gz ports-d498d3028a1394ba288f42dbddf8055136b9c516.zip |
Notes
Diffstat (limited to 'audio/py-pyaudio/Makefile')
-rw-r--r-- | audio/py-pyaudio/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/audio/py-pyaudio/Makefile b/audio/py-pyaudio/Makefile new file mode 100644 index 000000000000..5ae6247c1924 --- /dev/null +++ b/audio/py-pyaudio/Makefile @@ -0,0 +1,38 @@ +# Created by: Jaap Akkerhuis <jaap@NLnetLabs.nl> +# $FreeBSD$ + +PORTNAME= pyaudio +PORTVERSION= 0.2.7 +CATEGORIES= audio python +MASTER_SITES= http://people.csail.mit.edu/hubert/pyaudio/packages/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= jaap@NLnetLabs.nl +COMMENT= Portaudio toolkit bindings for Python + +LIB_DEPENDS= portaudio.2:${PORTSDIR}/audio/portaudio2 + +USE_PYTHON= yes +USE_PYDISTUTILS= yes +PYDISTUTILS_PKGNAME= PyAudio + +WRKSRC= ${WRKDIR}/PyAudio-${PORTVERSION} + +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + +post-patch: + @${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/setup.py + +post-install: +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/docs/*.html ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/docs/*.js ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/docs/*.inv ${DOCSDIR} + @cd ${WRKSRC}/docs && ${COPYTREE_SHARE} _static ${DOCSDIR}/ + @cd ${WRKSRC}/docs && ${COPYTREE_SHARE} _sources ${DOCSDIR}/ +.endif + +.include <bsd.port.mk> |