aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/randlib/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/math/randlib/Makefile b/math/randlib/Makefile
index b38bac2a1b26..9f27d48398b7 100644
--- a/math/randlib/Makefile
+++ b/math/randlib/Makefile
@@ -21,12 +21,12 @@ PLIST_FILES= include/randlib.h \
lib/librandlib.so \
lib/librandlib.so.1
+OPTIONS_DEFINE= DOCS
+
post-extract:
${CP} ${FILESDIR}/Makefile.lib ${WRKSRC}/Makefile
-OPTIONS_DEFINE= DOCS
-
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/source/randlib.c/doc/* ${STAGEDIR}${DOCSDIR}