aboutsummaryrefslogtreecommitdiff
path: root/audio/py-openal/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/py-openal/Makefile')
-rw-r--r--audio/py-openal/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/py-openal/Makefile b/audio/py-openal/Makefile
index 29d4c5a6c364..2280f6db21fa 100644
--- a/audio/py-openal/Makefile
+++ b/audio/py-openal/Makefile
@@ -18,12 +18,17 @@ COMMENT= PyOpenAL is a binding of OpenAL for Python
LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal
DIST_SUBDIR= python
+USE_REINPLACE= yes
USE_GZIP= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
WRKSRC= ${WRKDIR}/PyOpenAL-${PORTVERSION}
EXAMPLESDIR= ${PREFIX}/share/examples/py-openal
+post-patch:
+ @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
+ ${WRKSRC}/setup.py
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${EXAMPLESDIR}