aboutsummaryrefslogtreecommitdiffstats
path: root/audio/py-openal/Makefile
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-01-03 23:26:06 +0800
committeradamw <adamw@FreeBSD.org>2014-01-03 23:26:06 +0800
commit855b8f9eb8b6c8d2ac7ab50561b4fcac8c30ac99 (patch)
treebc69c025c1ff53d7dce410b1f29dea3232181f67 /audio/py-openal/Makefile
parentd62f31863259e22aad489e1d7c5e0045037951d4 (diff)
downloadfreebsd-ports-gnome-855b8f9eb8b6c8d2ac7ab50561b4fcac8c30ac99.tar.gz
freebsd-ports-gnome-855b8f9eb8b6c8d2ac7ab50561b4fcac8c30ac99.tar.zst
freebsd-ports-gnome-855b8f9eb8b6c8d2ac7ab50561b4fcac8c30ac99.zip
Convert to PORT_OPTIONS:MDOCS.
Holdout shame list: ruby, perl, python
Diffstat (limited to 'audio/py-openal/Makefile')
-rw-r--r--audio/py-openal/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/py-openal/Makefile b/audio/py-openal/Makefile
index b47f42657cef..bc8df027db8a 100644
--- a/audio/py-openal/Makefile
+++ b/audio/py-openal/Makefile
@@ -21,12 +21,14 @@ PYDISTUTILS_PKGNAME= PyOpenAL
WRKSRC= ${WRKDIR}/PyOpenAL-${PORTVERSION}
EXAMPLESDIR= ${PREFIX}/share/examples/py-openal
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/setup.py
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/demo/* ${EXAMPLESDIR}
.endif