summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/ruby-cache/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/devel/ruby-cache/Makefile b/devel/ruby-cache/Makefile
index ea18b7547cc8..708d3750e355 100644
--- a/devel/ruby-cache/Makefile
+++ b/devel/ruby-cache/Makefile
@@ -24,10 +24,10 @@ RUBY_SETUP= install.rb
RUBY_RD_FILES= ${WRKSRC}/MANUAL.rd ${WRKSRC}/README.rd
DOCS= ${RUBY_RD_FILES} ${RUBY_RD_HTML_FILES}
-.include <bsd.port.pre.mk>
-
post-install: doc-install
+.include <bsd.port.mk>
+
doc-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}
@@ -37,5 +37,3 @@ doc-install:
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${RUBY_MODEXAMPLESDIR}/
.endif
-
-.include <bsd.port.post.mk>