summaryrefslogtreecommitdiff
path: root/devel/ruby-sdl
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ruby-sdl')
-rw-r--r--devel/ruby-sdl/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/ruby-sdl/Makefile b/devel/ruby-sdl/Makefile
index 257e1ff24d01..648ad9fd9508 100644
--- a/devel/ruby-sdl/Makefile
+++ b/devel/ruby-sdl/Makefile
@@ -41,6 +41,8 @@ DOCS_JA= NEWS.ja README.ja \
${RUBY_RD_FILES:N*.en.rd} \
${RUBY_RD_HTML_FILES:N*.en.html}
+.include <bsd.port.pre.mk>
+
post-extract:
dir=`${RUBY_OPENGL_WRKSRC_CMD}`; \
for f in rbogl.h rbogl.c ogl.c glu.c; do \
@@ -53,8 +55,6 @@ post-patch:
post-install: doc-install
-.include <bsd.port.mk>
-
doc-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
@@ -67,3 +67,5 @@ doc-install:
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
.endfor
.endif
+
+.include <bsd.port.post.mk>