aboutsummaryrefslogtreecommitdiff
path: root/devel/ruby-mmap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ruby-mmap/Makefile')
-rw-r--r--devel/ruby-mmap/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/ruby-mmap/Makefile b/devel/ruby-mmap/Makefile
index 603245069d47..48ba795eaac0 100644
--- a/devel/ruby-mmap/Makefile
+++ b/devel/ruby-mmap/Makefile
@@ -29,6 +29,8 @@ DOCS= Changes \
${RUBY_RD_HTML_FILES} \
docs/doc
+.include <bsd.port.pre.mk>
+
post-build:
.if !defined(NOPORTDOCS)
cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} rdoc
@@ -36,8 +38,6 @@ post-build:
post-install: doc-install
-.include <bsd.port.mk>
-
doc-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}
@@ -45,3 +45,5 @@ doc-install:
${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.endif
+
+.include <bsd.port.post.mk>