svn commit: r350177 - head/audio/py-pyaudio
Baptiste Daroussin
bapt at FreeBSD.org
Fri Apr 4 22:44:04 UTC 2014
Author: bapt
Date: Fri Apr 4 22:44:03 2014
New Revision: 350177
URL: http://svnweb.freebsd.org/changeset/ports/350177
QAT: https://qat.redports.org/buildarchive/r350177/
Log:
Support stage
Use autoplist
Deleted:
head/audio/py-pyaudio/pkg-plist
Modified:
head/audio/py-pyaudio/Makefile
Modified: head/audio/py-pyaudio/Makefile
==============================================================================
--- head/audio/py-pyaudio/Makefile Fri Apr 4 22:41:46 2014 (r350176)
+++ head/audio/py-pyaudio/Makefile Fri Apr 4 22:44:03 2014 (r350177)
@@ -10,30 +10,28 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= jaap at NLnetLabs.nl
COMMENT= Portaudio toolkit bindings for Python
+OPTIONS_DEFINE= DOCS
+
LIB_DEPENDS= libportaudio.so:${PORTSDIR}/audio/portaudio2
USE_PYTHON= yes
-NO_STAGE= yes
USE_PYDISTUTILS= yes
-PYDISTUTILS_PKGNAME= PyAudio
+PYDISTUTILS_AUTOPLIST= yes
WRKSRC= ${WRKDIR}/PyAudio-${PORTVERSION}
OPTIONS_DEFINE= DOCS
-
-.include <bsd.port.options.mk>
+PORTDOCS= *
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
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/*.html ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/*.js ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/docs/*.inv ${STAGEDIR}${DOCSDIR}
+ @cd ${WRKSRC}/docs && ${COPYTREE_SHARE} _static ${STAGEDIR}${DOCSDIR}/
+ @cd ${WRKSRC}/docs && ${COPYTREE_SHARE} _sources ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list