summaryrefslogtreecommitdiff
path: root/audio/libsamplerate/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/libsamplerate/Makefile')
-rw-r--r--audio/libsamplerate/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/libsamplerate/Makefile b/audio/libsamplerate/Makefile
index 66a516f20ad4..9061cbc923bb 100644
--- a/audio/libsamplerate/Makefile
+++ b/audio/libsamplerate/Makefile
@@ -25,4 +25,9 @@ USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
MAKE_ARGS= htmldocdir=${PREFIX}/share/doc/libsamplerate
+pre-install:
+.if defined(NOPORTDOCS)
+ @${REINPLACE_CMD} -e 's/SUBDIRS = M4 src doc examples tests/SUBDIRS = M4 src examples tests/' ${WRKSRC}/Makefile
+.endif
+
.include <bsd.port.mk>